Forums / Setup & design / An override question

An override question

Author Message

Kristoffer Karlsson

Tuesday 26 June 2007 1:52:08 am

If I create an override template for full.tpl, I get to select which class, section and/or node it will override.

But if I want to create an override for vertically_listed_sub_items.tpl I do not get to select anything. How do I do to create an override template for a specific class, for example vertically_listed_articles or vertically_listed_products?

_____________________________________
Blog: http://www.kristofferkarlsson.com
Website: http://www.spelkanalen.com

André R.

Tuesday 26 June 2007 2:29:11 am

The Vertical listed sub items is a override in it self:

[vertically_listed_sub_items]
Source=content/view/embed.tpl
MatchFile=embed/vertically_listed_sub_items.tpl
Subdir=templates
Match[classification]=vertically_listed_sub_items

I was also about to give a link to the override conditions, but seems like content/view is missing..
http://ez.no/doc/ez_publish/technical_manual/3_9/reference/template_override_conditions

So I have sent a message to the doc team about it.

But if you want to override the template always (for all classes and so on)
You can place a copy of it in your own design (design extension) with a design name that has higher priority then ezwebin.
in your siteaccess's site.ini:

[DesignSettings]
SiteDesign=my_design
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base

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

Svitlana Shatokhina

Monday 02 July 2007 8:18:11 am

Hi,

The missing documentation is now added here:
http://ez.no/doc/ez_publish/technical_manual/3_9/reference/template_override_conditions/content_view_tpl

Best regards!
Sveta