NYCPHP Meetup

NYPHP.org

[joomla] How to change the template from within a PHP program?

Shelley Shyan skylarkbj at 163.com
Mon Oct 27 04:36:02 EDT 2008


 select * from jos_templates_menu;
+---------------+--------+-----------+
| template      | menuid | client_id |
+---------------+--------+-----------+
| rhuk_milkyway |      0 |         0 | 
| khepri        |      0 |         1 | 
+---------------+--------+-----------+

Seems the template "where munuid=0 and client_id=0" is the one to be used.

You can change that to the template name you want to use.

 
--
With kind regards,
Shelley Shyan
http://phparch.cn

 

2008-10-27,"David A. Roth" <davidalanroth at gmail.com> wrote:
Does anyone know how to change the selected Joomla template to another Joomla template from within a PHP program, so this can be done on-the-fly?


Thanks,


David Roth
DavidAlanRoth at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20081027/67726581/attachment.html>


More information about the Joomla mailing list