It would be really nice if it could be used as a custom source in the YOOtheme Pro page builder, so we could place it inside built-in layouts like galleries, grids, or lists and fully control the layout from the builder.
Phoca Image Fields Plugin
-
keep2000
- Phoca Enthusiast

- Posts: 93
- Joined: 14 Nov 2022, 12:04
Re: Phoca Image Fields Plugin
Hello, great plugin — thanks for the work! 
It would be really nice if it could be used as a custom source in the YOOtheme Pro page builder, so we could place it inside built-in layouts like galleries, grids, or lists and fully control the layout from the builder.
It would be really nice if it could be used as a custom source in the YOOtheme Pro page builder, so we could place it inside built-in layouts like galleries, grids, or lists and fully control the layout from the builder.
- Jan
- Phoca Hero

- Posts: 49598
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Image Fields Plugin
Hi, unfortunately I am not user of YOOtheme PRO and don't the the PRO so this should be a question on someone familiar with YOOtheme Pro 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Plam
- Phoca Newbie

- Posts: 2
- Joined: 04 Jul 2026, 11:41
Re: Phoca Image Fields Plugin
Hi! Is it possible to use the Phoca Image Fields Plugin with the Joomla Custom Field option "Do not automatically display" and manually insert the field code at the desired location within the article content?
Currently, the gallery can only be displayed before or after the article content.
Currently, the gallery can only be displayed before or after the article content.
- Jan
- Phoca Hero

- Posts: 49598
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Image Fields Plugin
Hi, it is possible since version 6.0.4:
https://www.phoca.cz/download/78-phoca- ... lds-plugin
https://www.phoca.cz/download/78-phoca- ... lds-plugin
If you find Phoca extensions useful, please support the project
-
Plam
- Phoca Newbie

- Posts: 2
- Joined: 04 Jul 2026, 11:41
Re: Phoca Image Fields Plugin
Thank you! You are amazing!
- Jan
- Phoca Hero

- Posts: 49598
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
AlainR
- Phoca Enthusiast

- Posts: 84
- Joined: 24 Jul 2018, 16:33
Re: Phoca Image Fields Plugin
I try to use this plugin as a field in the DPCalendar component.
The emplacement after or before content doesn't work. I only can display it after title or no display and call the field with {field 31}.
Then I see that the file plugins/fields/phocaimage/src/Extension/Phocaimage.php only works with articles and all code is in onContentBeforeDisplay function (no code in onContentAfterDisplay function).
Do you project to develop the onContentAfterDisplay function?
Because I can see your plugin works with DPCalendar if I add
in
The emplacement after or before content doesn't work. I only can display it after title or no display and call the field with {field 31}.
Then I see that the file plugins/fields/phocaimage/src/Extension/Phocaimage.php only works with articles and all code is in onContentBeforeDisplay function (no code in onContentAfterDisplay function).
Do you project to develop the onContentAfterDisplay function?
Because I can see your plugin works with DPCalendar if I add
Code: Select all
$context = $event->getArgument('context');
$item = $event->getArgument('item');
$result = $this->renderPositionedGallery($context, $item, '3');
if ($result !== '') {
$event->addResult($result);
}Code: Select all
public function onContentAfterDisplay(EventInterface $event)
{
// Currently handled in beforeDisplay to control exact position relative to text body
}