News (and other non dmHTML content) can have a default location set for it relatively easily by changing the value of request.navid at the top of the display template.

request.navid is the UUID of the current navigation node. If none is specified ie. a standard news object, you end up with application.navid.home (the default home node).

Try this:
- choose a navigation folder (sometimes called node or dmnavigation obj)
- open advanced editing options and add a navigation alias of "news"
- add the following line of code near the top of your news display template


<cfparam name="application.navid.news" default="application.navid.home">
<cfset request.navid=application.navid.news>

(note the param is there just as a precaution in case you delete the news node or forget to add it)

This is a simple mechanism that will provide a new navigation location for news content using this template. That is *ALL* news content will use this location. You can certainly get around this too... but that's a lesson for another day.

-- geoff
http://www.daemon.com.au/

Gary Menzel wrote:
As far as I have been able to work out - not without writing a bunch
of Cold Fusion code to know which node you selected the News item from
(and even then I simply decided that it wasn't worth the trouble).

News items all live under the "home" node.

Regards,
Gary



On Sun, 12 Dec 2004 19:47:25 +1100, Evan <[EMAIL PROTECTED]> wrote:

alright, this one is definately a far cry related issue.

I managed my catagories and created a support catagory.
Under the support catagory as a test I put a news item about the
implementation of farcry.

Now, in my site, I also have a Support Navigation.  Under the support
navigation, there is an HTML page with support related news along the
right hand side.

When I click on the news link for the 'Farcry Implmentation' it opens the
News page and gives me the info about making the change.  The only problem
is, that it is set up as a 'standard' themed page.  This puts the little
Home > Farcry Implementation navigation at the very top of the message.

With all that said... is there a way to get the news article's location to
be presented as Home > Support > Farcry implementation ??

---
You are currently subscribed to farcry-user as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/





--- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to