zeratool Posted February 22, 2008 Share Posted February 22, 2008 Hello, What table is used for theme config , cuz I cannot change the default theme to my custom theme thru the backoffice. "Back Office >> Preferences >> Appearance >> Theme" Im using 0.9.7 Thanks Link to comment Share on other sites More sharing options...
zeratool Posted February 23, 2008 Author Share Posted February 23, 2008 anybody? Link to comment Share on other sites More sharing options...
Bruno Leveque Posted February 23, 2008 Share Posted February 23, 2008 Hi, Your PrestaShop current theme is stored in your settings.inc.php file : define('_THEME_NAME_', 'default'); If your custom theme is not displayed in the backoffice, did you put a preview.jpg file in your theme directory ? (eg. /themes/mytheme/preview.jpg) Best regards, Link to comment Share on other sites More sharing options...
zeratool Posted February 23, 2008 Author Share Posted February 23, 2008 Oh I see, I thought it was saved on a db table, so it's in a file. Ok thanks i changed the theme now, and when I look now at the back office it's sync as well. I think the settings.inc.php file is not writable that's why it doesn't reflect when I change it on the backoffice. Thanks again. Link to comment Share on other sites More sharing options...
Bruno Leveque Posted February 23, 2008 Share Posted February 23, 2008 Nice Don't forget to put "[solved]", to your topic, I did it for this one Link to comment Share on other sites More sharing options...
DanielaPetkova Posted January 17, 2021 Share Posted January 17, 2021 That is very old but i was searching for information about the name of the table for PS 1.7.3 that needs to be changed in the date base. So it is SELECT * FROM `ps4e_shop` the MySql or simply ps4e_shop. There and also config/defines_uri.inc.php the first line _PS_DEFAULT_THEME_NAME_ . After you upload your new theme , change the name to those two places and you are good to go. Also very important is your config.yml in the theme's folder. If there is someting messed up to that file will give you error like " A YAML file cannot contain tabs as indentation at line 69" That was my case and just wanted to share experience for future reference. Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now