Hi, I have written it to feature request list to take a look at it. It is not so easy, becasue the content in managed in one content plugin:
onBeforeDisplayPDFContent
So I need to tost if the loops is even possible - Managing the event in onBeforeDisplayPDFContent to read the article conent and then have another event for system plugin inside content event
Jan
Content no show in PDF with Article Anywhere (Regular Labs)
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Content no show in PDF with Article Anywhere (Regular Labs)
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 21 Jun 2018, 10:10
Re: Content no show in PDF with Article Anywhere (Regular Labs)
Hi Jan,
I think I understand your idea. It might be a solution.
If you've written the code, I'd like to test a fix for PhocaPDF on a trial installation.
Can I help you anyway somehow?
Should I pass your idea to RegularLabs, what do they mean?
Steffen
I think I understand your idea. It might be a solution.
If you've written the code, I'd like to test a fix for PhocaPDF on a trial installation.
Can I help you anyway somehow?
Should I pass your idea to RegularLabs, what do they mean?
Steffen
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Content no show in PDF with Article Anywhere (Regular Labs)
Hi,
the code changed by system plugin can be set for some variable e.g. this way:
But unfortunately, there are two much variables I don't know:
- the system name of the plugin
- the event name which can change the text
- the parameters of the event (if it is set as reference, etc.)
The next problem is, I think is is much more a request on specific modification than core feature (because it handles specific plugin only )
Jan
the code changed by system plugin can be set for some variable e.g. this way:
Code: Select all
JPluginHelper::importPlugin( 'system' );
$dispatcher = JEventDispatcher::getInstance();
JPluginHelper::importPlugin('plgSystemNameOfThePlugin');
$dispatcher->trigger('onNameOfTheEvent', array(&$text));
- the system name of the plugin
- the event name which can change the text
- the parameters of the event (if it is set as reference, etc.)
The next problem is, I think is is much more a request on specific modification than core feature (because it handles specific plugin only )
Jan
If you find Phoca extensions useful, please support the project