Welcome, Guest
Username: Password: Remember me

TOPIC: [Resolved]Pictures order into mod_ot_bannerslider

[Resolved]Pictures order into mod_ot_bannerslider 3 years 4 weeks ago #5737

  • sphyncks
  • sphyncks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Hi everyone,

Is there a way to select the order in which pictures should appear into the mod_ot_bannerslider module?

Thank you very much.
Last Edit: 3 years 3 weeks ago by sphyncks.
The administrator has disabled public write access.

Re: Pictures order into mod_ot_bannerslider 3 years 4 weeks ago #5738

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

This is Joomla! banner slideshow, i will load images from an folder. So you can set order name for images.

Regards
The administrator has disabled public write access.

Re: Pictures order into mod_ot_bannerslider 3 years 3 weeks ago #5746

  • sphyncks
  • sphyncks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
trungdt wrote:
Hello,

This is Joomla! banner slideshow, i will load images from an folder. So you can set order name for images.

Regards

I renamed images using numbers on front of the filename ie: 01_picture.jpg, 02_picture.jpg etc and still not showing up in the appropriate order.

Thanks for your support,

Sincerely,
JS
The administrator has disabled public write access.

Re: Pictures order into mod_ot_bannerslider 3 years 3 weeks ago #5750

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You should add more this code:
asort($images);

under this line:
//No direct access!
defined('_JEXEC') or dies;

at file modules/mod_ot_bannerslider/tmpl/default.php

Regards
The administrator has disabled public write access.

Re: Pictures order into mod_ot_bannerslider 3 years 3 weeks ago #5757

  • sphyncks
  • sphyncks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Thank you very much,

It works perfectly.

Thanks also for your support!

Sincerely,
JS
The administrator has disabled public write access.

Re: Pictures order into mod_ot_bannerslider 3 years 3 weeks ago #5764

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Thanks, You're welcome!
The administrator has disabled public write access.
Time to create page: 0.163 seconds