7 Posts
Xicaum
4 years ago
4
Topic

Hi...

I have try do use the Morrel's Tutorial, but I think it's not enough to me.

I have Laboratories and Equipment. I have an category and form for each one.

In the Equipment form I have a Select with a list of Laboratory (to do a relationship), and it's ok.

In the Equipment article, I can show the name of Equipment and a Link to its Laboratory. It's ok. 

But in the article of the Laboratory I can not put a list of Equipments and their respective links.

I want a simple relationship of one to many, where I have a article Laboratory and a list of Equipments of this laboratory. Because in Equipment article I already have a Laboratory link.

Get a Book for SEBLOD
4229 Posts
Kadministrator
4 years ago
3
Level 1

You would need to use sql field to query for related data saved in Equipment table.

7 Posts
Xicaum
4 years ago
2
Level 2

SQL Field is a plugin? Because is not a regular option in type field option.

4229 Posts
Kadministrator
4 years ago
1
Level 3

Hi,

yes https://www.seblod.com/store/extensions/19162

Another idea is to search Equiptments on your field, you could use form&list pack for that or module field + list module. Ofc you would need to create appropriate search&list type and set live value of the field to id of the article.

7 Posts
Xicaum
4 years ago
0
Level 4

I was solve my problem using core 42, but I was create another problem: my link appear in a wrong position.

I looked for information but could not find it.

I really don't know how I will put my links on a right place.

Get a Book for SEBLOD