Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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,765 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, 2187 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 02:22 AM.


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