RCP90 Posted May 29, 2014 Share Posted May 29, 2014 Hello, Quick question, when a page on the website is right clicked > view source it lists all of the CSS with the theme directory name. I would like to change the theme directory to the name of our shop. I have tried changing the theme name in backoffice but this does not seem to change anything. In 1.5 in when installing a theme you could name the directory, in 1.6 it does not seem to be possible to do this. Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2014 Share Posted May 29, 2014 you have to change directory of theme on your FTP service. open /themes/ directory and change, for example, /default/ to /mythemename/ and in back office under preferences > themes select this 'new' theme Link to comment Share on other sites More sharing options...
dominic.nguyen Posted July 14, 2014 Share Posted July 14, 2014 On 5/29/2014 at 2:40 PM, vekia said: you have to change directory of theme on your FTP service. open /themes/ directory and change, for example, /default/ to /mythemename/ and in back office under preferences > themes select this 'new' theme A extra small action in your solution is: - Go to Advanced Setting at the theme needed to be changed (folder and name) - select default-bootstrap directory. Save it. At this step, site will be down and break. - Use ftp to change the folder as you wish. - in BO, go to Advanced Setting again, now we will see the new folder directory to select. Select that "new" directory. Change theme name on top. Save it. Tadda. Now open the source code, you will see all the css/js...located in your new directory as you wish. Doing what vekia say, is not wrong, but make site broken. 1 Link to comment Share on other sites More sharing options...
DannetStudio Posted July 23, 2014 Share Posted July 23, 2014 (edited) Another way to do it, is renaming the folder theme using a FTP manager, and editing directly the database with phpmyadmin or another db administrator: changing the value of the folder column in your current theme / id row. With this method there is no problems if you are working for example with multiple stores, because basically you're using the same previous theme but with another folder assigned, ie the theme is not changed in the configuration as with the above ones. Regards Edited July 23, 2014 by DannetStudio (see edit history) 2 Link to comment Share on other sites More sharing options...
RCP90 Posted July 26, 2014 Author Share Posted July 26, 2014 On 7/23/2014 at 5:03 AM, DannetStudio said: Another way to do it, is renaming the folder theme using a FTP manager, and editing directly the database with phpmyadmin or another db administrator: changing the value of the folder column in your current theme / id row. With this method there is no problems if you are working for example with multiple stores, because basically you're using the same previous theme but with another folder assigned, ie the theme is not changed in the configuration as with the above ones. Regards That is great, the other methods did not result in good results. By changing the directory over FTP and via phpmyadmin worked perfectly, with no issues. Thank you! Link to comment Share on other sites More sharing options...
prestafun Posted August 7, 2014 Share Posted August 7, 2014 On 7/26/2014 at 9:07 AM, RCP90 said: That is great, the other methods did not result in good results. By changing the directory over FTP and via phpmyadmin worked perfectly, with no issues. Thank you! On 7/23/2014 at 5:03 AM, DannetStudio said: Another way to do it, is renaming the folder theme using a FTP manager, and editing directly the database with phpmyadmin or another db administrator: changing the value of the folder column in your current theme / id row. With this method there is no problems if you are working for example with multiple stores, because basically you're using the same previous theme but with another folder assigned, ie the theme is not changed in the configuration as with the above ones. Regards Hi, What is meant by changing the value of the folder column - where is the folder column in phpmyadmin? What is id row?? 1 Link to comment Share on other sites More sharing options...
RCP90 Posted August 8, 2014 Author Share Posted August 8, 2014 (edited) In phpmyadmin find the table named ps_theme it will list the themes which are installed. Then change the directory name of the theme you wish to change and edit that field. Here is an example, in this case the installed theme is Warehouse, so you would change the directory name to whatever you wish. Hope this helps. Edited August 8, 2014 by RCP90 (see edit history) 1 Link to comment Share on other sites More sharing options...
prestafun Posted August 8, 2014 Share Posted August 8, 2014 Hi Thanks for your response. I tried this and my site ended up with a 500 error - page cannot be found Link to comment Share on other sites More sharing options...
RCP90 Posted August 8, 2014 Author Share Posted August 8, 2014 On 8/8/2014 at 12:58 PM, prestafun said: Hi Thanks for your response. I tried this and my site ended up with a 500 error - page cannot be found Are you using 1.6.0.9? I have just tested the method which also gives 500 error, but this method worked fine in previous verisons. If you rename to what it was originally the error will remove. I will try to find out why this happens on 1.6.0.9 Link to comment Share on other sites More sharing options...
prestafun Posted August 8, 2014 Share Posted August 8, 2014 Hi I am using 1.6.0.6 Link to comment Share on other sites More sharing options...
RCP90 Posted August 8, 2014 Author Share Posted August 8, 2014 Select default theme in b/o, rename new theme folder via FTP, change theme name and directory in phpmyadmin, switch to new theme in b/o, and then it works. Link to comment Share on other sites More sharing options...
prestafun Posted August 8, 2014 Share Posted August 8, 2014 Hi Okay thank you . Will I lose anything from my store set-up? Link to comment Share on other sites More sharing options...
RCP90 Posted August 8, 2014 Author Share Posted August 8, 2014 No, I just tested again on 3 stores and works fine, although on 1.6.0.9 it works differently and will deactivate all new themes modules once it is renamed. Didn't do that on previous version. but you should always back up DB and store. Link to comment Share on other sites More sharing options...
prestafun Posted August 8, 2014 Share Posted August 8, 2014 Thanks again Link to comment Share on other sites More sharing options...
Recommended Posts