Thanks a lot for your help and your rapidity.

Finally I use url alias, and I uncheck the bouton radio : "The url alias
should redirect to his destination".
Because for the moment I have only three nodes where I have this problem.

Romain.

2011/3/2 Olivier Portier <[email protected]>

> Hi Romain,
>
> > Romain Bremaud wrote:
> >> Hello everybody,
> >>
> >> I have a little problem.
> >>
> >> When I pass an url like that :
> >>
> >> http://my_site/index.php/plain_site/News
> >>
> >> EZpublish use the content/view/full/142
> >>
> >> But I would like to use the line view when I use this url :
> http://my_site/index.php/plain_site/News
> >>
> >> If I use http://my_site/index.php/plain_site/content/view/line/142 it's
> work
> >>
> >> But I want to keep a clean url.
> >>
> >>
> >> I try to use the url alias but whitout success.
> >>
> >> Any idea ?
>
> What about a simple override rule ?
>
> [full_news_line]
> Source=node/view/full.tpl
> MatchFile=node/view/line.tpl
> Subdir=templates
> Match[url_alias]=News
>
> or
> [full_news_line]
> Source=node/view/full.tpl
> MatchFile=node/view/line.tpl
> Subdir=templates
> Match[node]=142
>
> The line template should be located in the override/templates/node/view/
> directory. In this line.tpl template you can make a simple include of the
> standard node/view/line.tpl from your design or duplicate the template code.
>
> But be careful with url_alias or node override conditions, they are very
> complicated to maintain on multiple servers.
>
> Regards
> Olivier
> --
> Sdk-public mailing list
> [email protected]
> http://lists.ez.no/mailman/listinfo/sdk-public
>



-- 
Les Clefs du Net
Organisme de formation dédié au Multimédia / Centre de productions
numériques
Notre site : *www.les-clefs-du-net.com*
Les Clefs du Net sont aussi sur *FaceBook
<http://www.facebook.com/profile.php?id=1550512724#%21/pages/La-Roche-Sur-Yon-France/Les-Clefs-du-Net/103729023003805?ref=sgm>
*et *Twitter <http://twitter.com/lesclefsdunet>*
-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to