[Solution] Sitemap with classdepending Icons

Author Message

Ekkehard Dörre

Friday 16 May 2003 7:28:39 am

Open design/standard/templates/node/view/sitemap.tpl

Look line 67
<img src={"class_2.png"|ezimage} alt="Folder" border="0">
replace with
<img src={concat("class_",$Tree:item.object.contentclass_id,".png")|ezimage} alt="{$Tree:item.object.class_name|wash}" border="0">

Create new Icons and put them into design/standard/images
class_1.png (class 1 = folder) and class_2.png (class 2 = article) is there.
... and please upload them to the contribution folder:
http://ez.no/developer/ez_publish_3/contributions

That's it, and don't forget to clean the cache ;-)

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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