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?

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? 7 Years, 2 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? 7 Years, 2 Months ago Karma: 670
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? 7 Years, 2 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 09:41 By markeberman.
The administrator has disabled public write access.
 
#7647
Re:adding column to csv file? 7 Years, 2 Months ago Karma: 670
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? 7 Years, 2 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