Adding a dropdown list with data from another table into a site view #957
Unanswered
fred-the-coder
asked this question in
Q&A
Replies: 1 comment
-
FYI, I did, nearly, as I expected. I.e. 2/ to display the dropdown list I called the combo layout in the site view code (default.php): Hope it helps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have a site view providing a list of items.
Fine.
In this site view, I want to add, beside the list of items, a combo field (dropdown list) listing data from another Joomla table.
How to achieve this?
1/ to retrieve the data, I can add a Custom get to add it in the site view.
There, I have already a dynamicGet of getListQuery kind, but I cannot add it in the site view as the main get is already setup.
Thus i will create a customGet for this.
Am i right here?
2/ then once, I have the data, shall I build the dropdown list manually as custom code? by generating the HTML code with PHP.
Or can I do it by using a JCB feature that I don't know?
Hope my questions are clear enough!
Thanks for your help.
Best regards.
Beta Was this translation helpful? Give feedback.
All reactions