Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to make the below things to be seen in a div tag ?
In my vanilla forum, I want to make these things in the image to be seen in a <div>
tag. It must include this :- If anyone hasn't logged in, for him it should show "Sign in". How could I do these things using PHP ?
Tagged:
0
Best Answer
-
hgtonight MVP
I assume you want to add this to your mast template so it is shown on every page. Vanilla has some Smarty plugins that make this addition trivial:
<div> {user_link} {photo_link} {signinout_link} </div>
For more information, checkout the community wiki on working with Smarty in Vanilla: http://vanillawiki.homebrewforums.net/index.php/Using_Smarty_with_Vanilla
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
1
Answers
Please HELP ME !!!
I assume you want to add this to your mast template so it is shown on every page. Vanilla has some Smarty plugins that make this addition trivial:
For more information, checkout the community wiki on working with Smarty in Vanilla: http://vanillawiki.homebrewforums.net/index.php/Using_Smarty_with_Vanilla
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.