Forums / Setup & design / Custom view principles question

Custom view principles question

Author Message

H-Works Agency

Friday 03 June 2005 11:24:39 am

I have a question i can't solve about de "custom view" system.

Say i have a section called "Artist => Porfolio => Fashion".

In one hand, i made an override template to make this part viewable in the web browser. This will be accessed through "site.com/artist/porfolio/fashion".

In the other hand i need to make a custom view of this part to be able to return its content in xml (to be readable in a clean .swf file).

This is where my problem is. How can i make such a view ?

EZP is Great

Ɓukasz Serwatka

Monday 06 June 2005 12:27:53 am

Hi Martin,

I think that you can use "layout" module to solve your problem. You can define in layout.ini.append.php new view and in template create xml output. You will have to set right MIME header in /kernel/layout/set.php.

Hope I will help you.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog