1
LiliVG
Smarty tags print as literal instead of value
  • 2007/2/11 20:28

  • LiliVG

  • Just popping in

  • Posts: 65

  • Since: 2005/12/25


I'm making a simple module, but the smarty tags aren't working, for example, <{$xoops_sitename}> will show exactly like that. I've included the header, footer, and mainfile in index.php...what could be wrong?

Also, is there already a defined smarty tag for the site domain, for example <{$xoops_domain}> would output "Mydomain.com" without the "http://"? If not, how would I code the variable for it to do that? Or actually, if I just knew where the code was for the <{$XOOPS_URL}> code, I could probably tweak it myself.

Thanks! :)

2
LiliVG
Which file is the variable for <{$XOOPS_URL}> defined in?
  • 2007/2/12 16:44

  • LiliVG

  • Just popping in

  • Posts: 65

  • Since: 2005/12/25


Ok, I got the smarty tag thing figured out.

Can anyone tell me where the variable for <{$XOOPS_URL}> is defined? Like which file it's in? I need to tweak it and add it to my module. Thanks :)

Login

Who's Online

399 user(s) are online (344 user(s) are browsing Support Forums)


Members: 0


Guests: 399


more...

Donat-O-Meter

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

Latest GitHub Commits