(http://i57.tinypic.com/3143uow.png)
I want to add a box like the image attached with the following functionality:
- Ask a question
- Compare
- Send to a friend
- Print
this really is nothing to do with VM or this forum - it is simply a Joomla module with some links
either search for something similar or make one - even with a custom html module it would be possible (except compare which you will need an extension for)
Hi,
Ask a question, send to a friend and print are Joomla/Virtuemart functions.
My question is, where can I find the code for this functionality?
Ask a question, print, send to a friend
simply links formed in the default.php
e.g.
$askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE);
or $link = 'index.php?tmpl=component&option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->virtuemart_product_id;
echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon',false,true,false,'class="printModal"');
$MailLink = 'index.php?option=com_virtuemart&view=productdetails&task=recommend&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component';
echo $this->linkIcon($MailLink, 'COM_VIRTUEMART_EMAIL', 'emailButton', 'show_emailfriend', false,true,false,'class="recommened-to-friend"');
Ok I need this so I can design a box in the product details page and then put these codes in the box.