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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

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


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?

Data driven fancybox gallery
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Data driven fancybox gallery
#53389
Re:Data driven fancybox gallery 9 Years, 10 Months ago Karma: 0
If you could do that in a future version, that would be nice.

Regards,
Stephan
The administrator has disabled public write access.
 
#53394
Re:Data driven fancybox gallery 9 Years, 10 Months ago Karma: 760
Download and upgrade the extension (including "Fancybox" application) and use the following plugin code:

Code:


{fancybox parseLinks="1" url="images/img1.jpg||title 1;images/img2.jpg||title 2"}Slideshow pictures{/fancybox}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#53395
Re:Data driven fancybox gallery 9 Years, 10 Months ago Karma: 0
This works! Thanks for adding this functionality!

But, if I may advise: the ; as a divider is not very safe, because it is likely to be used in some image title.
I normally use || as dividers between records (you use this divider too) and the ~ character (that normally is not used in text as a single character) as a divider between items in a record. So the url could be (I think somewhat more safe):

Code:

{fancybox parseLinks="1" url="images/img1.jpg~title 1||images/img2.jpg~title 2"}Slideshow pictures{/fancybox}


One more thing ...
It seems that, if I use this new parseLinks="1" syntax on a webpage, then the normal {fancybox url="..." title="..."} links on that same webpage do not function anymore, that is, the title is not shown. It seems I have to use the parseLinks="1" syntax on all {fancybox} calls. No problem of course, but something for the documentation.

Regards
Stephan
Last Edit: 2015/02/11 11:34 By stephanbeek.
The administrator has disabled public write access.
 
#53396
Re:Data driven fancybox gallery 9 Years, 10 Months ago Karma: 760
Download and upgrade "Fancybox" application. New version supports paramSeparator parameter (which is used to specify separator for parameters) and itemSeparator parameter (it is used to specify separator for items). Your code will look like:

Code:


{fancybox parseLinks="1" paramSeparator="~" itemSeparator="||" url="images/img1.jpg~title 1||images/img2.jpg~title 2"}Slideshow pictures{/fancybox}



Old syntax for "title" parameter also should work fine with the new version.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53397
Re:Data driven fancybox gallery 9 Years, 10 Months ago Karma: 0
Thanks again, you are very fast!
The administrator has disabled public write access.
 
Go to topPage: 12