| Re: smarty tags in custom blocks |
| by pacho on 2007/7/20 20:44:52 Hi, I have the same question as markesh. It is posible to use smarty tags in custom blocks? (maybe I am so newbie )If it isn't, I suggest to include it in next core version (in prayer) |
| smarty tags in custom blocks |
| by markesh on 2007/7/14 6:43:07 Hi, I'm almost desperate because I can't get those smarty tags work in my custom blocks. No problem with the special {X_SITEURL}, works fine (are there more like this, or is this the only one?) -- but e.g. <{$xoops_sitename}> How do I tell XOOPS to echo this? I've tried HTML, PHP and Autoformat, with and w/o < > and {} parenthesis, with and w/o quotes, searched the forum and smarty faq and the net. The few examples refer to templates only. I also tried to copy the contents of a system block (e.g. the login block) to a custom block. It didn't work like the original one. A small detailed piece of code would help me a lot to figure out the rest. Thanks a lot in advance markesh |