Listing connected information inside a list

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 11, 2015   (RSS)

By claire - February 2, 2015

Hi Hiroko

The getRecords function below pulls from the accounts table. Is this intentional, or is the gallery a different table?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By hiroko - February 4, 2015

Hello Claire,

Thank you for your reply.

I’m not sure if I can explain this clear.

I think I am dealing with 3 tables.

Accounts table: contains informations of galleries

event table : exhibition information

event_genre table : category list of event types

In event’ table, I have a 2 multi pulldown list field. One is named ‘gallery’, which refers to ‘accounts’ table, and the other is ‘event_genre’, which refers to the ‘event_genre’ category table.

What I need to do is to make a list of all the galleries (accounts) and include information about there event_genre of the 'event' table. 

Maybe it is easier to show you the page.

http://www.tokyoartantiques.com/en/gallery-list/

for now, I have a check box in the accounts table to show this, but it would be easier if I could refer to the event table.

Hiroko

By claire - February 11, 2015

Hi Hiroko

I think you should probably do this using multiple getRecords or mysql_select calls to keep it simple. Do you know how to do this?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/