Page 1 of 1
Banner module
Posted: Thu Jan 25, 2007 8:20 am
by hkerver
Hi there,
I'm having some problems getting the banner module up and running.
In the admin panel I've added a banner and have placed the image in the following path: ../mydomain/uploads/images/banners/banner.gifAfter submitting the banner shows in the admin panel, but if i open the corresponing page it shows:
Fout!
ERROR: Could not find category (no rows) Fout in database!
What am I doing wrong?
Thanks in advance
Harry
Re: Banner module
Posted: Thu Jan 25, 2007 8:59 am
by RonnyK
Harry,
do you call the banners-module with the category in which the banner is stored.
Code: Select all
{cms_module module='Banners' category="Banners"}
If you maintain them in category "Banners" for example.
Ronny
Re: Banner module
Posted: Thu Jan 25, 2007 9:22 am
by hkerver
Hi Ronny
The categorie is "reizen: so I've used he code: {cms_module module='Banners' category="reizen"}
But I've noticed the following:
In the admin panel I've inserted the following path for the image:
../~signex/uploads/images/banners/banner.gif
after submitting the properties of the image in the admin panel is:
http://195.238.74.93/~signex/uploads/images/banners/banner.gif
But on the webpage te propertie of the image is:
http://195.238.74.93/~signex/~signex/uploads/images/banners/banner.gif
I hope this will give some light
Harry
Re: Banner module
Posted: Thu Jan 25, 2007 9:31 am
by hkerver
I've solved the problem.
In the admin panel I had to use the following path: ../../../~signex/uploads/images/banners/banner.gif
in order to get the image work in the admin panel as well as on the webpage
Thanks anyway
Harry
Re: Banner module
Posted: Thu Jan 25, 2007 9:52 am
by RonnyK
Harry,
the line below the banner.gif in the banner-module states that you define the path relatively to the uploads directory, in your case
Ronny
Re: Banner module
Posted: Thu Jan 25, 2007 11:10 am
by hkerver
I've tried that and it didn't work. the only path that works is: ../../../~signex/uploads/images/banners/banner.gif
Re: Banner module
Posted: Sat Jan 27, 2007 7:47 pm
by Max
Re the banner module (nice module)

I have a slight problem. I'm using my template which is a liquid layout, made to resize according to screen size within certain parameters. The banner size though is set in pixels, and can't be set with a % size. This might not be a problem, except the banner insists on adding a border, which makes the problem obvious. I've tried altering the outcome in my style sheet with no success i.e. border: 0; width: 100%; etc
How can I solve this?