Post by Wormzer » 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:

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 //
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?

New member

Posts

Joined
Fri Sep 28, 2012 5:08 pm

Post by rph » Sat Jun 15, 2013 1:08 am

Do you actually have vqmod scripts coded with the old theme path? That's usually not common unless you created them yourself or a developer was creating a workaround for a specific theme.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Wormzer » Sat Jun 15, 2013 3:05 am

No. But i got it wrong i think, i tought that you could change the theme name (template) with the pathReplaces. So when you look into the website source of the store you can't see the original theme name, but the name i have gave it. :bang:

New member

Posts

Joined
Fri Sep 28, 2012 5:08 pm
Who is online

Users browsing this forum: No registered users and 6 guests