Hi all,
is here someone, who can give me a hint, to get a plugin code workable in picture detail view? I try to use simplecaddy with Phoca, but "add to cart" is only working in category view. in detail view I only see the text: "{simplecaddy code=10001 picname=xxx.JPG classsfx=-ww}"
Thanks a lot.
Marcel
Execute Plugin in detail View?
- Jan
- Phoca Hero
- Posts: 47810
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Execute Plugin in detail View?
Hi, first of all, which version of Phoca Gallery do you use? Which detail view do you use? (iframe or image method)? Where do you want to display the plugin code?
https://www.phoca.cz/documents/2-phoca-g ... ntegration
Description below the image in detail window displays the plugin code too.
Jan
https://www.phoca.cz/documents/2-phoca-g ... ntegration
Description below the image in detail window displays the plugin code too.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 79
- Joined: 22 Apr 2016, 12:03
Re: Execute Plugin in detail View?
Hi Jan,
thanks for reply. Sorry that I´m so late, but I don´t got a notification email for new answer.
What do you mean with Iframe or image? Sorry, that I don´t know. At the moment I use Highslide JS (pictures only) because plugin code in detail view doesn´t work at all detail views in my case. Like here:
In your examples I can´t find a detail view with comments and plugin? I use Phoca Gallery 4.3.0.
Best regards
Marcel
thanks for reply. Sorry that I´m so late, but I don´t got a notification email for new answer.
What do you mean with Iframe or image? Sorry, that I don´t know. At the moment I use Highslide JS (pictures only) because plugin code in detail view doesn´t work at all detail views in my case. Like here:
In your examples I can´t find a detail view with comments and plugin? I use Phoca Gallery 4.3.0.
Best regards
Marcel
-
- Phoca Enthusiast
- Posts: 79
- Joined: 22 Apr 2016, 12:03
Re: Execute Plugin in detail View?
The category view is working fine:
Marcel
Marcel
- Jan
- Phoca Hero
- Posts: 47810
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Execute Plugin in detail View?
Hi, see the difference between iframe and image:
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)
if you run iframe method, there the description or other parts of html can be rendered, when you run image method, then it is limited to the features of the current javascript popup library (some can display description, some not - mostly at text only not as html). So e.g. commenting in detail window is only possible when iframe method is used.
Jan
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)
if you run iframe method, there the description or other parts of html can be rendered, when you run image method, then it is limited to the features of the current javascript popup library (some can display description, some not - mostly at text only not as html). So e.g. commenting in detail window is only possible when iframe method is used.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 79
- Joined: 22 Apr 2016, 12:03
Re: Execute Plugin in detail View?
Hi Jan,
but screenshot was from IFrame method (Highslide JS)? Or I don´t understand your answer. Sorry...
Marcel
but screenshot was from IFrame method (Highslide JS)? Or I don´t understand your answer. Sorry...
Marcel
- Jan
- Phoca Hero
- Posts: 47810
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Execute Plugin in detail View?
Hi, which version of Phoca Gallery do you run? The detail window:
components\com_phocagallery\views\detail\tmpl\default.php
includes description part which allows to run plugin codes:
JHtml::_('content.prepare', $titleDesc . $this->item->description, 'com_phocagallery.item')
Is the plugin active and published? Is it set in description of detail window?
Jan
components\com_phocagallery\views\detail\tmpl\default.php
includes description part which allows to run plugin codes:
JHtml::_('content.prepare', $titleDesc . $this->item->description, 'com_phocagallery.item')
Is the plugin active and published? Is it set in description of detail window?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 79
- Joined: 22 Apr 2016, 12:03
Re: Execute Plugin in detail View?
4.3.0Jan wrote:Hi, which version of Phoca Gallery do you run?
?? Therefor Modal Box and Highslide JS should work?Jan wrote:The detail window:
components\com_phocagallery\views\detail\tmpl\default.php
includes description part which allows to run plugin codes:
JHtml::_('content.prepare', $titleDesc . $this->item->description, 'com_phocagallery.item')
Yes, as you see in my second screenshot, is it working fine in the overview.Jan wrote: Is the plugin active and published? Is it set in description of detail window?
Jan
Sorry, but I´m new with joomla and Phoca and doesn´t know so much.
Marcel
- Jan
- Phoca Hero
- Posts: 47810
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Execute Plugin in detail View?
What is the format of the plugin, does it include some breaks (is the plugin displayed on more rows - I don't mean in frontend, but in the editor)?
What if you update to version 4.3.1?
Jan
What if you update to version 4.3.1?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 79
- Joined: 22 Apr 2016, 12:03
Re: Execute Plugin in detail View?
Hi Jan,
I start trying today with update to 4.3.1 But It still doesn´t work.
it is the normal simplecaddy plugin with no breaks within the code. The same code (on the same picture) is working in overview and don´t work in detail view. I try with all detail versions. The popup and no popup doesn´t work, too.
Marcel
I start trying today with update to 4.3.1 But It still doesn´t work.
it is the normal simplecaddy plugin with no breaks within the code. The same code (on the same picture) is working in overview and don´t work in detail view. I try with all detail versions. The popup and no popup doesn´t work, too.
Marcel