How create module , view, templates....

How create module , view, templates....

Friday 23 May 2008 1:39:59 am - 1 reply

Author Message

Maxime Thomas

Sunday 25 May 2008 11:25:49 pm

Hi Anne,

Some tips :

There are two kinds of links in eZ :
- system links : refering to a module, a function and sometimes parameters.
- virtual links : refering to a content, they are more human friendly and SEO friendly.

I let yyou refer to the documentation :
http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/url_translation

Your link is not right : you can only make urls to three types of links in your href :
- external links :

http://www.google.com

- content links (you know the node id or the node url alias) :

{$node.url_alias|ezurl('no')}

- system links (you know the module, the funtcion and the parameters) :

{'/content/advancedsearch'|ezurl('no')}

Second thing :
Try to read carefully the documentation, specially the concept and basics section :
http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics

I guess that you want to override the common advancedsearch template, try this :
http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_template_override_system/template_override_example

Il faut faire preuve d'acharnement parfois !

Welcome to eZ comunnity !

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.