I just got around to using that snippet and it works like a charm. Thanks a ton for creating it. Very very handy.
Just gotta put it in the [! !] brackets, not the [[ ]].
Hi Boris,
The best way to do this is just to have a regular document as the parent, and put Jason’s snippet in the content. That’s it!
I’ve taken to calling Jason’s snippet FirstChildRedirect, and have attached a very slightly modified version of the snippet to this post. This method seems to be better than using links (and hacking the DropMenu snippet) in my experience. (After having done both a few times, it’s just easier to use the snippet with regular documents, rather than weblinks. Documents are more felxible, can have TVs attached so you can set up nice @INHERIT stuff, etc.)
Just make sure you call the snippet uncached, so [!FirstChildRedirect!] rather than [[FirstChildRedirect]].
Best,
Brett
That snippet really helped me!! But how to make it impossible for the other users (I’m the admin) to modify that document then?? I tried to put the document in a dummy group, but when I logged out from the manager and tried to load that page, I got all my TVs, snippets and chunks printed on a white screen, without any parsing and formatting...
I thought about using a TV with a true/false option to set up the redirection... I think it should be added to the core and as a directory option that you just have to check
bye
Blaise
Blaise Bernier
www.medialdesign.com - Solutions for small business, hosting, design and more!