Page 2 of 2

Re: Core News Module Links not working

Posted: Wed Aug 20, 2008 3:07 am
by Dr.CSS
uh I believe he meant a link to the site so we can see the link that it makes...

Re: Core News Module Links not working

Posted: Wed Aug 20, 2008 3:25 pm
by mrcoke
I am so sorry.. http://test4.wsc.k12.ar.us/coopcms

I haven't blown it away yet cause I have been working on some other stuff.  I haven't moved over to cmsms yet but planned to next month

Re: Core News Module Links not working

Posted: Wed Aug 20, 2008 4:37 pm
by alby
mrcoke wrote: I am so sorry.. http://test4.wsc.k12.ar.us/coopcms

I haven't blown it away yet cause I have been working on some other stuff.  I haven't moved over to cmsms yet but planned to next month
You use a detailpage that not exist (id=39)
if you change 39:
... mact=News,cntnt01,detail,0&cntnt01articleid=1&cntnt01origid=58&cntnt01returnid=39
with 15 (Home page) or p.e. 58 (Media Center) you see the news ....

Alby

Re: Core News Module Links not working

Posted: Wed Aug 20, 2008 10:40 pm
by mrcoke
You are absolutely correct.. i changed it in my browser and it worked

thank you

now..

where do I fix that?  and how did i mess that up.  I looked in templates, style sheets and didn't see anything like that..

thank you

Re: Core News Module Links not working

Posted: Thu Aug 21, 2008 6:39 am
by alby
mrcoke wrote: You are absolutely correct.. i changed it in my browser and it worked

thank you

now..

where do I fix that?  and how did i mess that up.  I looked in templates, style sheets and didn't see anything like that..
What is your news tag?
Drop detailpage param or correct it to existant page ...

Alby

Re: Core News Module Links not working

Posted: Fri Aug 22, 2008 4:06 pm
by mrcoke
Alby,

I guess i don't know where to look to fix this problem.  I looked in stylesheets, templates modules etc.  I compared a second cmsms box I set up to test what i possibly did wrong and compared templates, stylesheets etc and even copy/pasted code that looked right with code from the working test box.. I am just really lost on how to do what you are asking.  Is that something in the mysql database that I should be fixing?

sorry for my lack of knowledge.  I am coming over from the fontpage on IIS group and I guess it is obvious

Re: Core News Module Links not working

Posted: Fri Aug 22, 2008 5:54 pm
by alby
mrcoke wrote: Alby,

I guess i don't know where to look to fix this problem.  I looked in stylesheets, templates modules etc.  I compared a second ...
You must search for news tag (I suppose in template that it's used in your pages):
{news .... detailpage='alias_relative_to_id_39'}

Alby

Re: Core News Module Links not working

Posted: Sat Aug 23, 2008 2:35 pm
by mrcoke
this is going to sound stupid.. but after searching and searching the templates to no avail, i was looking at the news module.. and it wasn't set to active... how in the heck did I miss that .. well i guess i was looking for something really bad to be wrong.. how did it get set nonactive.. i have no idea. 

anyway the problem is solved and I do appreciate all the ideas and assistance.. I learned a lot and found that there are some good people on the made simple forums.  Maybe some day I will get experienced enough to return the favor to some other noob.

again thanks Alby and Mark

Re: [solved] Core News Module Links not working

Posted: Thu Sep 18, 2008 10:17 pm
by L84DNR
Alby,
I am having the same issue but my News module is set to active
When I click on a news item

Code: Select all

index.php?mact=News,cntnt01,detail,0&cntnt01articleid=4&cntnt01origid=64&cntnt01returnid=39
I get 404 page not found

If i change the returnid=51 i'm good

The sample templates of CMS are still in the Pages but not active and not default

Should I delete these?
Should I reinstall the News Module?

As mrcoke I looked in every template css and even in the database and cannot find the reference to returnid.

Any suggestions?


As always,
Thank you!

EDIT... [Solved again i guess]
I found a work around I think (but i don't have a warm fuzzy feeling about it)  When I installed CMS i elected to have the sample pages put in.  After a few weeks of building the site I went in and deactivated them.  When I go the "Default Extentions / Modules / News" page and activate it all is good.  So that page is returnid=39 as stated in the code above.  SO, I removed it from the menu and left it active and all seems well.
I curious... okay scared to delete the sample data now  :-[

Re: [solved] Core News Module Links not working

Posted: Sat Sep 20, 2008 6:02 pm
by Dr.CSS
Most likely if you have to reactivate a page to see the News when clicking the more... on the left or ? it's because in the default install the news is a tag in the template like so {news number='3' detailpage='news'} with news being the detail page that was/is in the default install and it has an ID number so it looks for that page but since inactive can't find it, hence the problem...

Just change the detailpage= parameter to a page you want/have or take that call out to get it to show the detail in the page it's on...

Guess you didn't look at all the templates/code to find this...