-- url of the page with the problem -- :
192.185.143.110/~goodlook/store/product/1-bathmate
-- HikaShop version -- : Essential 2.3.0
-- Joomla version -- : 3.3
I am wanting my "Link" custom field to display like:
<span id="hikashop_product_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_name">
<a href="<?php echo $value; ?>" class="readon">
<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
</a>
</span>
Unfortunately that displays only the root url. If I do:
<span id="hikashop_product_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_name">
<a href="<?php echo $this->fieldsClass->show($oneExtraField,$value); ?>" class="readon">
<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
</a>
</span>
Then it renders as:
<span id="hikashop_product_custom_name_17" class="hikashop_product_custom_name">
<a href="/~goodlook/<a href=" http:="" goodlookingloser.com="" forums="" bathmate="" "="">http://goodlookingloser.com/forums/bathmate/</a>" class="readon">
<label for="forum">Forum</label>
</span>
So the <?php echo $this->fieldsClass->show($oneExtraField,$value); ?> renders the extra HTML, where I want ONLY the value to be rendered in that spot.
Any ideas - sorry I'm not PHP expert.