Jump to content

Prestashop root directory in local


Recommended Posts

I have downloaded the prestashop file from the server which is already running and installed in my local the default theme is selected but it's not applying any stylesheet when i checked through firebug the stylesheet path is wrong for example i have

 

http://localhost/prestashop_live

 

but the stylesheet path is

 

http://localhost/global.css

 

How would i append the directory name prestashop_live ? Where i have to change? Thanks in advance for your help

Link to comment
Share on other sites

Hello Muthu,

 

Since everything is working fine, it seems only the path issue for your css file, which is not being generated properly.

 

The constants which are used in generating the url for css(and other files as well) files can be found in config/defines_uri.inc.php file.

Here you will find a line define('_THEME_CSS_DIR_', _THEME_DIR_.'css/');

you can directly edit this line to show your theme's css folder path or you can edit the _THEME_DIR_ constant also to contain the right path.

 

Hope this will help

  • Like 1
Link to comment
Share on other sites

I have downloaded the prestashop file from the server which is already running and installed in my local the default theme is selected but it's not applying any stylesheet when i checked through firebug the stylesheet path is wrong for example i have

 

http://localhost/prestashop_live

 

but the stylesheet path is

 

http://localhost/global.css

 

How would i append the directory name prestashop_live ? Where i have to change? Thanks in advance for your help

Solved

 

Hello Muthu,

 

Since everything is working fine, it seems only the path issue for your css file, which is not being generated properly.

 

The constants which are used in generating the url for css(and other files as well) files can be found in config/defines_uri.inc.php file.

Here you will find a line define('_THEME_CSS_DIR_', _THEME_DIR_.'css/');

you can directly edit this line to show your theme's css folder path or you can edit the _THEME_DIR_ constant also to contain the right path.

 

Hope this will help

solved
Link to comment
Share on other sites

×
×
  • Create New...