Forums / Setup & design / Adding a link in pagelayout

Adding a link in pagelayout

Author Message

Pascal France

Sunday 12 February 2006 5:11:34 am

Hi,

I have an image in

RootDocument/Mes_images/firefox1.png

and I would like to insert it on the right of my site logo.
In pagelayout.tpl I've added the line 59:

     58 {/cache-block}
     59 <a class="firefox" href="http://frenchmozilla.sourceforge.net/firefox/" alt="Téléchargez Firefox"><img src="../../Mes_images/firefox1.png"></a>
     60
     61     {section show=ezini('Toolbar_top','Tool','toolbar.ini')|count}

But each time I display another page, the path of the image is no more good.

Is there someone who could show me the right syntaxe I have to use ?

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

André R.

Sunday 12 February 2006 8:56:32 am

alt 1:
use absolute src path like http://www.mydomain.com/some_path/my_img.gif

alt 2:
Upload this image to your design/images directory and let ez set the path.
Se the TSCM step-by-steb guide for a introduction to change your design
http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/building_an_ez_publish_site/prerequisits

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom