Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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

Who's Online

226 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits