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?