- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 04.12.17, 08:55
- Opened by: Thibaut
- Closed by: Marek
- Closed on: 29.12.17, 13:02
- Reason: Closed
- Comment: Glad to help!
Ticket #11204 - Assign new hook to a module
Hello.
On the theme setting (on Homepage), i want to add “Xipblog” on the hook “content_bttom”. I search on “Apparance” “Position” but i found nothing about the hook “content_bottom” If you can help me.
Thanks
Comments
Hi, Thibaut.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP and I’ll do that for you
Hello. For the moment my project is on localhost :/
Is it possible for you to reset the module?
Outch.. i make a lot of modification. Its not easy to asign a new hook to this module ?
for some reason this hook is not visible in prestashop back office.
You can do the following:
Open the file modules/xipblog/xipblog.php
Find the line 1094 - $id_lang = (int)$this→context→language→id;
and put before the line:
So, i put this line on the file but the module is still on Hook: displayHome and not on the content_bottom.
it must be there.
Did you check that in the “Design” > “positions”?
Ok its work but not totaly.
Now, i see the Xip module on the hook content_bottom on my page Homepage settings. But when i activate this module on this hook, is still on the same position.
I want to put this module on the bottom of the page :/
Picture 2 (you see, the text is under the blog module and on my setting is the opposite)
Have you tried to clear prestashop cache?
Yes. Its the same :/
I check on the source code and the xip module is still on the class=”hook-displayHome” and not on the class=”hook-content_bottom”
I can only offer you to help when your website will be online. it’s really hard to help you working on ocalhost