News link does not show the Details

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
mrk

News link does not show the Details

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: News link does not show the Details

Post 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
mrk

Re: News link does not show the Details

Post 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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: News link does not show the Details

Post 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
mrk

Re: News link does not show the Details

Post 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/
mrk

Re: News link does not show the Details

Post by mrk »

any thoughts on this? ive never had this issue before it has always just worked?
cyberman

Re: News link does not show the Details

Post by cyberman »

Have you tried to deactivate PrettyURL / mod_rewrite?
mrk

Re: News link does not show the Details

Post by mrk »

Just tried it and thr URL changes but i still can not get it to show the details of the News Item.
cyberman

Re: News link does not show the Details

Post by cyberman »

Have you tried to define a page for showing details?
frontline3k
New Member
New Member
Posts: 7
Joined: Mon Mar 05, 2007 11:46 am

Re: News link does not show the Details

Post 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
mrk

Re: News link does not show the Details

Post 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.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: News link does not show the Details

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
mrk

Re: News link does not show the Details

Post 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!
Locked

Return to “CMSMS Core”