eZ Community » Forums » Developer » help
expandshrink

help

help

Friday 14 January 2011 11:56:11 am - 3 replies

How to generate a pdf and excel with a button ?????

Friday 14 January 2011 12:07:40 pm

Hi.

Honestly, we don't even know where to start when it comes to answering that. From what kind of content source ? Both formats with one button ? As a downloadable zip ?

And please, use something more verbose than 'help' as your question's topic ! blunk.gif Emoticon

Friday 14 January 2011 12:30:44 pm

not 1 but 2 button, one for PDF and one for excel.

Friday 14 January 2011 10:35:55 pm

Hello Carlos

For export to PDF, I invite you to use the extension http://projects.ez.no/paradoxpdf.

And for export to Excel, i think creating an layout is good for this. To do it add this code to configuration file layout.ini :

[excel]
PageLayout=excel_pagelayout.tpl
ContentType=application/excel

In template excel_pagelayout.tpl, create the excel's table, exactly like an HTML table.

Finally, for the button/link you use "/layout/set/excel/[url alias of node]".

hope it's help !

TKS,

Modified on Friday 14 January 2011 10:36:54 pm by Abdelkader RHOUATI

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from