Setting a default sub-node for a node to select

Author Message

Philipp Simon

Sunday 18 June 2006 3:00:37 am

Hi all,

just have a problem and can't find anything. But this should be done already:

My menu:

Home (root)
- Home (link)
- Service (folder)
- - Service 1 (article)
- - Service 2 (article)
- - Service 3 (article)

In the top navigation I have Home and Service. Clicking on Service should directly load the first sub-item, so Service 1. (So no own content) Unfortunately I don't find any config in the admin panel. Is there any INI setting for this?

Thanks a lot!

Phil

Philipp Simon

Tuesday 20 June 2006 2:00:40 am

Has nobody done this before? Please, give me a hint.

Phil

Hakim Bouras

Tuesday 20 June 2006 2:33:01 am

URL Translation might be an easy solution if it is only for your top navigation.

You can set it from the admin interface, in the setup panel.

Hakim

Philipp Simon

Tuesday 20 June 2006 1:54:55 pm

I already tried this, but this means to overwrite the default alias, which seems to be not working. I tried:

folder alias: /service
my url translation try: /service -> /service/service1

Is it possible to give own alias a higher priority than ezPublish default owns?

Phil

Philipp Simon

Wednesday 21 June 2006 1:16:14 am

Ok after taking a look at the ezPublish internals, I changed:

ORDER BY forward_to_id ASC

to

ORDER BY forward_to_id DESC

. So redirects will be preferred to internal links. Is this the right way to go?

Phil

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.