CSS Image Gallery 2 Support Product Page

Answered

several dynamic datadriven galleries

Asked 20 Jun 2015 18:41:01
1
has this question
20 Jun 2015 18:41:01 thomas strmiska posted:
hi!
i have several dynamic datadriven galleries. your videos always show how to use one.
so far i know how to iplement this.
but each of my gallery consists of more than 3 photos.
i have a list-item. on click of one item a specific gallery should be shown.
do i have to use the updater therefore?

i´m looking for some kind of
SELECT *
FROM tabelle1
INNER JOIN tabelle2
ON tabelle1.keyfield=tabelle2.keyfield

thanx

Replies

Replied 22 Jun 2015 11:01:38
22 Jun 2015 11:01:38 Teodor Kuduschiev replied:
Hello,
I am not sure what exactly are you trying to achieve? Do you need to filter the gallery using a drop-down menu?
Replied 22 Jun 2015 11:40:44
22 Jun 2015 11:40:44 thomas strmiska replied:
you can test on:
www.misfit.tv/datenbankTest/

for each button ("Haus') a new gallery should be loaded.
it works very cool with text and one image, but i don´t know how i load a css image gallery,
different galleries, each with several photos.

so i created a new table for the photos and read how to connect 2 tables,
using

SELECT *
FROM tabelle1
INNER JOIN tabelle2
ON tabelle1.keyfield=tabelle2.keyfield

but i don´t know how to implement in this site.
Replied 22 Jun 2015 11:54:06
22 Jun 2015 11:54:06 Teodor Kuduschiev replied:
Hello,
You've just not set your page properly... you should not use the css image gallery inside the detail region.
You need to create a separate data source for the gallery, and filter it depending on what is selected inside your repeat region.
Replied 22 Jun 2015 11:56:53
22 Jun 2015 11:56:53 thomas strmiska replied:
thanks - i´ll try - is there a video for this example?
Replied 22 Jun 2015 12:01:10
22 Jun 2015 12:01:10 Teodor Kuduschiev replied:
Here it is - www.dmxzone.com/go/22724/master-detail-relationship-with-dmxzone-database-connector
In your case the second data source is the gallery/gallery's data source.
Replied 22 Jun 2015 12:18:50
22 Jun 2015 12:18:50 thomas strmiska replied:
i see - thank you, i hope i understand how to do
Replied 26 Jun 2015 13:41:59
26 Jun 2015 13:41:59 thomas strmiska replied:
hello again - thanx for the video, but unfortunately it doesn´t work for galleries. i don´t know how to setup this.
i create 2 tables - one for fotos, one for products. the table are linked together, using database table join.
Fotos.foto_id (INT) = product.img_id(INT). there i can set the number, which photos should be loaded, when the button is clicked. the "Run test" shows 2 tables in one table together.
but if i choose in the gallery "image" and "thumbnails" > {{img_id}}, nothing happens.

also i can´t find any example, how to link to different database - galleries on your website?
I would be very happy, if there´s also a manual, how the tables in the database has to look like.

thank you

Reply to this topic