I figured out why my url_aliases is in the form of node_**/node_**.
eZ publish when creating folders relies on the Short Name of the node to create the url_alias. Well the site that I am working on uses Arabic lettering in the short name which can't be used in the url. I tried to change all the short names to English but all the folder appears in the site as english letter which will not please my customer.
Now, how can I make eZ use the name field to create the url_alias or any other solution will be appreciated.
figured out why ez is using short_name for generating the url_alias: Object name pattern
Now, how can I solve this problem. My client does not like his links to be as node_45/node_55/node_56 in the same time he does not like his content to appear in english what should I do?
how can I make ez use the name of the a folder instead of the short name without changing the Object name pattern of the class?
you can modify object name Pattern to <name> instead off <short_name|name>
another Possibility is to make a copy of <b>folder class</b> setting only <i>object name pattern</i> to <name> instead of using folder, class, you will use this new class.
You are right however, the problem now is that automatic url translation depends on the objects names which are in Arabic so the url_alias will not have the object name. Automatic url translation when it sees that the object name is not 0-9 and A-Z, it will use node_{$node.node_id} to generate the url_alias. Therefore, a three level node url_alias will be as:
node_xx/node_xx/node_xx
You must be logged in to post messages in this topic!