News Detail

View: New views
9 Messages — Rating Filter:   Alert me  

News Detail

by Matthew Prose :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I am a little confused about the News rule.  I added a news rule to  
one of my pages, which works well for the teaser copy and image.  
However when I click read more it takes me to the home page to display  
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Marco van den Oever :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If you want the link to be different you only have to check the
components of the news rule, follow the leads to webskins etc and you
will see how it's build up and be able to change as needed.

On Oct 15, 4:06 pm, Matthew Prose <matthew.pr...@...> wrote:
> I am a little confused about the News rule.  I added a news rule to  
> one of my pages, which works well for the teaser copy and image.  
> However when I click read more it takes me to the home page to display  
> the full article.
>
> How do you choose what page you want the full article to reside on?
>
> Thanks
> Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Chris Kent-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Matt,

You can set request.navid and this should position your menu assuming
you're using the genericNav menu code.

A couple of quick ways to do this:
1. Simple
Create a news archive page with your new publishing rule, set the
navalias to newsarchive,
Then in your news display webskin, <cfset request.navid.newsarchive>
That enable the navigation to display all news items with the news
archive node highlighted as active

2. Slightly More Complex
Add a new property to your news content type - extend the dmNews to
your project
<cfproperty ftseq="10" ftwizardStep="General Details"
ftfieldset="Navigator" name="navNavigator" type="string" hint="News
Navigator." required="no" default="" fttype="navigation" ftlabel="Site
Tree Home"
        ftalias="subjects" ftselectmultiple="0"
        fthelptitle="Content Location"
        fthelpsection="Use the News Navigator to set the content
placement." />
Then your content admin users will be able to select a navigation node
to be the news item home
Then in your news display webskin, <cfset request.stobj.navNavigator>
That enable the navigation node selected in the news admin will be
highlighted as active in the menu.

Chris.

On Oct 15, 3:06 pm, Matthew Prose <matthew.pr...@...> wrote:
> I am a little confused about the News rule.  I added a news rule to  
> one of my pages, which works well for the teaser copy and image.  
> However when I click read more it takes me to the home page to display  
> the full article.
>
> How do you choose what page you want the full article to reside on?
>
> Thanks
> Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Blair McKenzie-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Simple easy way:
Add an alias of "dmNews" to the navigation node that news articles should appear to be under.

Customizable complicated way:
Extend and override the getNavID function in dmNews (will be passed objectid+typename or stObject by different parts of FarCry).

You can also pass navid or navalias to the page as a URL variable to deal with edge cases.

Blair

On Fri, Oct 16, 2009 at 1:06 AM, Matthew Prose <matthew.prose@...> wrote:

I am a little confused about the News rule.  I added a news rule to
one of my pages, which works well for the teaser copy and image.
However when I click read more it takes me to the home page to display
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt




--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Tomek Kott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Blair, that's the first I've heard of that simple method --- does that work for any content type by default: i.e., if its dmEvent, having the alias of dmEvent would work?

Thanks

Tomek

On Thu, Oct 15, 2009 at 6:53 PM, Blair McKenzie <shib71@...> wrote:
Simple easy way:
Add an alias of "dmNews" to the navigation node that news articles should appear to be under.

Customizable complicated way:
Extend and override the getNavID function in dmNews (will be passed objectid+typename or stObject by different parts of FarCry).

You can also pass navid or navalias to the page as a URL variable to deal with edge cases.

Blair

On Fri, Oct 16, 2009 at 1:06 AM, Matthew Prose <matthew.prose@...> wrote:

I am a little confused about the News rule.  I added a news rule to
one of my pages, which works well for the teaser copy and image.
However when I click read more it takes me to the home page to display
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt







--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Matthew Prose :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So simple.  Thanks Blair!

This also worked for events by adding dmEvent as alias


Matt


On Oct 16, 2009, at 7:57 AM, Tomek Kott wrote:

Blair, that's the first I've heard of that simple method --- does that work for any content type by default: i.e., if its dmEvent, having the alias of dmEvent would work?

Thanks

Tomek

On Thu, Oct 15, 2009 at 6:53 PM, Blair McKenzie <shib71@...> wrote:
Simple easy way:
Add an alias of "dmNews" to the navigation node that news articles should appear to be under.

Customizable complicated way:
Extend and override the getNavID function in dmNews (will be passed objectid+typename or stObject by different parts of FarCry).

