If you pass the navid of the current page (available in request.navid) to the news item, the news item will then have access to it's position. One way would be to change the news teaser so that when it links to the full article it includes the objectid of the rule's navid in the url.
I'm not using molio myself, but under webskins/dmNews there should be a file called displayTeaser.cfm (or similar). In that file, find where it creates the 'more' link. If it is using the buildlink tag (good for ensuring compatibility with FU setups) then you need to add the stParameters attribute. This takes a struct and is used to generate a query string from the key-value pairs. Otherwise simply change the href attribute of the link.
Then in the full news template, use your url parameter if its available, or the nav alias as a default if it isn't.
I hope this helps.
Blair
On 10/17/06,
Chris Roth <[EMAIL PROTECTED]> wrote:
Blair,
Thanks.. another good idea. Here's the problem.. 1. I already have 200+
news items in the system. 2. I dont want to pollute the tree with 100s
of news items.
Is there any other way?
is there a variable I can set some how of a function so I can find what
would basically be the "referring" root node? Or something?
It seems tht to make this work properly, I need to know something about
the page I was on that called the rule that generated the link to
display the news item.
Seems like this would be "good to know"...
I guess I could put a switch statement in the display handler that
figured out the category of the news item and dynamicaly sets the navid
for the genericNav (similar to your first suggestion). but that seems
sloppy in the event that a category gets removed.
hmm. knowing the navid of the the "previous" page would sure help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---
- [farcry-dev] Unnecesary Left Nav Expansion for News Content... Chris Roth
- [farcry-dev] Re: Unnecesary Left Nav Expansion for New... Blair McKenzie
- [farcry-dev] Re: Unnecesary Left Nav Expansion for... Chris Roth
- [farcry-dev] Re: Unnecesary Left Nav Expansion... Blair McKenzie
- [farcry-dev] Re: Unnecesary Left Nav Expan... Chris Roth
- [farcry-dev] Re: Unnecesary Left Nav ... Blair McKenzie
- [farcry-dev] Re: Unnecesary Left ... Chris Roth
