Page 1 of 1

News link does not show the Details

Posted: Fri Mar 02, 2007 6:20 pm
by mrk
http://nafc2.com/

If you click on the title or more link the URL changes but it does not change or show the details.

the tag i am using is just {news}

Thanks in Advance!

~m

Re: News link does not show the Details

Posted: Fri Mar 02, 2007 6:55 pm
by RonnyK
mrk,

have you checked this post. It has some specific points concerning pretty urls in combination with news.

http://forum.cmsmadesimple.org/index.ph ... l#msg35477

Ronny

Re: News link does not show the Details

Posted: Mon Mar 05, 2007 6:13 pm
by mrk
Thanks for your reply and i tried to make those changes but it does not seem to have an effect on the URL or the way the page displays.
i tried clearing the cache several times before and after the changes were made.

Re: News link does not show the Details

Posted: Mon Mar 05, 2007 8:20 pm
by RonnyK
mrk,

what if you try to push it to a "detailpage"; it might open it in the content-area. You can give it as a parameter in the calling of news

{news detailpage="news"}

Ronny

Re: News link does not show the Details

Posted: Mon Mar 05, 2007 8:39 pm
by mrk
well it is moving in the right direction but still no luck. it now takes me to the news page but it still just lists the summaries.

if you want you can take a look here:
http://nafc2.com/

Re: News link does not show the Details

Posted: Wed Mar 07, 2007 9:10 pm
by mrk
any thoughts on this? ive never had this issue before it has always just worked?

Re: News link does not show the Details

Posted: Wed Mar 07, 2007 9:45 pm
by cyberman
Have you tried to deactivate PrettyURL / mod_rewrite?

Re: News link does not show the Details

Posted: Wed Mar 07, 2007 10:40 pm
by mrk
Just tried it and thr URL changes but i still can not get it to show the details of the News Item.

Re: News link does not show the Details

Posted: Thu Mar 08, 2007 6:09 am
by cyberman
Have you tried to define a page for showing details?

Re: News link does not show the Details

Posted: Thu Mar 08, 2007 7:08 pm
by frontline3k
Hello

I had about same problem ... until I realize it's ... somehow correct :)
The news page you create is using Summary Template. When you click [more] ... you will use Detail Template.
The same template is used for the home page and for News page.
Maybe a solution is to modify the Summary Template to always show {eval var=$entry->content} if the page is different than start page (a php check in the template).

Regards,
Sorin

Re: News link does not show the Details

Posted: Wed Mar 14, 2007 9:33 pm
by mrk
???
man i am really getting frustrated with this.

i have specified the details page and that take you to the right page but it still just out puts the Summary Template and when you click the link to read more the URL changes but it still never shows the details in the detail temlplate.

i tried to set up a separate detail template like frontline suggested, that outputs the details but it just list all the news items not the specific on that the URL specifies.

PleASE!

there has got to be something that i am missing.

my next thought is to install step back and install News 2.1 instead of 2.2

maybe that will do it because i know i have a version of it running on another site and had no problems with it.

Re: News link does not show the Details

Posted: Wed Mar 14, 2007 11:15 pm
by Elijah Lofgren
Fixed.  :)

You needed to replace the:
{news}
in your "News" page template with:

Code: Select all

{content}
Making the Page of Content type "News" automatically calls the News module. The only reason to use the {news} tag
would be if the page was still of content type "Content" then you would paste {news} into the page's Content textarea.

I would always use {content} in page templates.

Glad I could help,

Elijah

Re: News link does not show the Details

Posted: Wed Mar 14, 2007 11:18 pm
by mrk
WOW
Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU Thank YOU



Thank YOU

Thank YOU
Thank YOU



Thank YOU  oh yeah and THANKS YOU ROCK!