Differences
This shows you the differences between the selected revision and the current version of the page.
templates:guide 2008/08/26 09:53 | templates:guide 2008/08/26 09:56 current | ||
---|---|---|---|
Line 27: | Line 27: | ||
68 Classifieds works by using two template paths. The one you have defined and the default template folder. So if it can't find a file in your template folder it will use the default. **Please Note:** This only applies to .tpl files. Images and/or other files will not be picked up unless specifically referenced. | 68 Classifieds works by using two template paths. The one you have defined and the default template folder. So if it can't find a file in your template folder it will use the default. **Please Note:** This only applies to .tpl files. Images and/or other files will not be picked up unless specifically referenced. | ||
- | You can find a great tutorial for creating templates at our [[http://www.68classifieds.com/forums/showthread.php?t=4559|user forums]]. | + | ** Reference ** |
+ | * [[http://www.68classifieds.com/forums/showthread.php?t=4559|Modifying the default template in v4 pdf guide]]. | ||
+ | * [[http://smarty.net/crashcourse.php|Smarty Crash Course]] | ||
===== Conditional Tags ===== | ===== Conditional Tags ===== | ||
Line 36: | Line 38: | ||
That may look pretty complex but actually it is very simple once you get your head around. The first portion ''{if $smarty.session.username<>""}'' checks to make sure they are logged in and their username is not blank. Next the welcome back portion just prints their name if the first condition is true. | That may look pretty complex but actually it is very simple once you get your head around. The first portion ''{if $smarty.session.username<>""}'' checks to make sure they are logged in and their username is not blank. Next the welcome back portion just prints their name if the first condition is true. | ||
+ | ** Reference ** | ||
+ | * [[http://www.68classifieds.com/blog/stepping-into-smarty-conditionals/|Stepping into Smarty Conditionals]] | ||
Have more questions? Visit our community forums.