Weird behaviour with QuoteMS

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Coume
Forum Members
Forum Members
Posts: 14
Joined: Tue Oct 16, 2007 12:24 pm

Weird behaviour with QuoteMS

Post by Coume »

Afternoon,

After 3 days of playing around I am still experiencing the same problem with this module and I am getting frustrated.

I use a very simple template to display my quote:
One of my favorite quotes

{$quoteauthor} says:

"{$quotecontent}"
but if you look at my page (ie: http://ludoviccoumetou.com/resume ) you can see that the quote does get properly displayed but above it, the total number of quote get displayed.

The template, which calls the quote module, is also very simple and does not make any reference to the total number of quote that I entered in my DB.
(...)

{Quotes template="sidebar" pickedby="equal"}
I have just read
(...)
Any idea on where to look to remove this unwanted character because I am really puzzled on this one :(

Thanks in advance.

Regards,
Ludovic
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Weird behaviour with QuoteMS

Post by Dr.CSS »

I have never used this module but it seems it's in the template "sidebar" in the module interface is there a place to see/change the  templates it may have a call for number of quotes...
Coume
Forum Members
Forum Members
Posts: 14
Joined: Tue Oct 16, 2007 12:24 pm

Re: Weird behaviour with QuoteMS

Post by Coume »

mark wrote: I have never used this module but it seems it's in the template "sidebar" in the module interface is there a place to see/change the  templates it may have a call for number of quotes...
I should have been more specific in writing my first post. The template used and called sidebar is the first one I quoted:
One of my favorite quotes

{$quoteauthor} says:

"{$quotecontent}"
and as you can see there is no call for the number of quotes, which is why I am really puzzled on this one :'(
Coume
Forum Members
Forum Members
Posts: 14
Joined: Tue Oct 16, 2007 12:24 pm

Re: Weird behaviour with QuoteMS

Post by Coume »

Ok, I found the problem:

File > Modules > Quotes > Quotes.module.php
function SelectQuote($params) {
$output=array();
//$params["quote"]
$availablequotes=$this->GetQuotes();
echo count($availablequotes);
$quotes=array();
The dev forgot to comment the "echo count($availablequotes);" line...

Unfortunately, CMSMadeSimple created the file with Apache as Owner and Group and not having a root access I cannot save any change to this file...
I will inform the dev so he can fix the install file :)

I should have ssh'ed earlier to look at the code, it would have save me lots of time!!!

Thanks
Ludo
Coume
Forum Members
Forum Members
Posts: 14
Joined: Tue Oct 16, 2007 12:24 pm

Re: Weird behaviour with QuoteMS

Post by Coume »

Just in case someone is interested:
http://dev.cmsmadesimple.org/tracker/in ... 3&atid=969

Thanks
Ludo
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Weird behaviour with QuoteMS

Post by Dr.CSS »

If you can FTP to the site, download it to your comp. then in the admin of site uninstall and remove it then FTP it back to site, this should give you access...
Coume
Forum Members
Forum Members
Posts: 14
Joined: Tue Oct 16, 2007 12:24 pm

Re: Weird behaviour with QuoteMS

Post by Coume »

In fact, all the modules that I installed through the module manager have been belong to the user and group apache and I cannot remove them, EVEN from the Module panel.

They all have the change permission button but this button is like non-working.

I created a patched version of this patch and tried to install it manually to overwrite the actual one but due to permissions problems it fails.

I do not understand why I am having problem with the modules. It is like my CMS install 1.2.5 has a problem dealing with the file owner and permission.

btw, the ftp method does not work as the file belongs to the apache user. I cannot edit/remove/etc. them :(
I will ask to the hosting company to chown and chmod them...
Post Reply

Return to “Modules/Add-Ons”