PDF button doesn´t export any content

More
12 years 2 weeks ago #24433 by Jgabrielb
Hello, I´m working on a CMS database for schools, I´ve created a special type and assigned more than 150 items to it (such as Name of Institution, Direction,Telephone,Year of fundation,Name of Directors,Levels,Photos of the school, etc).

Everything works fine, except for the PDF button.
It opens the pdf reader, but with no content at all, it only shows the title (name of the school) and the title "Description".

I´ve also been trying with another pdf plugins, such as Phoca PDF ( www.phoca.cz/phocapdf-plugins ) and read other post in this forum about the activation of special plugins in flexicontent ( flexicontent.org/phpbb/viewtopic.php?f=20&t=905 ), but i didn´t manage to trigger any of these pdf plugins on Flexicontent.

The native Pdf button and the PhocaPdf button tested in an article outside flexicontent worked fine, its parameters are something like this:
view=article&id=9%3Atest&format=pdf&option=com_content&Itemid=6

And using phocapdf:
view=article&id=9%3Atest&format=phocapdf&option=com_content&Itemid=6

But inside Flexi, it doesnt matter wich pdf plugin I used, the pdf button sends no content at all to the pdf viewer.Below is an example of the parameters of the button:
view=items&cid=1%3Ainicial&id=1%3Aaequalis&format=pdf&option=com_flexicontent&Itemid=3


I will appreciate if you help me to find any solution for showing all of the content of the school sheet in PDF, either using the native pdf button or a the Phoca pdf plugin.

Thank You

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #24446 by igcorreia
That is a limitation in FC. FC does not export EXTRA FIELDS in PDf.

Check this post:
www.flexicontent.org/forum/index.php?f=33&t=4443&rb_v=viewtopic

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #24473 by kenmcd
.
FLEXIcontent version?
Joomla version?

Joomla does not fire plug-ins in the PDF view (or RSS view).
FLEXIcontent fields are Joomla plug-ins.
So they will not appear in a PDF or RSS feed.

For Joomla 1.5 there is a plug-in which helps work around this issue.
PDF Preprocessor (P)
extensions.joomla.org/extensions/directo...on/print-a-pdf/11818
But I took a quick look at this plug-in and it appears it restricts itself to com_content.
It may be possible to modify that plug-in so it works with FLEXIcontent.

Phoca PDF requires plug-ins for the specific component.
Currently they only have plug-ins for com_content and VirtueMart.
You would need to make a FLEXIcontent plug-in for it to work.
And I do not know if it fires plug-ins in the content.

Joomla 2.5 has removed all support for PDF.
The PDF class in the core is gone.
So the only way to output to PDF is a plug-in or the 3rd-party component must have it's own PDF view.

It has been discussed in the past about having a PDF view in FLEXIcontent.
This could support the field plug-ins and work in J2.5.

This is something you may want to post in the Feature Requests forum.

.

Please Log in or Create an account to join the conversation.

More
12 years 1 week ago #24560 by Jgabrielb
Thank you both for your answers

Jooma 1.5.26 with FlexiContent 1.5.4 stable

I will check the PDF Preprocessor plugin if there is a possibility to make it work with addittional fields.

Also I will post this issue in Feature Requests forum.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.265 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline