Share » Forums » Setup & design » Custom node view and nice url

Custom node view and nice url

Custom node view and nice url

Monday 01 October 2007 1:41:32 am - 2 replies

Author Message

Łukasz Serwatka

Monday 01 October 2007 2:45:00 am

{$node.url_alias} hold "nice url" for current node.

If you know node ID you can use URL manager (Setup tab) and assign new URL to it.

/content/view/full/NodeID -> /my_custom_nice_url

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

laurent le cadet

Monday 01 October 2007 3:08:02 am

Łukasz,

The problem is I can use the URL manager as there is actually about 1500 objects and there will be more created by users in frontoffice.

The parent_node is Company and children are Products,News...

I want to render the company_products list or company_news list in a different maner regarding the user is the owner or not.

For that I have links in full/company.tpl pointing to the custom views to toggle between the different views:

Products list | News list

That's why I'm dealing with custom node view.
For non-owners, children will be render in regular view line (i.e).

Is that clear enough.

Laurent

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu