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?

adding column to csv file?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: adding column to csv file?
#7625
adding column to csv file? 13 Years, 6 Months ago Karma: 0
I'm using this code to place a singleimage gallery on my page, and everything works, except I wanted to add an additional column to the CSV file for "description," and it's not working in the lightbox. I get the title from the CSV, but not the description.

{arisexylightbox activeType="imglist" dir="images/portfolio/client1" type="singleimage" opt_enableShow="1" descrFile="client1.csv"}{/arisexylightbox}

How do I enable additional columns in the CSV to show up in the lightbox? The documentation clearly states that more columns can be added, but nothing is there about how to get the lightbox to show them.
The administrator has disabled public write access.
 
#7630
Re:adding column to csv file? 13 Years, 6 Months ago Karma: 747
Hello,

Currently the extension can display title column in lightbox, other fields from CSV file can be shown in 'Advanced gallery' mode, just place the following code:

{$data:COLUMN_NAME}

Where COLUMN_NAME is name of column from CSV file. We'll possibility to define description in a future release.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#7635
Re:adding column to csv file? 13 Years, 6 Months ago Karma: 0
Thanks, but I want to be able to display the extra column's information in the lightbox, not in the gallery area. Also, I need to use the singleimage type because I need to put several galleries on the same page, and each one will just have the one thumbnail to link into the lightbox/gallery.

So, is it possible to display additional columns from the CSV file in the lightbox itself, or will it only show what's in the Title field of the CSV?
Last Edit: 2010/10/06 15:41 By markeberman.
The administrator has disabled public write access.
 
#7647
Re:adding column to csv file? 13 Years, 6 Months ago Karma: 747
We can add possibility to specify what column display in lightbox instead of 'Title' column. Is it acceptable for you?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#7892
Re:adding column to csv file? 13 Years, 6 Months ago Karma: 0
admin wrote:
We can add possibility to specify what column display in lightbox instead of 'Title' column. Is it acceptable for you?

Regards,
ARI Soft


I think that would be an excellent feature, but I have managed to make things work the way I need them to without it.

I changed the Ari Sexy Lightbox Anywhere plugin parameters so the gallery displays the contents of "title2" where it would usually display "title" and then just used the "title" column to store and display the description I wanted to see in the lightbox.

What I changed in the plugin is under Layout Type > Single Image. The template box now contains this text:

{$data:sexyimage}
{$data:Title2}

That's all it takes to reassign the column that the single image gallery uses for the title it displays within the content/on the page. Then it will automatically display the "title" column as usual within the lightbox, and you can repurpose that column to display what you want within the lightbox.
The administrator has disabled public write access.
 
Go to topPage: 1