nisarg
December 20, 2012, 7:59am
1
how to copy theme azure to new theme for template developement?
anybody knows ??
we are getting errors while executing clone.php
oxNew( ) ..\oxregistry.php:52
oxUtilsObject::getInstance( ) ..\oxfunctions.php:385
oxUtilsObject->oxNew( ) ..\oxutilsobject.php:94
oxUtilsObject->getClassName( ) ..\oxutilsobject.php:183
oxUtilsObject->getModuleVar( ) …\oxutilsobject.php:323
oxUtilsObject->_getFromCache( ) …\oxutilsobject.php:513
oxUtilsObject->_getCacheFileName( ) …\oxutilsobject.php:689
oxUtilsObject->_getCacheDir( ) …\oxutilsobject.php:640
oxRegistry::get( ) …\oxutilsobject.php:622
You dont need to copy anything, make a child theme
nisarg
December 20, 2012, 8:16am
3
how can we make child theme?
you just need to copy single template files (which will be modified from you) into a new subdirectory
see details here:
From OXID eShop 4.5.0 theme handling will be moved from config.inc.php to back-end (Master Settings -> Themes) showing list of all available templates, their descriptions, thumbnails and theme specific settings and also theme switching in back-end
nisarg
December 20, 2012, 9:54am
6
I have check the details but is there any solution for new theme folder ?
I can not run the script to clone the theme variables and if i run it than getting error as mentioned in 1st comment …
no need to clone anything, just copy the original template file you want to change into a new folder and modify them there
only thing to do is creating a theme.php with according meta data:
From OXID eShop 4.5.0 theme handling will be moved from config.inc.php to back-end (Master Settings -> Themes) showing list of all available templates, their descriptions, thumbnails and theme specific settings and also theme switching in back-end
nisarg
December 20, 2012, 10:54am
8
In this part of tutorial [B]‘Clone a theme with independent config
’ [/B]it is not working for me properly , and gives as error.
we are getting errors while executing clone.php
oxNew( ) …\oxregistry.php:52
oxUtilsObject::getInstance( ) …\oxfunctions.php:385
oxUtilsObject->oxNew( ) …\oxutilsobject.php:94
oxUtilsObject->getClassName( ) …\oxutilsobject.php:183
oxUtilsObject->getModuleVar( ) …\oxutilsobject.php:323
oxUtilsObject->_getFromCache( ) …\oxutilsobject.php:513
oxUtilsObject->_getCacheFileName( ) …\oxutilsobject.php:689
oxUtilsObject->_getCacheDir( ) …\oxutilsobject.php:640
oxRegistry::get( ) …\oxutilsobject.php:622
you do not need to clone it, the config options can be set within the “parent”-Theme options
As this script was made for a previous shop version, it may lead to mentioned mistakes with current 4.7 version.
@ray : i think he wants to clone it, that’s the point
@nisarg : You could try this minimal SQL: http://forum.oxid-esales.com/showthread.php?t=9393&page=5
I have not tried but it may work with 4.7
if you need individual configs, here is the manual for them to do it “by hand”:
From OXID eShop 4.5.0 theme handling will be moved from config.inc.php to back-end (Master Settings -> Themes) showing list of all available templates, their descriptions, thumbnails and theme specific settings and also theme switching in back-end
nisarg
December 20, 2012, 1:34pm
12
@leofonic : yes u got me right.
I have done entry in both table manually but i couldn’t found anything for the error in script that i have mentioned in this link:
‘http://wiki.oxidforge.org/Tutorials/ …#Custom_themes ’
my work is done but i think we should find why it is not working with new version .
check here for clone script with config version 4.7
From OXID eShop 4.5.0 theme handling will be moved from config.inc.php to back-end (Master Settings -> Themes) showing list of all available templates, their descriptions, thumbnails and theme specific settings and also theme switching in back-end