Tuesday 19 April 2005 7:20:31 am
Hi, Firstly, I'm quite new to eZ publish, but so far I've been really impressed. Well in eZ crew! One feature I'm a bit worried about is the url_alias. It is great to have friendly urls but: * content editors might, for example, need to tweak the name of an article after it has been published - this will change the url and therefore break any links to the article from external sites (unless someone manually puts in some virtual url forwarding) * some article names might be very long. This leads to fairly ugly and difficult to type urls. Because of this I'm wondering about modifying existing classes so that they have an additional Text Line attribute along the lines of 'Title' which could hold the human readable title of an object, and use that attribute in content views, and reserve the Name attribute for the generation of urls. Content editors could then be allowed to change the title as needs be without changing the url, and they could also choose a sensible abbreviation of the title for use as the name and therefore in the url. I'm aware this means rewriting some template code, replacing in Content Views:
{$node.name}
with
{$node.data_map.title.content}
What do people think? Would I be setting myself up for a fall later down the line? Thanks for feedback / opinions David
|