Share » Forums » General » problem of url rewriting // view in url

problem of url rewriting // view in url

problem of url rewriting // view in url

Wednesday 02 March 2011 1:09:31 am - 2 replies

Author Message

Franck Magnan

Wednesday 02 March 2011 2:38:50 am

Hello Romain,

when you call http://my_site/index.php/plain_site/News url, eZ Publish call node/view/full.tpl template file. You can override it (by override.ini configuration or by editing template file in your design) to call the line view for the current node.

For example, in your template file, you need a command like this one:

{node_view_gui content_node=$node view = 'line'}

--
Developer at Open Wide

Romain Bremaud

Wednesday 02 March 2011 2:46:51 am

Thanks Franck for your help.

I used url alias for resolve my problem. I do that because I want to keep the full and line view for the node.

I create an alias :

url alias : /news-line

destination : /content/view/line/213

and I uncheck : alias should redirect to his destination.

Romain

Romain Bremaud
Les clefs du net

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

36 542 Users on board!

Forums menu