Forums / Developer / more control over "Object name pattern"

more control over "Object name pattern"

Author Message

Matthew Knight

Thursday 30 October 2008 9:15:37 am

is there a way of controlling the object name pattern with more than just defining which strings it uses, ie. <pagetitle|strtolower|substr(5)> or similar?

André R.

Thursday 30 October 2008 1:18:59 pm

The object name pattern is a pattern not a programming interface, so no.
There are enhancements request for it, but not anywhere close to do stuff like this.

So i think it is better to identify why you are asking for this.
Is it the urls? Use the url transformation system (3.10 and higher)
Is it the titles in the views / menus / paths? override the templates or use css.
Do you want to limit object name? Use short titles in your classes and limit the input, and make it required if you want to.

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

Piotrek Karaś

Tuesday 18 November 2008 8:59:24 pm

Andre,

Your questions gave me a though, but I put it here:
http://ez.no/developer/forum/suggestions/object_name_pattern_like_custom_values

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu