Post by JWire » Sun Jun 10, 2018 10:58 am

Hi, I wanted to rename my theme folder from ex. theme783 to customtheme. Do I just change the current theme to default in admin setting, rename theme783 to customtheme in ftp, then change back the default theme to customtheme in admin? What else do I need to edit?

Newbie

Posts

Joined
Mon Feb 02, 2015 6:54 am

Post by straightlight » Mon Jun 11, 2018 12:29 am

1 - No OC version posted
2 - Leaving the default folder name as it is
3 - Renaming the custom theme folder name before uploading and extracting the package on the production server and installing it from the OC admin

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Mon Jun 11, 2018 12:38 am

Well, you will find out easy, if you just rename the Theme Directory.
and then, you have to check your .../template/common/header.tpl file,
it either contains Lines like this:

Code: Select all

catalog/view/theme/theme783/....
wich would have to be renamed as well.
Or then, it looks about like this:

Code: Select all

catalog/view/theme/<?php echo $this->config->get('config_template');?>/....
and then, you don't have to change anything else, to usually make it work.
EXEPT: if you use some theme-specific VqMods, containing direct 'theme-name' Linkings,
like:

Code: Select all

<file name='catalog/view/theme/theme783/ ........'>
BUT if you use a Custom Theme, wich add's it's own
system/.. - controller/.. - model/ .. Files + Code, you might have to change other Code as well... ::)

Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 93 guests