Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions & Updates (http://forum.bytesforall.com/forumdisplay.php?f=54)
-   -   Patch 113-05: 'Add Sub Templates' '.php' missing/copy doesn't work (http://forum.bytesforall.com/showthread.php?t=19594)

juggledad Feb 8, 2013 04:45 AM

Patch 113-05: 'Add Sub Templates' '.php' missing/copy doesn't work
 
1 Attachment(s)
If you create a new subtemplate, the '.php' extension is missing. In addition if you try to copy an existing subtemplate, the new template is created but nothing is copied. This patch will fix this issue.

edit the file 'montezuma/admin/options/650_sub_templates.php and change line 218 from
HTML Code:

<select>
to
HTML Code:

<select id="make_copy_of">
and change line 411 from
HTML Code:

'title' => $title,
to
HTML Code:

'title' => $title . '<span style="color:#666">.php</span>',
or replace the file montezuma/admin/options/650_sub_templates.php with the attached file which has the correction already applied.


All times are GMT -6. The time now is 03:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.