integration ZOO item
- liontv
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
9 years 5 months ago #1
by liontv
integration ZOO item was created by liontv
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 5 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 integration ZOO item
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.
- liontv
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
9 years 5 months ago #3
by liontv
Replied by liontv on topic integration ZOO item
Thanks I have already found where the elements of zo_item.php are added.
What do I have to write to do this?
Code origina line 22l:
y yo quiero hacer
Code edit:
tal vez algo como esto?
Greetings and thanks
What do I have to write to do this?
Code origina line 22l:
Code:
<div class="myshortlist_item">
<div class="myshortlist_item_left">
<?php if (file_exists(JPATH_SITE.'/'.$pic)) { ?>
<img class="myshortlist_zoo_thumb" src="<?php print $helper->base.$pic; ?>" alt="<?php print $item->object->title; ?>">
<?php } ?>
<div class="myshortlist_item_title">
<a href="<?php print $item->link; ?>"
class="myshortlist_link myshortlist_zoo_link"><?php print $item->object->title; ?></a>
</div>
</div>
y yo quiero hacer
Code edit:
Code:
<div class="myshortlist_item">
<div class="myshortlist_item_left">
<?php if (file_exists(JPATH_SITE.'/'.$pic)) { ?>
<img class="myshortlist_zoo_thumb" src="<?php print $helper->base.$pic; ?>" alt="<?php print $item->object->title; ?>">
<?php } ?>
<div class="myshortlist_item_list">
<ul>
<li><a href="<?php print $item->link; ?>"class="myshortlist_link myshortlist_zoo_link"><?php print $item->object->title; ?></a>
<li><?php print $item->object->[b]elementA[/b]; ?></a> // What do I have to write to solve it?
<li><?php print $item->object->[b]elementB[/b]; ?></a>
<li><?php print $item->object->[b]user[/b]; ?></a>
</ul>
</div>
</div>
tal vez algo como esto?
Code:
<?php echo $this->item->getElement('4f30da5c-b154-4966-a1b3-6fe2d3bfa4f4')->render(); ?>>
Greetings and thanks
Please Log in or Create an account to join the conversation.
- Christopher Mavros
-
- Offline
- Administrator
-
9 years 5 months ago - 9 years 5 months 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 integration ZOO item
Hola de nuevo.
E respondido a tu email.
Gracias.
E respondido a tu email.
Gracias.
Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
Last edit: 9 years 5 months ago by Christopher Mavros.
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros