Using PDL button with articles in modules

Phoca Download - download manager
tapiochre
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 15 Jul 2011, 15:02

Using PDL button with articles in modules

Post by tapiochre »

Hi Jan

One thing I have tried to do but failed to achieve was to use the PDL Button feature to:

1. Add a download file to an Article such as {phocadownload view=file|id=5|text=test|target=s}
2. Use that article within a module (say using NoNumber's very clever Modules Anywhere plugin or VTEM's Accordion module).

When I add the PDL link {phocadownload view=file|id=5|text=test|target=s} into the article then push the article into a module, then the resulting page displays the {phocadownload view=file|id=5|text=test|target=s} code rather than rendering it to show the correct file view.

Does this make sense Jan and is it a Phoca thing or a 3rd/4th party problem?

Hope you can help!

Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Using PDL button with articles in modules

Post by Jan »

Hi, this is not a Phoca thing :-( ... The plugin is standard content plugin (with standard coding for Joomla! content), so if it works in content, everything is Ok there. I don't know any limitation there so cannot say exactly what can be wrong but try to test if the module surely reads the content plugins. :idea:

Jan
If you find Phoca extensions useful, please support the project
tapiochre
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 15 Jul 2011, 15:02

Re: Using PDL button with articles in modules

Post by tapiochre »

Jan,

I have found out where I was making the error. In the Module that is carrying the article, I have to enable the "Prepare Content" option. With that setto yes, the PDL feature is working nicely.

Problem solved!
C
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Using PDL button with articles in modules

Post by Jan »

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply