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
Banner module
Re: Banner module
Harry,
do you call the banners-module with the category in which the banner is stored.
If you maintain them in category "Banners" for example.
Ronny
do you call the banners-module with the category in which the banner is stored.
Code: Select all
{cms_module module='Banners' category="Banners"}
Ronny
Re: Banner module
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
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
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
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
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
the line below the banner.gif in the banner-module states that you define the path relatively to the uploads directory, in your case
Code: Select all
images/banners/banner.gif
Re: Banner module
I've tried that and it didn't work. the only path that works is: ../../../~signex/uploads/images/banners/banner.gif
Re: Banner module
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?

How can I solve this?