You can now add custom fields without any php coding. Just administrate your fields and display them in the templates, where you want.
Just follow this simple steps:
First of all if you are an inexperienced user, we recommend to check first our template tutorial. There are four places where you may want to customize your fields appearance.
The fields are automatically displayed by the code blocks for "user profile" and "auction":
1. bids.html.php / editUser() or editAuction() method
/**
* CUSTOM Fields
*/
$Fi = & FactoryFieldsFront::getInstance();
$fields = $Fi->getHTMLFields(__SECTION__, $user->userid);
$smarty->assign("profiler", $fields);
OBS: __SECTION__ is one of "user_profile" or "bids".
2. t_myuserdetails.tpl or t_editauction.tpl
{foreach from=$profiler item=field}For manual positioning in the template just display the {$profiler} smarty list element that you want:
<tr>
<td>{$field.field_name}</td>
<td>{$field.field_html}</td>
</tr>
{/foreach}
{$profiler.0.field_name}: {$profiler.0.field_html}
On the auction page (t_auctiondetails.tpl) you can manually add your fields by inserting {$auction->custom_field_db_name}.
{$auction->my_custom_field_db_name}
or in the user page (t_userdetails.tpl) the same but the smarty variable name is {$user->my_custom_field_db_name}
By default the fields setup as searchable are displayed automatically by this sequence of smarty in the t_search.tpl:
{foreach from=$profiler item=field}
<tr>
<td>
<table>
<tr>
<td>{$field.field_name}</td>
<td>{$field.field_html}</td>
</tr>
</table>
</td>
</tr>
{/foreach}
Auction fields can be manually added in the list template in the specific/ desired list template cell: t_listauctions_cell.tpl / t_myauctions_cell.tpl / t_mybids_cell.tpl / t_mywatchlist_cell.tpl / t_mywonbids_cell.tpl
<div>You can choose to display the field as a filter link:
<span>ZIP</span>
<span >
{$current_row->zipcode}
</span>
</div>
<div id="auction_date">
<span>{$smarty.const.bid_start_bid_text}</span>
<span id="auction_price_bold">
{$current_row->initial_price|string_format:"%.2f"} {$current_row->currency_name}
</span>
</div>
<div>
<span>ZIP</span>
<span >
<a href="index.php?option=com_bids&task=showSearchResults&zipcode=
{$current_row->zipcode}">
{$current_row->zipcode}
</a>
</span>
</div>
<div id="auction_date">
<span>{$smarty.const.bid_start_bid_text}</span>
<span id="auction_price_bold">
{$current_row->initial_price|string_format:"%.2f"} {$current_row->currency_name}
</span>
</div>
First of all check your Virtuemart version. Our Joomla 1.0.x component works with Virtuemart 1.0.x version and the Joomla 1.5.x Gadget Factory has support for Virtuemart 1.1.x version. For further requirements check here.
The Factory is providing three unique and very detailed VM gadgets for Windows which will work with any of the component version as long as the requirements are fulfilled. Since we are also Virtuemart users and we appreciate the powerful tool, we wanted to bring also a significant contribution to the community with this special featured gadgets.
All three gadgets should be installed like described in our gadget configuration documentation. After this you can proceed with each particular settings.
VM Orders displays the latest VirtueMart (e-Commerce) Shop Orders information. Following information are available directly in the widget display:
VM Orders flyout contains in the title the order number and the order status. In the flyout are then displayed the following:
VM Orders has the following particular settings available:
VM Orders allows you to configure the display as follows:
VM Totals displays various VirtueMart (e-Commerce) Shop Reports information, representing one of the smallest reporting tool for Virtuemart but also the fastest and convenient one, making reports accessible directly on the Windows desktop. Following information are available directly in the widget display:
VM Totals flyout is available for cell 2, 3 and 4, displaying in the title the correspondent order name status and showing a graphical (bar type) representation with the monthly values. By clicking on the bars, a tooltip will display the exact value for that month. The flyout will display all the months fetched by the widget.
VM Totals has the following particular settings available:
VM Totals allows you to configure the display as follows:
VM Reviews displays the latest VirtueMart (e-Commerce) Product Reviews information. Following information are available directly in the widget display:
VM Reviews flyout contains in the title the product name which received the rating. In the flyout are then displayed the following:
VM Reviews has the following particular settings available:
VM Reviews allows you to configure the display as follows:
After installing and configuring the website extension you are now ready to install the widgets on any of your computers, which are having a internet connection.
Download the widgets and components only from our site! Our company has all the copyright marks of this applications and you will avoid exposing your data to any malicious code developers who may altered our components!
Locate on your HDD the widget you want to install and double click on it.
After the widgets are installed they will appear automatically on your desktop (on Windows Sidebar for Windows Vista). Then go to the Widget options in order to configure it.
On the first tab "Connection" type in the URL of your site where you installed and configured the Gadget factory Extension. The main URL is sufficient, you wont have to type in any component path, etc. Type in the password you required at the Extension configuration and set in a refresh interval.
The "Connection" tab is standard for all our widgets. The "Settings" and "Display" tabs may vary depending on each widget functionality. Generally the "Settings" tab is very specific to each widget and the options are functionality dependent. On the "Display" tab, you can choose a widget theme (background) and separated colors for the various information displayed in the widget. A standard setting is the Gadget Title.
Here you can ad for example the URL of the website, in case you have several website to maintain and to be able to differentiate them better on the desktop.
All our gadgets are comming with a ini-file, where all the setting are saved in case you remove the gadget from the desktop, then add it back. This will save users allot of time, without having to configure again the gadget. Note that the ini file saves only the last instance of the gadget, so in case you have multiple instances of the same gadget only the last saved values will be taken under consideration. The ini-file will be deleted from the system, when unsintalling the gadget.Please note that the ini-file contains the access password to the fetched data, so be carefull if you are using a shared computer. if the data is ultra confidential, then we recommand the install only on your own personal computer.
The last tab displays a short note and the link to our website in order to check for documentation and updates.
Data Refreshing.
The widget data will be automatically refreshed according to the value you entered in the "Connection" tab. If you need to refresh the data now (manually) then just press the the widget logo.
This will manually refresh all the widget information, displaing then the most recent information available on your site.
For more information and settings check also the Virtuemart Gadgets documentation.