Tagged: display header not showing
I’ve just installed Panda 2 theme. There are certain modules that I don’t want to show on some pages. However because they are transplanted to Header hook, they still get loaded which affects the page speed. So when I try to open the hook to place an exception for the page, Header or displayHeader don’t show. Is this a Prestashop problem or is it because of the overrides in the theme? I’m using 188.8.131.52.
For example, lets take Revolution slider as a module that I want to remove from category pages.
It is transplanted in Header hook (I’ve already removed it from all other hooks apart from displayfullwidthtop where I want to show it on the homepage, see snapshot 1).
When I click on that edit button to put an exception for category pages, Header or displayHeader don’t appear in the list of hooks at all. (see snapshot 2).
It’s not just revslider. There are several modules that load some code in the header on every page and affect page loading speed. I’ve currently installed Panda theme on a backup site to check all settings and functionalities before I install it on the main site. On my main site, I’ve removed all extra modules from the Header of pages where they are not needed because it significantly improves the page speed. I’m just taking Revolution slider as an example. On my main live site, all these modules show the Header hook in the Positions section of Prestashop and I can edit the exceptions for which pages they should not load on. However on the backup site where I have installed the Panda theme, I’m not able to change the Header setting of most of the modules that are related to Panda theme (which includes Revolution slider). Even for Panda theme native modules, apart from some of the Blog modules, most other native theme modules don’t show Header hook, even though they are in the list of modules loaded in the Header. All the other 3rd party modules that are not related to Panda theme, I’m able to edit the Header setting just like on my main website.
Reason why I’m trying to take all the extra modules out of category pages is because it is the landing page. And currently, with Panda theme the size is about 40% more than the size of the category page on my main website and DOM size is about 80% higher. Taking all these modules out of the Header on these pages will significantly reduce both of these. Hope I’ve been able to clarify the issue and concern.
The Prestashop slider is still showing on several pages, even after removing it from all other hooks apart from displayfullwidthtop. It shows on pages like My Account, order confirmation, etc. I tried adding the code that you sent to the beginning of the file /modules/revsliderprestashop/revsliderprestashop.php but after adding, the website stops working and I get a 500 error. Version of the Rev slider installed on my website is 184.108.40.206. Can you please advise if there’s an alternate code I could try or if there’s another way to remove rev slider from all other pages apart from the homepage?
It seems you purchased the Revolution slider from a 3rd party module, that will show on all pages if you set the slider show on the “Full-width top”, I modified the /modules/revsliderprestashop/revsliderprestashop.php file to resolve the issue, see attached screenshot.
1. I’m getting this attached error message when I try to subscribe using the newsletter block in the footer. I’ve set the module to send a verification email. When I try to subscribe, I get this error message but also get a verification email. When I click on the verification link in the email I get a message saying ‘This email is already registered and/or invalid.’
Can you please check?
2. I’ve configured the module to send a voucher once the subscription is verified by email. However, when someone opts to subscribe to the newsletter during the checkout process, no voucher is sent out. Can the module send out the voucher during checkout as well?
You must be logged in to reply to this topic.