Combined List and Item view?

16 views
Skip to first unread message

Mike Pearl

unread,
May 2, 2013, 2:46:28 PM5/2/13
to joomla-de...@googlegroups.com
How would you go about creating a single page which includes both a list and item view?  For example, let's say I have a table of artists (name, age, address, phone number, etc.), and another table with works of art with an "artistId' column to relate the two.  I'd like to create a single view with two columns.  On the left, with data about the artist, on the right a standard list view with that Artist's works of art.  The toolbar and search bar would allow the user to adding, sorting, filtering of the works of art, but they can also edit data from the 'artists' table.

Can someone point me to an example of how this might be done, or give me some advice on how to best approach it?

Thanks!

Mike  

Herman Peeren

unread,
May 2, 2013, 3:01:48 PM5/2/13
to joomla-de...@googlegroups.com
I won't say it is the best way to do it, but some years ago I started doing this using Doctrine ORM in Joomla. I made a custom component for a client of mine with performers who can have several acts. Both performers and their acts can have a description, pictures, videos etc. The solution to use Doctrine was very simple, but most work was to get several list-views working in one page: so much had to be changed. Like the buttons that react on a selection, the publish/unpublish-buttons too. It also was a lot of work to get it all working together with Smart Search and Josetta: they all assume a simple list or edit view. It is so basic in Joomla...

I will give a presentation on JAB13 about what I have done. I will publish it too. Workname: Jooctrine. Maybe that will be helpful.

- Herman
Reply all
Reply to author
Forward
0 new messages