1
macklein
passing value to template at index page xoops 2.3.3
  • 2009/5/13 14:03

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Hello, I am trying to do something at the main index page of a XOOPS installation. I want to pass a value to the theme template. In /index.php, I assign the value after including header.php:

include "header.php";
$xoopsTpl->assign('myvar','myvalue');


this isn't working... any ideas?

2
macklein
Re: passing value to template at index page xoops 2.3.3
  • 2009/5/14 18:51

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


maybe there is something new that I don't know in the XOOPS core... when i change something at the url, like :http://localhost/index.php?foo=1 , the value is passed to the main template, but when I reload the page, is not working again.... some kind of cache or something?

3
macklein
Re: passing value to template at index page xoops 2.3.3
  • 2009/5/14 20:05

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


there seems to be a cache for the home page with a fixed cache time... but i don't know why the cached page doesn't have the values I send to he main template

Login

Who's Online

173 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

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

Latest GitHub Commits