Page 1 of 1

news module

Posted: Sun Nov 27, 2005 9:34 pm
by grogoreo
hi

For some reason, the links on the news module like to the admin section. For example
http://www.stokesocialistparty.org.uk/a ... eturnid=-1
and comparing the link on here the link for news items are in this format:
http://svntest.cmsmadesimple.org/index. ... eturnid=20
so no admin folder or moduleinterface.php page.

My site is up, here (still in the process of making it! But the news is there)

Thanks,
Greg

Re: news module

Posted: Fri Dec 02, 2005 11:42 am
by AnneDonnelly
Greg,

Did you solve your problem ?

I had the same thing. I fxed mine by not using a page of type news but using a normal content page and inserting the tag {cms_module module="news"}.

HTH

Anne

Re: news module

Posted: Fri Dec 02, 2005 8:02 pm
by grogoreo
Thanks for the help Anne.

No I didn't find out a way and shall try your way!

Thanks again,
Greg

Re: news module

Posted: Fri Dec 02, 2005 8:07 pm
by grogoreo
Argh! No it still hasn't worked!

Another problem is that when the page is included, the header for the page has two of them, saying the same thing! Is this a problem or not?

Re: news module

Posted: Fri Dec 02, 2005 9:49 pm
by grogoreo
I've now realised that the second header was only a breadcrumb line.

Still no look with the link!

Re: news module

Posted: Fri Dec 02, 2005 10:40 pm
by grogoreo
It seems that the demo has the same problem http://demo.opensourcecms.com/cms/index.php?page=News

Re: news module

Posted: Fri Dec 02, 2005 10:56 pm
by grogoreo
Sorry for all the posts! But it NOW works, and it was what Anne said! I don't know what was wrong ealier, but now it works.

Now I have a content page with the code...

Code: Select all

{cms_module module='news'}
...in and then have the News module called mod_news. And it works! I think it was the single quotes.


Thanks,
Greg