NYCPHP Meetup

NYPHP.org

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

Benjamin Hornedo ben at uptown4.com
Mon Oct 27 06:04:19 EDT 2008


Does the jos_change_template URL parameter still work? If so, would that
help?

index.php?jos_change_template=madeyourweb

Thank you,
Ben

2008/10/27 Shelley Shyan <skylarkbj at 163.com>

>  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
>
>
>
> ------------------------------
> [广告] 金秋最关注楼盘-房不胜房 <http://popme.163.com/link/003985_1010_7027.html>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20081027/5de13727/attachment.html>


More information about the Joomla mailing list