news urls wrong

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Locked
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

news urls wrong

Post by master3395 »

The templates are set up exactly the same, just with a different look.
But the category id of the news, is wrong, on the /design.
It shows up with a totally different category ID, that doesn't exist.
Skjermbilde.PNG
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: news urls wrong

Post by velden »

Seems somewhere the News module is told it should use the detailpage with id=77 for those links. But the page with that id doesn't exist (anymore) or might be disabled.

So check:

- Site Admin > Settings - News modile > Options > Default page for details views (consider setting it, test, and unset it)
- The {News .... detailpage=... } tag
- Using {cms_module_hint} somewhere?
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

Re: news urls wrong

Post by master3395 »

1. Detail page tag seems to be missing i believe.
2 No hints.

BUT if i put my categories up, i can enter the category, and then click the article.

This is my home template:

Code: Select all

{extends file='cms_template:bandb_master'}

{block name="content-2"}
<div id="news-feed" class="column row">
  {News pagelimit=3 detailpage='news' summarytemplate='bandb_news_summary'}
</div>
{/block}
velden wrote:Seems somewhere the News module is told it should use the detailpage with id=77 for those links. But the page with that id doesn't exist (anymore) or might be disabled.

So check:

- Site Admin > Settings - News modile > Options > Default page for details views (consider setting it, test, and unset it)
- The {News .... detailpage=... } tag
- Using {cms_module_hint} somewhere?
Last edited by master3395 on Thu Nov 01, 2018 11:16 pm, edited 1 time in total.
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

Re: news urls wrong

Post by master3395 »

Seems like the only thing i missed was changing "detailpage='news'" into "design"
User avatar
master3395
Forum Members
Forum Members
Posts: 94
Joined: Mon Mar 30, 2015 7:13 am
Location: Norway

Re: news urls wrong

Post by master3395 »

[Solved]
Locked

Return to “The Lounge”