Prestashop Core Application V1.5

Editing(overriding) blocktopmenu.tpl file doesn't work

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Security Level: All-users
  • Labels:
    None
  • Environment:
    Prestashop 1.5.0.13, XAMPP, PHP 5.2.6, MySQL 5.0.51b
  • Similar issues:
    PSCFV-4640 override controllers doesn't work
    PSCFV-4781 override problem with 1.5.1.0 it doesn't see the override file
    PSCFV-7089 Ini_set('upload_max_filesize', '100M'); doesn't work in config.inc.php file
    PSCFV-4845 Export a language doesn't seem to work
    PSCFV-5296 upgrade from 1.4.9.1 to 1.5.2.0 doesn't work
    PSCFV-2288 Pagination doesn't work for images in rich text editor
    PSCFV-8430 Sendtoafriend doesn't work with IE7
    PSCFV-5497 $_FILES in Tools::getValue()

Description

I installed PrestaShop RC1 (1.5.0.13) and tried to create my own theme for testing.

1. Even if I override and edit the blocktopmenu.tpl file, it still uses the default original file.

themes\MYTHEME_NAME\modules\blocktopmenu\blocktopmenu.tpl

Other blocks can be overridden and edited just fine.

2. Also, there seems to be no way to override the topmenu's css file superfish-modified.css in my own theme's folder.

Must I edit the original files instead?

Thanks.

Activity

Hide
Vincent AUGAGNEUR added a comment - 12/Jun/12 9:16 AM

Hi hsyong hsyong,

I couldn't reproduce your bug on a new installation of PrestaShop.

Could you send me temporary back office and ftp access by email?

Best regards.

Show
Vincent AUGAGNEUR added a comment - 12/Jun/12 9:16 AM Hi hsyong hsyong, I couldn't reproduce your bug on a new installation of PrestaShop. Could you send me temporary back office and ftp access by email? Best regards.
Hide
hsyong hsyong added a comment - 12/Jun/12 9:48 AM - edited

I'm so sorry. I set Force Compile to YES, but did not set Cache to NO.

Now it is okay. I can override both the blocktopmenu.tpl and superfish-modified.css.

Thank you, and sorry again.

Show
hsyong hsyong added a comment - 12/Jun/12 9:48 AM - edited I'm so sorry. I set Force Compile to YES, but did not set Cache to NO. Now it is okay. I can override both the blocktopmenu.tpl and superfish-modified.css. Thank you, and sorry again.
Hide
hsyong hsyong added a comment - 12/Jun/12 9:51 AM

Not sure why if "Performance > Cache" set to "YES", I can still edit other tpl file but not blocktopmenu.tpl (Force Compile YES)

Show
hsyong hsyong added a comment - 12/Jun/12 9:51 AM Not sure why if "Performance > Cache" set to "YES", I can still edit other tpl file but not blocktopmenu.tpl (Force Compile YES)
Hide
Vincent AUGAGNEUR added a comment - 18/Jun/12 4:38 PM

Hi hsyong hsyong,

I dont really understand, does you problem is resolve with the cache set to NO.
There is some cache on blocktopmenu so if you set to Yes your modification will not be display.

Best regards.

Show
Vincent AUGAGNEUR added a comment - 18/Jun/12 4:38 PM Hi hsyong hsyong, I dont really understand, does you problem is resolve with the cache set to NO. There is some cache on blocktopmenu so if you set to Yes your modification will not be display. Best regards.
Hide
hsyong hsyong added a comment - 18/Jun/12 4:42 PM

Yes. It is resolved with cache set to NO. Thank you and sorry.

Show
hsyong hsyong added a comment - 18/Jun/12 4:42 PM Yes. It is resolved with cache set to NO. Thank you and sorry.
Hide
Yann KERGUELEN added a comment - 18/Jun/12 5:03 PM - edited

Hello,
I have the same problem but not solved with any setting of cache param.

In Performances
Template cache : FORCE COMPILE
Cache : UNSET (red cross)

I deleted files in /cache/smarty/cache & /cache/smarty/compile with no more results.

my css is in /themes/MY_THEME_NAME/css/blocktopmenu/superfish-modified.css
but in <head> the css called is still
<link href="/modules/blocktopmenu/css/superfish-modified.css" rel="stylesheet" type="text/css" media="all" />

I don't understand...

Show
Yann KERGUELEN added a comment - 18/Jun/12 5:03 PM - edited Hello, I have the same problem but not solved with any setting of cache param. In Performances Template cache : FORCE COMPILE Cache : UNSET (red cross) I deleted files in /cache/smarty/cache & /cache/smarty/compile with no more results. my css is in /themes/MY_THEME_NAME/css/blocktopmenu/superfish-modified.css but in <head> the css called is still <link href="/modules/blocktopmenu/css/superfish-modified.css" rel="stylesheet" type="text/css" media="all" /> I don't understand...
Hide
hsyong hsyong added a comment - 18/Jun/12 6:59 PM

Yann,

The css file should be here:
\themes\THEME_NAME\css\modules\blocktopmenu\css\superfish-modified.css

Show
hsyong hsyong added a comment - 18/Jun/12 6:59 PM Yann, The css file should be here: \themes\THEME_NAME\css\modules\blocktopmenu\css\superfish-modified.css
Hide
Yann KERGUELEN added a comment - 18/Jun/12 8:19 PM

yes... I didn't try this, and now... fantastic! It works
So many thanks hsyong hsyong! great!

Show
Yann KERGUELEN added a comment - 18/Jun/12 8:19 PM yes... I didn't try this, and now... fantastic! It works So many thanks hsyong hsyong! great!
Hide
Vincent AUGAGNEUR added a comment - 19/Jun/12 9:15 AM

Hi hsyong hsyong,

Thanks for your feedback. I close this bug.
Feel free to create a new issue if your problem is still present or if you have another problem.

Best regards.

Show
Vincent AUGAGNEUR added a comment - 19/Jun/12 9:15 AM Hi hsyong hsyong, Thanks for your feedback. I close this bug. Feel free to create a new issue if your problem is still present or if you have another problem. Best regards.

People

Vote (0)
Watch (0)

Dates

  • Created:
    12/Jun/12 8:05 AM
    Updated:
    12/Jul/12 5:37 PM
    Resolved:
    12/Jul/12 5:37 PM