lossendae / Cliche

A media manager for MODx Revolution
14 stars 11 forks source link

toPlaceholder & fancybox #22

Open funkyduke opened 12 years ago

funkyduke commented 12 years ago

1)Is there a way to put Cliche into a placeholder? e.g.: [[!Cliche? &toPlaceholder=overview]]

2) When I use Cliche with the browse element (&view=albums &browse=2) then I get the overview, but on the second page of the album the photo doesn't open in a fancybox but on a new page.

3) the next/prev button is not working on fancybox

4) there's a new version of fancybox (version 2), is it possible to use this? Or will it be in the next update?

Thx for help.

lossendae commented 12 years ago

1 - Not yet, i will add the option in next version 2 - The package is really not well documented, i will come back to yu once i've updated it further 3 - It's disabled but you can make your own chunk containing your fancybox javascript call (&js=yourCHunkName) 4 - I'm aware but i don't plan to replace the current version with the new one in the default package, but you can use whatever script want. Again i will come back to you on this matter

funkyduke commented 12 years ago

Thx for your feedback. You say that we have to use our own javascript to get the next/prev button, but can't we just enable it somewhere without use of a separate script? I really like your plugin because the back-end is very easy-to-use for the customer and in the front-end the thumbnails are loading fast (which is not the case with the plugin Gallery). But for now, I still struggle with point 2, I really want first an overview of the thumbnails of the albums and then by clicking on an album going to a second page where I find all the pics of the album in thumbnails. By clicking on one of those thumbnails it should be use fancybox (or another script). that's why I asked about the placeholders because then I could use the plugin IF to check.

lossendae commented 12 years ago

I just added the option with this commit : https://github.com/lossendae/Cliche/commit/deceb26f9640c6ab924aa33c3bb6b7c31f383052 I'll release the package later today.