You can also pass navid or navalias to the page as a URL variable to deal with edge cases.

Blair

On Fri, Oct 16, 2009 at 1:06 AM, Matthew Prose <matthew.prose@...> wrote:

I am a little confused about the News rule.  I added a news rule to
one of my pages, which works well for the teaser copy and image.
However when I click read more it takes me to the home page to display
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt











--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Blair McKenzie-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry :( We have a bit of a problem with documentation at the moment. It will work for any content type.

Blair

On Fri, Oct 16, 2009 at 11:57 PM, Tomek Kott <tkott.spam@...> wrote:
Blair, that's the first I've heard of that simple method --- does that work for any content type by default: i.e., if its dmEvent, having the alias of dmEvent would work?

Thanks

Tomek


On Thu, Oct 15, 2009 at 6:53 PM, Blair McKenzie <shib71@...> wrote:
Simple easy way:
Add an alias of "dmNews" to the navigation node that news articles should appear to be under.

Customizable complicated way:
Extend and override the getNavID function in dmNews (will be passed objectid+typename or stObject by different parts of FarCry).

You can also pass navid or navalias to the page as a URL variable to deal with edge cases.

Blair

On Fri, Oct 16, 2009 at 1:06 AM, Matthew Prose <matthew.prose@...> wrote:

I am a little confused about the News rule.  I added a news rule to
one of my pages, which works well for the teaser copy and image.
However when I click read more it takes me to the home page to display
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt










--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Matthew Prose :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Blair,

dmFacts is not working the same way.  Any thoughts or am I gonna have to do the more complicated way?

Matt

On Fri, Oct 16, 2009 at 2:38 PM, Blair McKenzie <shib71@...> wrote:
Sorry :( We have a bit of a problem with documentation at the moment. It will work for any content type.

Blair


On Fri, Oct 16, 2009 at 11:57 PM, Tomek Kott <tkott.spam@...> wrote:
Blair, that's the first I've heard of that simple method --- does that work for any content type by default: i.e., if its dmEvent, having the alias of dmEvent would work?

Thanks

Tomek


On Thu, Oct 15, 2009 at 6:53 PM, Blair McKenzie <shib71@...> wrote:
Simple easy way:
Add an alias of "dmNews" to the navigation node that news articles should appear to be under.

Customizable complicated way:
Extend and override the getNavID function in dmNews (will be passed objectid+typename or stObject by different parts of FarCry).

You can also pass navid or navalias to the page as a URL variable to deal with edge cases.

Blair

On Fri, Oct 16, 2009 at 1:06 AM, Matthew Prose <matthew.prose@...> wrote:

I am a little confused about the News rule.  I added a news rule to
one of my pages, which works well for the teaser copy and image.
However when I click read more it takes me to the home page to display
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt













--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: News Detail

by Blair McKenzie-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You could have a look at the fact rule execute webskin. If it doesn't work that way you could change it so that it does.

On Thu, Oct 22, 2009 at 7:16 AM, Matthew Prose <matthew.prose@...> wrote:
Blair,

dmFacts is not working the same way.  Any thoughts or am I gonna have to do the more complicated way?

Matt

On Fri, Oct 16, 2009 at 2:38 PM, Blair McKenzie <shib71@...> wrote:
Sorry :( We have a bit of a problem with documentation at the moment. It will work for any content type.

Blair


On Fri, Oct 16, 2009 at 11:57 PM, Tomek Kott <tkott.spam@...> wrote:
Blair, that's the first I've heard of that simple method --- does that work for any content type by default: i.e., if its dmEvent, having the alias of dmEvent would work?

Thanks

Tomek


On Thu, Oct 15, 2009 at 6:53 PM, Blair McKenzie <shib71@...> wrote:
Simple easy way:
Add an alias of "dmNews" to the navigation node that news articles should appear to be under.

Customizable complicated way:
Extend and override the getNavID function in dmNews (will be passed objectid+typename or stObject by different parts of FarCry).

You can also pass navid or navalias to the page as a URL variable to deal with edge cases.

Blair

On Fri, Oct 16, 2009 at 1:06 AM, Matthew Prose <matthew.prose@...> wrote:

I am a little confused about the News rule.  I added a news rule to
one of my pages, which works well for the teaser copy and image.
However when I click read more it takes me to the home page to display
the full article.

How do you choose what page you want the full article to reside on?

Thanks
Matt
















--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---