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?

Syntax Error for .ini file
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Syntax Error for .ini file
#29244
Syntax Error for .ini file 11 Years, 10 Months ago Karma: 0
Hi

I want to link each thumbnail to an external link. I have edited the aricloudcarousel.ini file to look as follows (excerpt):
[TITLE]
twitter.png="Twitter"
[DESCRIPTION]
twitter.png="Twitter"
[LINK]
twitter.png="www.twitter.com"

The .ini file is in the folder with my images (images/links), and the description file parameter is "aricloudcarousel.ini". I have set:
Lightbox Integration "none"
Link Target "new window"
Bring to Front "yes"
Only Open Active Item "yes"

I am using thumbnails and have set:
Ignore Original Images "no"

However, the thumbnails in the carousel link back to the original image and open in a new window, without the external link taking effect.
Also, as soon as I placed the .ini file in the folder with my images, I got the following syntax error:
Warning: syntax error, unexpected $end in C:\xampp\htdocs\wendy\images\links\aricloudcarousel.ini on line 8 in C:\xampp\htdocs\wendy\modules\mod_aricloudcarousel\mod_aricloudcarousel\kernel\Utils\class.AppUtils.php on line 35

I checked line 35 of the class.AppUtils.php file and it is:
? parse_ini_file($filePath, true, INI_SCANNER_RAW)

As you can see I'm working on a local host, so can't direct you to the site.
I await your speedy response, please let me know if you need more information.

Thanks
The administrator has disabled public write access.
 
#29246
Re:Syntax Error for .ini file 11 Years, 10 Months ago Karma: 748
Hello,

Upgrade the module to the latest version.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#29248
Re:Syntax Error for .ini file 11 Years, 10 Months ago Karma: 0
*facepalm*
Thank you! Sigh... it's always the simplest fix that takes the longest to realise! All working.
The administrator has disabled public write access.
 
Go to topPage: 1