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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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 9 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 9 Years, 6 Months ago Karma: 760
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 9 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 9 Years, 6 Months ago Karma: 760
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