Complete list of possible TAG for developers
Where can i find the complete list of tags (like {profile_link} ) for developers? I search around and i couldnt find any.
Best Regards,
HC
Best Answers
-
peregrine MVP
look in vanilla/library/vendors/SmartyPlugins
e.g. look at the file names and imagine removing the function. and the .php
function.bookmarks_link.php would provide a {bookmarks_link} tag. function.home_link.php would provide {home_link} all the functions seem to provide a tags from my experimentation. The listing I see is as follows. if you look in theses files - you can see what they are doing. You can also create your own just by cloning a file you like and modifying the name of the file and matching the function-name inside the file for example. function.mymenu.ph block.permission.php function.activity_link.php function.asset.php function.bookmarks_link.php function.breadcrumbs.php function.category_link.php function.custom_menu.php function.dashboard_link.php function.discussions_link.php function.drafts_link.php function.event.php function.forum_root_link.php function.home_link.php function.inbox_link.php function.link.php function.logo.php function.module.php function.mydiscussions_link.php function.nomobile_link.php function.photo_link.php function.profile_link.php function.searchbox.php function.signin_link.php function.signinout_link.php function.t.php function.text.php function.user_link.php function.vanillaurl.php I'm not sure how these get used or how to call them - perhaps they get called from the functions themselves. Maybe someone will shed some light. modifier.date.php modifier.translate.php block.permission.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
1 -
peregrine MVP
well, I'm glad you accepted it. . Sorry that you didn't "like" it and it wasn't useful for you. Unfortunately my unofficial list gives you more information than the docs I've seen on the possible tags.
try www.smarty.net to get the idea how functions work and you will see what I mean.
if the function isn't there - neither is a tag. So unless I am wrong - you've got the complete list unless the smarty.net site has more generic ones. You can create your own tags by creating a function in the same directory as above.here's the complete list
http://vanillaforums.com/blog/help/vanilla-template-tags/
http://vanillaforums.org/docs/featuresaddons-pluginscustomtheme
http://vanillaforums.com/blog/help/how-to-use-custom-theme-part-1-edit-html/
www.smarty.net/docsv2/en/language.basic.syntax.tpl
www.smarty.net/docsv2/en/language.function.literal
P.S. Once you get a complete list, please post it on the wiki.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
2
Answers
look in vanilla/library/vendors/SmartyPlugins
e.g. look at the file names and imagine removing the function. and the .php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hey there, I accepted the answer cause it may be useful for someone.
I had noticed that, but I was wondering if there was an 'official' list for this.
But thank you for your reply.
Regards,
HC
well, I'm glad you accepted it. . Sorry that you didn't "like" it and it wasn't useful for you. Unfortunately my unofficial list gives you more information than the docs I've seen on the possible tags.
try www.smarty.net to get the idea how functions work and you will see what I mean.
if the function isn't there - neither is a tag. So unless I am wrong - you've got the complete list unless the smarty.net site has more generic ones. You can create your own tags by creating a function in the same directory as above.
here's the complete list
http://vanillaforums.com/blog/help/vanilla-template-tags/
http://vanillaforums.org/docs/featuresaddons-pluginscustomtheme
http://vanillaforums.com/blog/help/how-to-use-custom-theme-part-1-edit-html/
www.smarty.net/docsv2/en/language.basic.syntax.tpl
www.smarty.net/docsv2/en/language.function.literal
P.S. Once you get a complete list, please post it on the wiki.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This exactly what i was talking about.
Thank you very much.
Regards