Intengration for ZOO

4 years 8 months ago #1 by Marta
Intengration for ZOO was created by Marta
Hello first of all congratulations and thanks for developing such useful extensions.

My query is related to the integration of Myshortlist with Zoo. I am a little clumsy and I have little experience. I hope you can help me.

1. I need to increase my favorites list data.
Now he only manages the title. Is it possible to increase the zoo data fields in the favorites list?

Attachment Capture

Please Log in or Create an account to join the conversation.

4 years 8 months ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Intengration for ZOO
Hello and thank you for posting.
For some reason, your message was posted twice, with a different username. I will post this answer on both topics, to make sure you receive it.

MyShortlist allows users to create their own custom layouts for each component. To create such a layout, you could copy the file
modules/mod_myshortlist/tmpl/zo_item.php
to
templates/your_template/html/mod_myshortlist/zo_item.php
and then customize it as much as you require.

If you need help with the customization, I could happily help.
For more information on that, please contact me at mavrosxristoforos@gmail.com
Thanks again.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

4 years 4 months ago #3 by Aaron B
Replied by Aaron B on topic Intengration for ZOO
I was wondering, I can't figure it out and have been trying to for over a month. I want to add the category under the title for Zoo on the Shortlist. I'm trying to edit the zoitem.php file. How do I add the category? I'm pulling my hair out trying to do this...

Please Log in or Create an account to join the conversation.

4 years 4 months ago - 4 years 4 months ago #4 by Christopher Mavros
Replied by Christopher Mavros on topic Intengration for ZOO
If you are familiar with PHP, then you just need to use the
$item
and
$item->object variables
to get the Item ID and the Category ID that is probably already loaded, and write something like
$db = JFactory::getDBO() 
$db->setQuery('SELECT * FROM `zoo category table here` WHERE `id` = "category ID here"');
$zoo_cat = $db->loadObject();

to get the category. After that, you should use the $zoo_cat variable to show whatever you need from it.
Thanks again.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros