News:

Support the VirtueMart project and become a member

Main Menu

Custom field Title in Tab.

Started by Seoirserob, June 03, 2013, 16:16:03 PM

Previous topic - Next topic

Seoirserob

Hi,

I have a template I'm reworking for a website, and have successfully included custom fields (Editor boxes in Vm administration of each product). The titles of these I have laid out in an unordered list as tabs which then call each of the positions.

Currently the title is created and individually loaded from the Language file as follows:

<li><a href="javascript:void(0)" rel="#customtab001"><span><?php echo JText::_('COM_VIRTUEMART_CUSTOMTAB001'?></span></a></li>

This works fine and loads the title.

However, I wish to load the title directly from the custom field it relates to, as these fields are now to change for each product.

I'd like to keep the same 5 tabs, but load the different custom fields based on the same positions, with the title changing automatically.

Any thoughts on how to call the title of each field?

Thanks in advance.

Seoirserob


Seoirserob

By the way I'm using Joomla 2.5.9 and VM 2.0.20b

Just want to load the Title of a custom field as entered in the VM administration.