Page 1 of 1

[SOLVED] CTLMM > vv connection entities

Posted: Fri Sep 09, 2011 10:21 am
by jack4ya
I've adressed the developer, but he's busy, so I'll be adressing the issue here:

Main issue at this time is the 'dependancy' between entities and vice versa.
I think my question is 'wider' than my module and possibly a good feature request candidate.

I've added my DNA so you can have a look. Apperently I can not send attachments. I hope this works: http://213.247.51.44/~artengland/module ... t.dna.html

Now focus on Artists and Galleries...
Now it's possible to add Artists to Galleries and Galleries to Artists. However I have to do it twice if I want a vice versa connection between to items.

Step 1)
Let say I want to connect Picasso (artist) to the MoMo (Gallery) So I need to go to artist (entity A) and connect it to gallery (entity B).
Step 2)
But then I also need to connect the MoMo (Gallery) to Picasso (artist) So I need to go to gallery (entity B) and connect it to artist (entity A).

What I would like it to avoid two steps and just have one. It might have to be a new option, I don't know. So the option to connect to entities together.

Expected end result:
Step 1)
Let say I want to connect Picasso (artist) to the MoMo (Gallery) So I need to go to artist (entity A) and connect it to gallery (entity B).
Step 2) nothing! Only a check:
When I go to gallery (entity B) I see it has already made the connections to the artist (entity A).

Question:
Is this already possible and did I miss it?
Or can it be done in another way?
Or do you need to implement it?

Re: CTLMM / Catalogue Like Module Maker > vv connection enti

Posted: Sat Sep 17, 2011 11:50 pm
by dmgd
I'm not sure I follow your "connect" meaning?

You have Artist connected to Galleries e.g. a field in artist has a dropdown or multi-select that connects the two.

You have a template that displays Galleries that Artiest A is shown simply show the Galleries field.
You want to all the Artist at Gallery A create a template that search all the Artist where the Gallery field is equal to Gallery A

You can call the same module inside it's self.
<ul>
{foreach from=itemlist item="items}
<li>{$item->name}
{cms_module module="YourModule" what="Artist" where_Gallery=$item->id}
</li>
{/foreach}
<ul>

I may have completely misunderstood your question.
Mark

Re: CTLMM / Catalogue Like Module Maker > vv connection enti

Posted: Mon Sep 19, 2011 12:12 pm
by jack4ya
Nope, you understood correctly!

I had just figured it out. Thanks nonetheless!