Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme » New Versions & Updates »

Patch 113-05: 'Add Sub Templates' '.php' missing/copy doesn't work


  #1  
Old Feb 8, 2013, 04:45 AM
juggledad's Avatar
juggledad
 
23,526 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
Attached Files
File Type: zip 650_sub_templates.zip (6.6 KB, 535 views)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 9, 2013 at 05:03 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 373-04: Fix missing translation in bfa_post_parts.php juggledad Old Version fixes and change logs 0 Jan 23, 2012 10:36 AM
", 'edit_themes', 'functions.php', 'bfa_ata_admin'); } ?> Mads Rasmussen Atahualpa 3 Wordpress theme 2 Nov 24, 2009 07:50 PM


All times are GMT -6. The time now is 10:32 AM.


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