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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

[Solved]How to get the id of the first image
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: [Solved]How to get the id of the first image
*
#17331
[Solved]How to get the id of the first image 13 Years, 4 Months ago Karma: 0
Hi everybody,

I'm using the ARI Cloud Carousel.

I need to get the id of the first image from the url. I dont want to use the id parameter in the module admin because I need to use one module Carousel on different pages (I dont want to copy the module as many times as pages)

I made my links in the ini like : www.mywebsite.com/the_right_page_for_this_image?idfirstimage=7

and now I want to get my id to have the image 7 as first image on the page.

I think I have to hack like
Code:


if (isset($_GET["idfirstimage"])) $idfirstimage=$_GET["idfirstimage"];



Could you help me ?
Last Edit: 2011/07/19 08:06 By Geoffroi.
The administrator has disabled public write access.
 
#17333
Re:How to get the id of the first image by the URL 13 Years, 4 Months ago Karma: 760
Hello,

Sorry, but could you explain in mode details how "ID" should be used by the module.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#17369
Re:How to get the id of the first image by the URL 13 Years, 4 Months ago Karma: 0
Hello,

Im using the carousel to display the prodcuts of a brand in a website.

I have one page / product and on each page the carousel with the whole gamma. When you click on one image (one product) you are linked to the product page, with the carousel of the whole gamma, and I want the carousel begin with the right product as first image.

So I need to pass the id in the URL, to avoid to do a different module for each product page.

Is everything clear like this?

Thanks for your help.
The administrator has disabled public write access.
 
#17373
Re:How to get the id of the first image by the URL 13 Years, 4 Months ago Karma: 760
It requires custom modification.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#17377
Re:How to get the id of the first image by the URL 13 Years, 4 Months ago Karma: 0
Can't you tell me in witch file I can do this modification ?
The administrator has disabled public write access.
 
#17382
Re:How to get the id of the first image by the URL 13 Years, 4 Months ago Karma: 760
<joomla_directory>/modules\mod_aricloudcarousel\mod_aricloudcarousel\kernel\CloudCarousel\class.CloudCarousel.php file.

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