Forums / Setup & design / Do not convert node title into friendly links ?

Do not convert node title into friendly links ?

Author Message

Benj Duval

Tuesday 21 March 2006 5:58:41 pm

Hi,
by default my ez publish 3.7.4 converts system urls in virtual urls so for example the system will display /directory/companies/this_is_the_name_of_the_company

I like the system converting containing directory to friendly urls, but I don't like it converting individual nodes, because titles can be very long and ugly.

Is there a way to keep the containers as virtual friendly urls but the nodes as id such is /1 ?

Thanks,
Benj

Antoine Schmid

Tuesday 21 March 2006 11:34:19 pm

Hi,

In your objects, add an attribute 'short_name' and put in the object name pattern : <short_name|name>

This is available within the folders but you can have it for every objects you made.

A.

Sonia Mahendra

Wednesday 25 April 2007 3:38:23 am

Hi Benj,

How did you solve this problem?

I'm having the same trouble, as i don't want the system to convert individual nodes, but use the id instead.

Is there any way i can do this?

Thanks in advance,
Sonia.

http://mzbusiness.com

Nabil Alimi

Wednesday 25 April 2007 5:54:49 am

Hi Sonia,

Maybe the <b>content/view/full/<node_id> </b> can solve your problem ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr