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.
converting nomobile_link wrap="span" to PHP
![fr3em1nd](https://us.v-cdn.net/5018160/uploads/userpics/070/nHMX7CJU28JW4.jpg)
hi guys i need help converting this one from SMARTY TPL format to PHP
nomobile_link wrap="span"
i'm not sure how to echo this one on PHP format. can anyone help?
0
Comments
al you have to do is use the normal .tpl and take a snapshot of your screen source to see how it is interpreted.
wrap - means surround by span
echo "what you want surrounded by single or double quotes depending on your need";
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
What I usually due in situations like these, is take a look in
library/vendors/SmartPlugins
. Here you'll find the code that handles all of the Smarty tags related to Vanilla, the nomobile_link included:Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
The cheap way is to view source on a page using the template, then copy that bit of HTML and paste it into the PHP template.![:D :D](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/grin.png)
hey guys thank you so much for your help, another knowledge added on my little brain![:) :)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/smile.png)