Share » Forums » Suggestions » "Redirect to main_node" settings

"Redirect to main_node" settings

"Redirect to main_node" settings

Thursday 31 August 2006 7:08:50 am - 2 replies

Author Message

Matthew Carroll

Tuesday 21 November 2006 9:20:36 pm

Very good idea. This functionality should be fairly easy to accomplish by checking the current url within the template level and using the Redirect Operators extension to redirect from system to virtual url if necessary:

http://ez.no/community/contribs/template_plugins/redirect_operators

I agree it would be a nice option to have as an ini setting (and this would be a more appropriate place for it than a template hack.) Perhaps you could post this as a feature request on http://issues.ez.no

Matthew

http://carroll.org.uk

Xavier Dutoit

Wednesday 22 November 2006 1:09:45 am

Hi,

You can also "hide" the fact that you have a page in several locations.

On my view line.tpl I often do a

{$node.object.main_node.url_alias}

instead of the

{$node.url_alias}

So when I list the children on a page, the link goes to the main location of any child.

Works quite ok.

X+

http://www.sydesy.com

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

36 542 Users on board!

Forums menu