Forums / Developer / Export CSV ou EXCEL / Comment50174

Author Topic

Nicolas Lescure

Wednesday 24 September 2008 12:42:23 pm

Comment50174

Hi,

I can see this in the layout.ini :

# Consists of groups which are the layout name
# A layout group can have the followin variables
# - PageLayout  - Uses a different pagelayout for this page
# - ContentType - Sets 'Content-Type' for layout module output
#                 example: ContentType=text/xml

So, you shoud try this :

[excel]
PageLayout=excel_pagelayout.tpl
ContentType=application/vnd.ms-excel