Page 1 of 1

news module mess-up

Posted: Thu Dec 08, 2005 7:48 am
by cenneth
Hi all gurus!

I like CMSMS and Im using it to set up my company webiste, but I have a few strange problems and according to the lack of documentation of the news module (and a lot more) I have to terror you all with my problem :-)

Now, I only have one category of news, nothing advanced at all. What I want is to list the three latest news at right on the site and when clicked on "more" it will show the whole article, but also there is a news (nyheter) menu choice that will show all news but "more" (or really it says 'läs mer') that also will go to full article page.

now, first of all the site is up´n running here:

http://wse95515.web13.talkactive.net/

and there You can see my three news listing to the right. clicking on 'läs mer' goes to full article, but it is all fucked up without stylesheet etc, how come? where to change, fix, edit? I caqnt figure that out :-(

now, clicking on the 'nyheter' in the menu gives all news. (uses the standard smarty code {cms_module module="news" number="10" dateformat="Y.m.d"} )

NOW this is strange = clicking on 'las mer' gives the same page again, and not the full article. but also, the right side listing changes in behavoiur also!! now I cant get the ugly but anyway full page listing, it gives me, again, the all news listing.

whyyyy!!!

???

all help is really appriciated and treat me as a child in explanation ;)

Re: news module mess-up

Posted: Thu Dec 08, 2005 9:04 am
by westis
Hejsan Cenneth!

Välkommen till CMS Made Simple! Nice to see other Swedes around here. ;D

Now I'm not the kind of guru you are looking for. But having looked at your site it seems like you are using CMSMS 0.10.x or older, right? Have you tried upgrading to 0.11.1?

In 0.11.x moduleinterface.php is no longer used. But still, the problem you are experiencing should not be there anyway... Hope someone else can help you with that.

Let me know if you're interested in helping out to translate modules or documentation to Swedish! ;D

Btw, it's a great looking site you have! Have you hardcoded the menu, as there is an image for the Home (Hem) link?

Re: news module mess-up

Posted: Thu Dec 08, 2005 9:15 am
by cenneth
westis wrote: Hejsan Cenneth!

Välkommen till CMS Made Simple! Nice to see other Swedes around here. ;D

Now I'm not the kind of guru you are looking for. But having looked at your site it seems like you are using CMSMS 0.10.x or older, right? Have you tried upgrading to 0.11.1?

In 0.11.x moduleinterface.php is no longer used. But still, the problem you are experiencing should not be there anyway... Hope someone else can help you with that.

Let me know if you're interested in helping out to translate modules or documentation to Swedish! ;D

Btw, it's a great looking site you have! Have you hardcoded the menu, as there is an image for the Home (Hem) link?
Hej!
Vad kul med fler svenskar! (How nice with more swedes!)

The reason I use the older version, actually 0.10.1, is because I didnt get trinidad to work on the webspace I use, why I dont know really, I get errors on page 2 and it looks like it dont like include and thats an error I get one time on another. So I run 0.10.1 locally on my machine with my test-setup and after struggle with trinidad for a day I decided to stick with what works for now, dont have the time to sort the errors out, too bad though.

Thanks for the compliment on the site :) And yes, the menu is hardcoded for the moment, only because of the time-issue. The menu will grow with layers and submenus and I only got a day to get it up so I´ll haqve to postpone my dynamic menu-plan that I had in mind from the start.

And ofcourse, as soon as I get some time off I´ll contact you and gladly help with translations! :D

Re: news module mess-up

Posted: Thu Dec 08, 2005 9:23 am
by westis
:D

It seems like the tar.gz version of 0.11.1 didn't include include.php for some reason. This should be fixed now though.

Did you install from the tar or the zip? What kind of errors did you get? Do you sometimes also get those errors with 0.10.x? Page 2 is during the installation process, after the write permissions have been checked? What versions of PHP and Apache do you use?

If there is something that makes 0.11.x not work with your host we'd better fix it! ;)

Re: news module mess-up

Posted: Thu Dec 08, 2005 9:31 am
by cenneth
I innstalled it from the zip, and its not the iclude.php it complains about but include as operation, I posted a thread about it and got an answer to change some paths but feel its a bit bad to change the files in a production environment regarding to future updates (http://forum.cmsmadesimple.org/index.ph ... 354.0.html)

Re: news module mess-up

Posted: Thu Dec 08, 2005 9:52 am
by westis
Yeah, I've posted the open_basedir restriction issue as a bug in the forge and someone will have a look at it. I haven't experienced it myself, so I suppose it has to do with the server settings.

Have you tried the solution that you were suggested, just to see if it works? If it does we'll patch that file for future releases, as others may experience the same problem.

:)

Re: news module mess-up

Posted: Thu Dec 08, 2005 11:02 am
by Ted
The open_basdir thing (at least for cssmenu) is fixed in 0.11.1.

As for the News module thing not working, I'm really not sure.  The code is pretty old at this point, so it could be anything.  I know the issue with the News not display properly in the situation where it's included on the template (shows the news content twice) is fixed, but I don't think I've seen the stylesheet issue before.

Re: news module mess-up

Posted: Fri Dec 09, 2005 9:17 am
by cenneth
I have painless updated to 0.11.1 and it works fine, but still I have the news problem. Be welcome to look at http://wse95515.web13.talkactive.net

Now, I have one listing of news (right column), and when I click on more-link I get the full page. Works fine, but I need to specify more in the template, f.e. the menu doesnt get there, its a content-part in the other templates.

and still, with the new install, when click on "nyheter" (news) all the news is listed but clicking on more in the list, or in the before-working right column gets again the same short listing.

wtf? :)

someone must have get this to work right?