1
markesh
smarty tags in custom blocks
  • 2007/7/14 6:43

  • markesh

  • Just popping in

  • Posts: 79

  • Since: 2007/7/14


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
First German XOOPS book: XOOPS-Buch.de

2
pacho
Re: smarty tags in custom blocks
  • 2007/7/20 20:44

  • pacho

  • Quite a regular

  • Posts: 235

  • Since: 2005/6/7 2


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)

Login

Who's Online

225 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits