-
efg and taxonomy
Hi,
In use efg (extended form generator) with tl_taxonomy.
In Taxonomy i got 2 terms and sub-terms
in efg i ve select tl_taxonomy.name i dont have any chance to select only 1 of my terms.
In fact this select is mixed of two terms.
How can I bulid select menu(db) whit single term from taxonomy ?
-
Re: efg and taxonomy
Hi
I solved problem temporary i ve write
condition:
tl_taxonomy.name = 'item' OR tl_taxonomy.name = 'item2'
but i will be very nice to develop efg like catalog_ext in future to be able select items from tl_taxonomy or any others data from database.
best regards
-
Re: efg and taxonomy
If I understand your problem correctly, you have a taxonomy something like this with 2 hierarchies:
[attachment=1:2tswkic8]taxonomy definition.jpg[/attachment:2tswkic8]
and you wish to select just one of the level 2 hierarchies.
I did this:
[attachment=0:2tswkic8]select field definition.jpg[/attachment:2tswkic8]
To begin with the words "If you want to exclude certain records, you can", confused me. It would be better stated as "Optionally, set a condition to include or exclude certain records"
-
Re: efg and taxonomy
continued...
the selection is then just:
[attachment=1:38allxlw]Taxonomy Selection.jpg[/attachment:38allxlw]
it also works in the FE
[attachment=0:38allxlw]Taxonomy Selection FE.jpg[/attachment:38allxlw]
Note: CSS yet to be defined so the layout is poor
-
Re: efg and taxonomy
hi thanks that s it but strange thing:
not working for me:(
-
Re: efg and taxonomy
I realise that there is more to do!
In the Catalog definition the field needs to be linked to the taxonomy as well:
[attachment=2:3jmidfhs]Catalog Defn 1.jpg[/attachment:3jmidfhs]
[attachment=1:3jmidfhs]Catalog Defn 2.jpg[/attachment:3jmidfhs]
[attachment=0:3jmidfhs]Catalog Defn 3.jpg[/attachment:3jmidfhs]
In the last shot only Species should be ticked but it works anyway
-
Re: efg and taxonomy
thanks for that of course You can ommit that and use pid of type
condition looks like that:
tl_taxonomy.pid = 16 (if 16 is pid of spices)
of course your example is more userfriendly dont have search for pid