Renaming theme via patReplaces.php
Posted: Fri Jun 14, 2013 9:48 pm
My Vqmod version is 2.3.2. I have changed my admin directory name via patReplaces.php and this works. If i understand correct this is also possible for changing the theme name.
So i want to change my theme name but i cant get it to work.
This is how my patReplaces.php looks like:
I deleted the vqcache content and the mods cache file. After that i changed my theme directory name to: new-theme-name.
In the admin backend of the store i enabled the new-theme-name.
Why is this still not working, what am i doing wrong?
So i want to change my theme name but i cant get it to work.
This is how my patReplaces.php looks like:
Code: Select all
<?php
/**
* File for path replacements in xml paths. Examples:
*
* $replaces[] = array('~^admin\b~', 'admin123'); // This replaces the admin folder name for use when admin folder's renamed
* $replaces[] = array('~\btheme/default\b~', 'theme/my-theme-name'); // Theme name replace to apply mods to your theme
*
* Place your replaces between the START and END lines below
**/
// START REPLACES //
$replaces[] = array('~^admin\b~', 'admintest');
$replaces[] = array('~\btheme/old-theme-name\b~', 'theme/new-theme-name');
// END REPLACES //
In the admin backend of the store i enabled the new-theme-name.
Why is this still not working, what am i doing wrong?