History of Smarty Functions

Comparing versions
Version 22Current version
These are custom smarty functions which are used by bitweaver. Of course you can make use of all Standard Smarty functions as well.

name/link
brief description of function
block.bitmoduleHelps creating modules
block_formGenerates the form element and some more
block_forminputapplies correct css styling for form input elements
block_jstabsgives you a nice tabs without much programming
block_legendshould surround a number of form fields (resembles the html fieldset plus a label)
function_banner
function_biticonused to display icons
function_bit_select_datetimeDisplays a date/datetime input facility
function_content
function_cookie
function_displaynameThis is a smarty tag which allows various different identifiers to be used to indentify a user other than his/her 'login'
function_ed
function_elapsed
function_formfeedbackUse this to display feedback about the user's actions (success/failure/warning)
function_formlabelapplies correct css styling for form labels
function_gallery
function_helplink
function_html_select_dateCreates date selection dropdown lists
function_html_select_timeCreates time dropdowns for you. It can display any or all of hour, minute, second and meridian.
function_jscalendarUsed to short-cut a Date Time chooser using JSCalendar
function_jspopup
function_libertypagination
function_memusage
function_menu
function_paginationdisplays pagination links at the bottom of lists
functionallows addition of php to template files
function_poll
function_querytable
function_rcontent
function_rss
function_sameurl
function_showdate
function_smartlinkOutputs any kind of link. Especially useful when it comes to links used to sort a table, due to the simplified syntax and loss of cumbersome if clauses also useful if the you want to display an icon as link since smartlink takes biticon parameters
function_tikihelpadds a '?' which links to appropriate help pages
function_var_dumpHelps debugging a template as it dumps variable content to the debug console.

 
Bitweaver uses the Smarty template engine to process templates (*.tpl files). Inside these templates, you can use all Standard Smarty functions as well as some extensions introduced by Bitweaver. This is a list of the Bitweaver extensions.

Block Functions

name/link
brief description of function
block.bitmoduleHelps creating modules
block_box
block_formGenerates the form element and some more
block_forminputapplies correct css styling for form input elements
block_jstab
block_jstabsgives you a nice tabs without much programming
block_legendshould surround a number of form fields (resembles the html fieldset plus a label)
block_navbar
block_repeat
block_sortlinks
block_tr


Simple Functions

name/link
brief description of function
function_adsense
function_alphabar
function_banner
function_bit_select_datetimeDisplays a date/datetime input facility
function_bithelp
function_biticonused to display icons
function_captcha
function_contentThis function requires the DCS package
function_cookie
function_displaycomment
function_displaynameThis is a smarty tag which allows various different identifiers to be used to indentify a user other than his/her 'login'
function_ed
function_elapsed
function_formfeedbackUse this to display feedback about the user's actions (success/failure/warning)
function_formhelp
function_formlabelapplies correct css styling for form labels
function_gallery
function_helplinkGenerates a link to a wiki page. The link is labeled as 'help'.
function_html_select_dateCreates date selection dropdown lists
function_html_select_timeCreates time dropdowns for you. It can display any or all of hour, minute, second and meridian.
function_inlinemodule
function_jscalendarUsed to short-cut a Date Time chooser using JSCalendar
function_jspopup
function_libertypagination
function_memusage
function_menu
function_minifind
function_nexus
function_paginationdisplays pagination links at the bottom of lists
function_pagination_c
functionallows addition of php to template files
function_poll
function_popup
function_querytable
function_rcontent
function_rss
function_sameurl
function_showdate
function_smartlinkOutputs any kind of link. Especially useful when it comes to links used to sort a table, due to the simplified syntax and loss of cumbersome if clauses also useful if the you want to display an icon as link since smartlink takes biticon parameters
function_spellchecker
function_tikihelpadds a '?' which links to appropriate help pages
function_var_dumpHelps debugging a template as it dumps variable content to the debug console.


Modifiers

name/link
brief description of function
modifier_act_icon
modifier_adjust
modifier_avatarize
modifier_bit_date_format
modifier_bit_long_date
modifier_bit_long_datetime
modifier_bit_long_time
modifier_bit_short_date
modifier_bit_short_datetime
modifier_bit_short_time
modifer_cal_date_format
modifier_countryflag
modifier_dbg
modifier_display_bytes
modifier_displayUrl
modifier_div
modifier_duration
modifier_htmltotext
modifier_iconifiy
modifier_nlbr
modifier_quoted
modifier_reltime
modifier_times
modifier_truncate
modifier_userlink


Misc

name/link
brief description of function
outputfilter_highlight
prefilter_tr
resource_bitpackage
resource_style

Page History
Date/CommentUserIPVersion
21 Jan 2007 (11:57 UTC)
hiran85.233.40.19230
Current • Source
hiran85.233.40.19224
View • Compare • Difference • Source
hiran85.233.40.19223
View • Compare • Difference • Source
hiran85.233.40.19222
View • Compare • Difference • Source
hiran85.233.40.19221
View • Compare • Difference • Source
hiran85.233.40.19220
View • Compare • Difference • Source
hiran85.233.40.19219
View • Compare • Difference • Source
hiran85.233.40.19217
View • Compare • Difference • Source
hiran85.233.40.19216
View • Compare • Difference • Source
hiran85.233.40.19215
View • Compare • Difference • Source
hiran85.233.40.19214
View • Compare • Difference • Source
hiran85.233.40.19213
View • Compare • Difference • Source
hiran85.233.40.19212
View • Compare • Difference • Source
hiran85.233.40.19211
View • Compare • Difference • Source
hiran85.233.40.19210
View • Compare • Difference • Source
hiran85.233.40.1929
View • Compare • Difference • Source
hiran85.233.40.1928
View • Compare • Difference • Source
hiran85.233.40.1927
View • Compare • Difference • Source
Stephan Borg218.214.1.1136
View • Compare • Difference • Source
Stephan Borg218.214.1.1135
View • Compare • Difference • Source
Stephan Borg218.214.1.1134
View • Compare • Difference • Source
xing83.64.18.1223
View • Compare • Difference • Source
Andrew Slater66.193.5.502
View • Compare • Difference • Source