Enhancement -> copy templates
Posted: Wed 8. Jun 2005, 13:36
[IMPORTEND]
"copy templates" now is included in the latest CVS-Release...
So you don't have to install it manually if you install CVS-Version 1.2.6 -14.12.2005 and up...
----------------------------------------------------------
Hello phpwcms-friends!
Here is my little contribution to this great cms and forum:
With this enhancement it's possible to copy templates in the Backend in a very simple way.


To install this enhancement download
http://www.kmedv.at/phpwcms/admin.templates.tmpl.zip
unzip it and replace the original admin.templates.tmpl.php with the new one.
The admin.templates.tmpl.php is located in "include\inc_tmpl".
Only one thing to change left -> the language files:
Repeat the above steps for each preferred language.
Tested with version 1.2.1-DEV, should also work with the newer versions.
Thats all....
Erich
"copy templates" now is included in the latest CVS-Release...
So you don't have to install it manually if you install CVS-Version 1.2.6 -14.12.2005 and up...
----------------------------------------------------------
Hello phpwcms-friends!
Here is my little contribution to this great cms and forum:
With this enhancement it's possible to copy templates in the Backend in a very simple way.


To install this enhancement download
http://www.kmedv.at/phpwcms/admin.templates.tmpl.zip
unzip it and replace the original admin.templates.tmpl.php with the new one.
The admin.templates.tmpl.php is located in "include\inc_tmpl".
Only one thing to change left -> the language files:
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
include\inc_lang\backend\en\lang.inc.php
#
#-----[ FIND ]------------------------------------------
#
// admin.templates.tmpl.php
$BL['be_admin_tmpl_title'] = 'frontend setup: templates';
$BL['be_admin_tmpl_default'] = 'default';
$BL['be_admin_tmpl_add'] = 'add template';
$BL['be_admin_tmpl_edit'] = 'edit template';
$BL['be_admin_tmpl_new'] = 'create new';
$BL['be_admin_tmpl_css'] = 'css file';
$BL['be_admin_tmpl_head'] = 'html head';
$BL['be_admin_tmpl_js'] = 'js onload';
$BL['be_admin_tmpl_error'] = 'error';
$BL['be_admin_tmpl_button'] = 'save template';
$BL['be_admin_tmpl_name'] = 'name';
#
#-----[ ADD ]------
#
$BL['be_admin_tmpl_copy'] = 'copy template';
Repeat the above steps for each preferred language.
Tested with version 1.2.1-DEV, should also work with the newer versions.
Thats all....
Erich