Hello
I followed the Nidzo guide to display AddToAny button on product view
I create template override of com_phocacart>item
I have used loadmoduleid and the plugin module anywhere code in default.php but no result
Any idea?
Plugins published
Module published and display on all pages/ no position
loadmoduleid and AddToAny button don't work !
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: loadmoduleid and AddToAny button don't work !
Do you have Ad Blocker in yout browser? Ad Blockers don't like AddToAny.
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: loadmoduleid and AddToAny button don't work !
No I don't have it !
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: loadmoduleid and AddToAny button don't work !
[Imgur](https://imgur.com/jOtLwmH)
[Imgur](https://imgur.com/jEV8N9c)
Same result with Module anywhere
[Imgur](https://imgur.com/jEV8N9c)
Same result with Module anywhere
-
- Phoca Professional
- Posts: 189
- Joined: 12 Feb 2015, 13:30
Re: loadmoduleid and AddToAny button don't work !
You need to use it with content.prepare in php:
echo HTMLHelper::_('content.prepare', '{loadposition myposition}');
Or HTMLHelper::_('content.prepare', '{loadmoduleid 127}'); in your case...
echo HTMLHelper::_('content.prepare', '{loadposition myposition}');
Or HTMLHelper::_('content.prepare', '{loadmoduleid 127}'); in your case...
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: loadmoduleid and AddToAny button don't work !
That doesn't work either ! I have only the module title
One thing is clear, it is not at the plugin level but at the module level because I tried to display another module without problem
One thing is clear, it is not at the plugin level but at the module level because I tried to display another module without problem
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: loadmoduleid and AddToAny button don't work !
Perhaps another plugin or module to recommend to me?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: loadmoduleid and AddToAny button don't work !
Hi, the question is what exactly do you want to achieve?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 14 Feb 2024, 14:20
Re: loadmoduleid and AddToAny button don't work !
What can be done with AddToAny buttons, share the products to social or whatsapp...
I haven't yet installed anything like a component or plugin that could create a conflict. I am at the beginning of my catalog, I only have one category, one product.
I haven't yet installed anything like a component or plugin that could create a conflict. I am at the beginning of my catalog, I only have one category, one product.
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: loadmoduleid and AddToAny button don't work !
I don't fully understand this:
"That doesn't work either ! I have only the module title"
Each module has ID.
Jan
"That doesn't work either ! I have only the module title"
Each module has ID.
Jan
If you find Phoca extensions useful, please support the project