Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Change location of images in menu
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Change location of images in menu
#54742
Change location of images in menu 2 Years, 6 Months ago Karma: 0
Hello,

Images Location: Your instructions say, " If you want to add new images, copy it to [joomla_dir]/modules/mod_arislider/includes/js/img/slides/ folder."

Can I change the location of the images and tell AriSlider to look in my images folder of the template as an example instead of the module images folder?

Thank you,

Ron
The administrator has disabled public write access.
 
#54745
Re:Change location of images in menu 2 Years, 6 Months ago Karma: 670
Hello,

It requires modification of the extension. The path to folder with images is defined in <joomla_directory>/modules/mod_arislider/mod_arislider.xml and <joomla_directory>/modules/mod_arislider/tmpl/menu.php files.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#54897
Re:Change location of images in menu 2 Years, 6 Months ago Karma: 0
Hello,

I found the files and am looking at the code. Not sure what to change.

I want Ari to look at the images that are in this directory.

/home/mtecom/public_html/images/MeetTheTeam/

So based on your answer where would I place this?

Ron
The administrator has disabled public write access.
 
#54900
Re:Change location of images in menu 2 Years, 6 Months ago Karma: 670
Hello,

Change value of "directory" attribute for <field> elements with type="imagelist" in <joomla_directory>/modules/mod_arislider/mod_arislider.xml file. For example replace the following string:

Code:


<field name="image_0" type="imagelist" default="" label="ASLIDER_PARAM_LABEL_IMAGE" description="ASLIDER_PARAM_DESCR_IMAGE" hide_default="1" directory="/modules/mod_arislider/includes/js/img/slides" />



with the following one:

Code:


<field name="image_0" type="imagelist" default="" label="ASLIDER_PARAM_LABEL_IMAGE" description="ASLIDER_PARAM_DESCR_IMAGE" hide_default="1" directory="/images/MeetTheTeam" />



and replace the following code in <joomla_directory>/modules/mod_arislider/tmpl/menu.php file:

Code:


$imgAttrs = array('src' => JURI::base(true) . '/modules/mod_arislider/includes/js/img/slides/' . $img, 'alt' => !$enableTip ? $dataItem['title'] : '');



with the following one:

Code:


$imgAttrs = array('src' => JURI::base(true) . '/images/MeetTheTeam/' . $img, 'alt' => !$enableTip ? $dataItem['title'] : '');



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1