Tuesday 14 September 2010 3:34:35 pm
Hi all, When using ezoe's link-create/edit GUI, I'd like to be able to have a link created that uses an object's custom URL alias. Currently in ezoe, you can link to a node_id, object_id, http, https etc but there's no way to choose which virtual URL will be used for the link. Here's an example of what I mean: Say I have an article content-object: node_id = 7116, short_title = 'my page'. It normally exists at: 2/183/7116 (Main/Folder1/my-page). I then add an additional location to the object: eZ generates a new node_id and the clone's location is at: 2/184/7117 (Main/Folder2/my-page). Now I create a custom alias for Main/Folder2/my-page: Main/Folder2/your-page, and would like to link to this object but using the alias as the url. At the moment when I save/preview the article, the link has actually been created using the original object's short_title not the clone's alias. Is there a way for ezoe to check if an alias exists for an object being linked-to in the popup dialogue, and prompt the user for which URL they would like to be used? I hope this makes sense, or there might be an alternative solution that I haven't seen yet. At the moment, the only use for additional aliases is when linking in template overrides, but not for standard linking from ezoe, without needing to write any code.
Thanks a lot. Russ
Russell Michell, Wellington, New Zealand.
We're building! http://www.theruss.com/blog/
I'm on Twitter: http://twitter.com/therussdotcom
Believe nothing, consider everything.
|