1. Marco_Scarpa
  2. Support
  3. Thursday, April 30 2015, 06:10 PM
this is the question.

i have a table on db call #__macroregioni and 4 field, populate the same field on plugin.
i have other table call #__regioni and 20 field, populate same fiend on plugin.

need to filter the second if the first is select example

first fied (value 1)

second field (value 3,6)


---

forst fiels (value 2)
second filed (value 1,2,4,5)


.i spossible to do join left to make relation between the table?

tnks
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry for late reply.

this is not a feature, but you can make this (need to be developers), try to read this topic https://www.easy-profile.com/support/two-drop-down-select-after-each-other-for-category-subcategory.html
  1. more than a month ago
  2. Support
  3. # Permalink
Marco_Scarpa Accepted Answer
thks so much... just one more question, this is look like a hack of pligin.. not possible to put on overrride... rigth? so need to apply avery time pluginis update
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
sorry, Joomla allow override only for template files :(

To do this you need to create another field type by copying these files and changing all name reference :
/administrator/components/com_jsn/hepers/fields/selectlist.php
/administrator/components/com_jsn/hepers/fields/selectlist.xml
into
/administrator/components/com_jsn/hepers/fields/selectlistnew.php
/administrator/components/com_jsn/hepers/fields/selectlistnew.xml

Change name:
in file /administrator/components/com_jsn/hepers/fields/selectlistnew.php
at line 14 replace
$_FIELDTYPES['selectlist']='COM_JSN_FIELDTYPE_SELECT'; -> $_FIELDTYPES['selectlistnew']='Custom Select field';
at line 16 replace
JsnSelectlistFieldHelper -> JsnSelectlistnewFieldHelper
at line 105 replace
selectlist -> selectlistnew

in file /administrator/components/com_jsn/hepers/fields/selectlistnew.xml
at line 5 replace:
selectlist -> selectlistnew

NOTE: we have not tried this but should work
  1. more than a month ago
  2. Support
  3. # 2
Marco_Scarpa Accepted Answer
ok i will try and keep update if work... tnks so much

Marco
  1. more than a month ago
  2. Support
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.