Intengration for ZOO
- Marta
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
9 years 4 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
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.
- Christopher Mavros
-
- Offline
- Administrator
-
9 years 4 months ago #2
by Christopher Mavros
Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
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 me@mavxr.com
Thanks again.
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 me@mavxr.com
Thanks again.
Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Aaron B
-
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
9 years 1 week 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.
- Christopher Mavros
-
- Offline
- Administrator
-
9 years 1 week ago - 9 years 1 week ago #4
by Christopher Mavros
Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic Intengration for ZOO
If you are familiar with PHP, then you just need to use the
and
to get the Item ID and the Category ID that is probably already loaded, and write something like
to get the category. After that, you should use the $zoo_cat variable to show whatever you need from it.
Thanks again.
Code:
$item
Code:
$item->object variables
Code:
$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
me@mavxr.com
If you like our extensions, please rate us on the JED!
Last edit: 9 years 1 week ago by Christopher Mavros.
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros