Banners module bug and a weird behavior...

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
parasito

Banners module bug and a weird behavior...

Post by parasito »

Hello everybody

I just installed the banners module (2.1.0) and it seemed to work fine.
When I tried to add some banners and categories, (considering that its a little bit annoying to select category first and then a banner) i firstly added some images in uploads/banners/imageXX.gif (CMSMS 1.0.2 "Maui" is installed in a folder /home from root).

BUG:
When I fill the field for the path of the image, there is an error:

I fill in: ../uploads/banners/banner3.gif, shows OK in the frond end, but it does not in administration.
I fill in: ../home/uploads/banners/banner3.gif, shows OK in administration but not in front end.

Furthermore, I used the same code to call the category from both the home page and another page:

{cms_module module='Banners' category="SPONSORS"}

When I click the banner from the home page, it gets back to it.
When I click from another page, it goes to the URL i filled. Weird?

Home page uses a different template from the other pages but without any serious differencies, just different layout.

Any suggestions? Is this really a bug or is it just me, installed in a folder and now i have to deal with the consequences ???

thanks in advance.... and keep up the good work!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Banners module bug and a weird behavior...

Post by Dr.CSS »

I've never used the Banner Module, but most paths in CMSMS should be either uploads/banners/ or /uploads/banners/ w/o the .. in front of /uploads, it's not the same as standard HTML/CSS calls...

I would try the first one w/o  ../  it knows to look in the /home/ folder...
also do you have the {metadata} tag in the header?...

I have several installs in subfolders, multiintech.com/CMSMSDemo/, multiintech.com/cmsms2/, multiintech.com/cmsms3/, etc. and none of them need anything more than uploads/images/ or in the header /uploads/java/scriptName.js....
parasito

Re: Banners module bug and a weird behavior...

Post by parasito »

thank you for your post...

In order to make it work, I finally used ../uploads/banners/banner3.gif for the banner/image path.
It does not show in administration but it shows up in the front end.

metadata tag is in place...

Any help on "banners in home page do nothing when clicked, but work ok if clicked from another page" thing? :-)
Locked

Return to “Modules/Add-Ons”