Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: peppemania on November 09, 2012, 20:17:49

Title: mod_iosslider caption
Post by: peppemania on November 09, 2012, 20:17:49
caption does not appear in iosslider. sometimes only in the first image.
someone has a solution to fix it?
Title: Re: mod_iosslider caption
Post by: datahell on November 11, 2012, 20:15:12
Can you show us this on an online site?
Title: Re: mod_iosslider caption
Post by: peppemania on November 12, 2012, 12:15:34
yes www.srlambrosiana.it/elxis  (elxis rev1358)

I still have problems with modules assignment only in front page (only  for home page) .
in this live site I set mod_iosslider in top position for only in HOME.
 it appears in all pages not linked in menu (http://srlambrosiana.it/elxis/index.php/famous-places/taj-mahal.html).

the problem: I can not add links (in the menu) for each article in the future
I tried with this method: assign the module on the home page with custom fornt page, but if I want to call the module in another page, you must duplicate the module and assign it again
Title: Re: mod_iosslider caption
Post by: webgift on November 12, 2012, 12:29:10
Why don't you publish it in frontpage2 module position?
Title: Re: mod_iosslider caption
Post by: peppemania on November 12, 2012, 13:26:24
Why don't you publish it in frontpage2 module position?

yes is a solution.

but I wanted to show the problem with "module assignment".

concretely:
I want to show a banner at the right position: "80% discounts on products of webgift site." (in home page, in the category "Elxis" and category "pincopallino" ).
with custom frontpage solve the problem on the home page ok ... but to show it in the category elxis and pincopallino I duplicate the module and set it again.
Title: Re: mod_iosslider caption
Post by: peppemania on November 12, 2012, 14:04:29
add a problem: now the module assigned to the category (only home page of catagory) appears in the articles inside and not in the category

see module advertisements: only set in the category "simple category"... appears only in the articles inside ... but not in the category  :-\
Title: Re: mod_iosslider caption
Post by: kyomar on June 21, 2013, 08:26:40
Hi, sorry to restart this thread but I can confirm the issue with not showing caption. I also tried frontpage2 module position but still no caption.

Furthermore, when I upload pictures the original file names change into image1,image2 etc. Why does the original file name change?

Thanks for your attention!
Title: Re: mod_iosslider caption
Post by: datahell on June 21, 2013, 18:56:47
Why dont you assign it in a module position inside the category?
Categories > Edit > Parameters > See "layout" and "Inner modules position" options.
Title: Re: mod_iosslider caption
Post by: kyomar on June 22, 2013, 02:41:16
thanks datahell. I only use iosslider in frontpage (cell2) but I tried your suggestion in one of the categories and still no caption. Any solutions?
Title: Re: mod_iosslider caption
Post by: datahell on June 22, 2013, 11:06:58
There is something wrong in module's CSS, this is why you don't see the caption.
Here is how to fix it.

Open file: modules/mod_iosslider/iosslider.css
Change lines 20-21 from:
.iospanel-wrapper { margin:0; padding:0; }
.iospanel-wrapper p { margin:0; padding:0; position:relative; text-align:left; }
to:
.iospanel-wrapper { margin:0; padding:0; position:relative; }
.iospanel-wrapper p { margin:0; padding:0; text-align:left; }

Do the same on the RTL file: modules/mod_iosslider/iosslider-rtl.css

Sorry for the trouble and thanks for reporting it.
Title: Re: mod_iosslider caption
Post by: kyomar on June 22, 2013, 12:51:30
datahell, you should change your name into dataguru. Thank you so much for the fix - works great. If you have time could you please check this as well as mentioned in my previous post:
"Furthermore, when I upload pictures the original file names change into image1,image2 etc. Why does the original file name change?"

Thank you and have a great weekend!
Title: Re: mod_iosslider caption
Post by: datahell on June 22, 2013, 12:57:25
If you upload them via the parameters the files get the name of their parameter. This is required in order Elxis to be able to easily identify the file.

<param type="file" name="image1" path="modules/mod_iosslider/images/{multisite/}" filetype="png,jpg,jpeg" maxsize="0" default="" label="IMAGE" description="" />
A png file will be renamed to image1.png
A jpg file will be renamed to image1.jpg
A jpeg file will be renamed to image1.jpeg

If you upload a newer file Elxis will delete the old one.
If it had custom naming Elxis wouldn't know which one was the previous one and you would end up with a lot of useless files taking space and nothing else.
Elxis takes cares many things automatically and in silent in order your site to function well.