1
Dear All,
Would it be possible to use PHP variables in block templates? The problem I am having is as follows: I want to give my users the option of switching between themes - however the template as it stands at the moment changes the template but takes you back to the index page. So, if the user was looking at the guestbook module he has to navigate back to it after changing the theme.
To solve that, I tried to replace index.php with , but the template simply refused to work. The action file does not have to be index.php as any file you replace it with (e.g.
http://www.mysite.com/modules/xfguestbook) will work as well - my understanding is that theme selection happens in header.php and all files import it in one or another way.
How can I resolve this?
I look forward to hearing from you soon.
Thanks in advance.
George