adding column to csv file? 14 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.
|
|
|
|
|
Re:adding column to csv file? 14 Years, 2 Months ago
|
Karma: 760
|
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
|
|
|
|
|
Re:adding column to csv file? 14 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 15:41 By markeberman.
|
|
Re:adding column to csv file? 14 Years, 2 Months ago
|
Karma: 760
|
We can add possibility to specify what column display in lightbox instead of 'Title' column. Is it acceptable for you?
Regards,
ARI Soft
|
|
|
|
|
Re:adding column to csv file? 14 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.
|
|
|
|
|
|