-- url of the page with the problem -- :
aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 4.5.1
-- PHP version -- : 5.5
Hi
I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.
I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :
{tab Localisation}
{zhgooglemap-marker: 15; placemark}
So I created a new tab and put it between "specifications" and "comments". To display a map in it, I read that I had to use the custom fields. So I created a new field.
My problems are following :
- in specifications tab, I see the code "{zhgooglemap-marker: 15; placemark}" ; but I don't want to see this information in specifications tab.
- in the new tab, the map doesn't display. I only see the code.
In the view "show-tabs", after "specification_li", I added this one :
<li id="hikashop_show_tabular_custom_li" class="hikashop_tabs_li ui-corner-top">
<a onclick="displayTab('hikashop_show_tabular_custom');" href="javascript:void(0);"><?php echo JText::_('Attractivités');?></a></li>
Then :
<input type="hidden" name="selected_tab" id="selected_tab" value="hikashop_show_tabular_description"/>
<?php
if(!empty($this->element->extraData->bottomEnd))
echo implode("\r\n",$this->element->extraData->bottomEnd);
?>
</div>
<div class="hikashop_tabs_content" id="hikashop_show_tabular_custom"><?php echo $this->element->carte; ?></div>
I need help to display my map please
Then, I would like that in case the field "map" is empty, the tab doesn't appear. Could you help me with this problem too ?
Thanks a lot