1
LiZharD
Custom variables
  • 2004/10/15 14:33

  • LiZharD

  • Just popping in

  • Posts: 11

  • Since: 2004/10/15


I'm new of XOOPS and i've a little question.
I want change (with css) tha layout in any main section.
In a static site i made this:
Home:
Products:
and so on..

It is possible make the same thing in Xoops?
I've created a new variable in header.php and called with {$xoops_body} but don't work. I don't know how to assign this to theme.html

Any ideas?

Many thanks

2
ackbarr
Re:Custom variables

Without seeing the code you are trying to use, we can't really pinpoint the problem, but I always add custom smarty variables in footer.php, since the $xoopsTpl object will have been initialized by then.

$xoopsTpl->assign('xoops_body'$yourvalue);

Login

Who's Online

299 user(s) are online (224 user(s) are browsing Support Forums)


Members: 0


Guests: 299


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