Hi, i'm sorry but i don't know how re-create my template.
I must convert an old-version template for the new version of Indexu, but i don't know the new Tag list for use with the template.
Can you help me, please?
Thanks a lot!
Hi, i'm sorry but i don't know how re-create my template.
I must convert an old-version template for the new version of Indexu, but i don't know the new Tag list for use with the template.
Can you help me, please?
Thanks a lot!
i am looking for the same thing, any help would be appreciated tnx
http://www.betalabs.org
There're many changes with template from 3.2 to 5.0.x
The conversion should be done manually.
90% variable names are the same, except now it has $ sign
v3.2 : <%link%>
v5 : <%$link%>
How do u prevent the template tag from showing on your webpage if it isnt used? It'll just print the tag itself which is not good
The problem is fixed in Indexu 5. All unused tags will be not displayed.
Ok but im using 3.2 , what needs to be changed to fix that?
Hmm is anybody here? How do I prevent unused tags from showing up?
for every <%variable%> in the html page, you have to have a corresponding $variable in the DisplayTemplate function that calls the html page.Originally Posted by player77
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
I thought it would be too much work to change, but im workign on another site for 5.10 and have decided to switch. it really is so much better, smarty teplates are such a huge bonus.
I know its annoying to re-add mods, mine was heavily modded, but for me the benefits are really worth it.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
can you be more specific as to why you think "SMARTY templates are such a huge bonus?"Originally Posted by inspireme
.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
becuase you can have loads of custom fields, and only get them to show up if they are needed. You can also use <if> <else> to decide which content to load, and to customise page display - for example, I had a mod that removed email address from the listigns to work through sendmail, unfortunatly i had no way of stopping the link appearing for listings with no email address... a simple if statment solves the problem
Im not a programmer - its easy to do what i want without delving into code.
My listings have lots of custom fields, with smarty i can now let people fill in as much onfromation as they want it will only display whats available. I dont need to rigedly keep to a "basic" and "enhanced" level of detail i can have as much information as people care to enter... which was the original question.
how about only show certain details to people who are logged in?
<%if $logged_in%>
How about looping through an array and building out a a table to fit the size of data... fairly simple with smarty, im doing stuff on my site in a few hours that owuld have taken me days of fiddlign with variables in the php files (and even then sometimes it didnt work and you had to do more hacking to class.php)
i think for any end user (non programmer) smarty is superb... its well documented, easy to use, powerful, logical, and once you learn it you can use your knowledge on 1000s of other php apps.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )