News Issue

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.
Post Reply
jezatron
Forum Members
Forum Members
Posts: 63
Joined: Sun May 17, 2009 3:02 pm

News Issue

Post by jezatron »

Hi I'm hoping this is a relatively easy one and I wont have to bug you for long...

Im using CMS Made Simple 1.5.4 "Carolina"



If I display a news summary, with links to the detail on a given page... they link correctly

If I display a news summary, with links to the detail on what will eventually be my home page... they are not working.


'Oxygen News' is a content page set up as a template in which the news items are called.

This works everywhere on site....
      {news summarytemplate="newsDetailPageSummaryRightCol" number='3' detailpage='Oxygen News'}
and subsequent summary links produce the following urls...
domain.com/news/4/53/news-test-3/
domain.com/news/3/53/News-testing-2/
domain.com/news/2/53/News-tester-1/


on the home page if i add the same call i get the follwing urls instead
domain.com/news/4/52/news-test-3/
domain.com/news/3/53/News-testing-2/
domain.com/news/2/53/News-tester-1/
and instead of linking to the detail page it changes the url but still shows the homepage.

now i can obviously see that the difference on the urls is the directory /53/ on the correct ones and /52/ on the false ones.... but how do i effect this?

Thanks to anyone who knows and can help
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Issue

Post by Dr.CSS »

If you put the news tag in the page you want as a detail page you don't want to use the detalpage= parameter...
jezatron
Forum Members
Forum Members
Posts: 63
Joined: Sun May 17, 2009 3:02 pm

Re: News Issue

Post by jezatron »

dr thanks for reply.

im not really sure i understand you. i have a home page that is designed with a little block with three news item summaries at the bottom, and they need to link to the detail page.

if i take the detailpage= parameter out, the news items still dont link to detail pages?
jezatron
Forum Members
Forum Members
Posts: 63
Joined: Sun May 17, 2009 3:02 pm

Re: News Issue

Post by jezatron »

so is it basically the case that you can only link to news details or products details if the linking page is the same template? thats the only way the links seem to be working at the moment... and is incredibly restrictive
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Issue

Post by Dr.CSS »

If you had read the Help you may have noticed that the detail page takes the page alias, take a closer look at your detail call pasted above and see if you can pick out the problem...
Pierre M.

Re: News Issue

Post by Pierre M. »

I'm not sure spaces are welcome in page aliases. Page aliases can be used as URLs and URLs want encoded spaces.

Pierre M.
Post Reply

Return to “CMSMS Core”