- Moderated by:
- Support Team
-
- rank:
-
Professional
- registered:
- April 2003
- Status:
- offline
- last visit:
- 28.01.07
- Posts:
- 771
Quoting another post:
General:
= Defined language / Diplays text
= path to image folder (defined in theme.php)
= path to theme (defined in theme.php)
= Starts a table, 100% width
= Closes the table
= Starts a table, width sized to contents
= Closes the table
= theme colors.. 1-10 as defined in the xaninit.php
Master & module templates:
- content - = strip white-space between tags.
= left blocks
= center blocks
= module content
= right blocks
= footer message as defined in admin settings
= page render time (must set debug in config.php)
= don't cache captioned content
= typetool
= date and time
= hello $username
= get module style sheet if exists
= display banner
----
= assign _SEARCH as the $search_label
----
= general search of all core modules
----
= Displays a horizontal user login consisting of Username, Password, Remember me checkbox and submit button
= Displays links for logged-in user (My Account | Logout) and anonymous user (Register | Login)
Blocks:
= block title
= block content
News-article / News-index:
= topic image
= cat and title
= full text used for News-article template
= full text minus home text
= displays "read more.." if applicable
Show notes (not needed if full text used)
= displays read count
= adds send to a friend option
= adds print option
= shows comment amount
= topic title
= article title
= shows amount of reads
= shows short text.. used for News-index template
= a "words more" count (ie: 37 more words)
= author
= long version of date and time
= story ID
= link to topic (ie: )
= shows edit and delete to admin
--------- shows a "read more" image -----------
------------------------------------------------
Table1 & Table2 (aka opentable() ):
= shows table content -
- rank:
-
Moderator
- registered:
- March 2002
- Status:
- offline
- last visit:
- 26.08.08
- Posts:
- 7720
You've got a fairly comprehensive list there already.....
I need to do an updated build of the docs for .760 but a list of our custom plugins can be found here - this is linked to from docs.postnuke.com. The smarty manual documents all the plugins that come with Smarty itself.
All those beginning with a $ ar template variables rather than plugins. What template variables are available depend entirely on the template in question. So, for example, the $info, $links & $preformat template variables available in the news templates won't be available to any other template.
-Mark -
- rank:
-
Professional
- registered:
- April 2003
- Status:
- offline
- last visit:
- 28.01.07
- Posts:
- 771
Mark I don't see those on your page but then again "info." is what I don't see I see the ending of those tags. I'm gonna have to look thru Smarty.
It's not brief.
I(and I'm guessing many others) could use a good quick tutorial if you want to add it to the 9 million things ya have to do.
