SEO Optimization and Robots.TXT file

The robots.txt is a file containing information about which folders should be crawled and which should not by search engine bots. The default robots.txt file provided by joomla assumes that all CSS and js files are in the media folder, which is not the case of a lot of Joomla extensions (modules, components, plugins) and […]

How To Configuration Multilanguage Setup

Before do this, you need to check some things: – Make sure Joomla 2.5.x multilanguage setup is correct. http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf – Go to ‘Extensions’ – ‘Module Manager’ – switch from ‘site’ to ‘administrator’ in the filter dropdown list and publish Multilanguage Status. Then click on Multilanguage Status in the upper right menu line. If everything is […]

Translate Form Fields Using Language Keys

VirtueMart 2 allows you to translate many form fields by adding a language key. This is for all fields. We have an example: In a multilingual shop, you want to translate the gender-specific salutation (title) in the dropdown selection available in shopper forms. Take a look on this screenshot: Go to VM¬†Configuration > Shopper Fields […]

The Basics Of PHP Programming

PHP has a quite normal coding syntax and can be read quite easily. This tutorial focusses on coding format and technics of the VirtueMart code. PHP is space insensitive like html. A ; ends a line. The = sets a value to a variable. The () indicate a function call, the content of functions is […]

How to hide plugin Parameters in Joomla With VMCONFIG

Within Joomla plugins, there are manifest files that have the name <extension_name>.xml . They contain general information about the installation and parameters for the configuration of the plugin itself. In VirtueMart, those configuration parameters are used inside the component itself when creating a payment, shipment or a custom field. Since VirtueMart 3, you can hide […]

Code adjustments for VirtueMart 3

Templating and layouts In VM3 we introduce a new feature ShopFunctionsF::renderVmSubLayout($layoutName,AssocArray) you can call with it very easy small sublayouts, or minilayouts. They are stored in FE/sublayouts and can be overriden using /templates/yourtemplate/html/com_virtuemart/sublayouts. The main differences are in the cart layout. There is a new feature which allows you to display shopperfields in the cart. […]

SVN Download

VirtueMart Source Code VirtueMart manages its own SVN repository on the dev.virtuemart.net SVN Server. So it allows you to check out the latest source code! In order to obtain the Sources anonymously (read only) you need to know: SVN URL: https://dev.virtuemart.net/svn/virtuemart User: anonymous (no password required) This is the SVN command that fetches the repository […]

Extension Plugins

Extension plugins are used both in the front-end and the backend. They should be created as classes deriving from the base class ¬†VmExtendedPlugin: public function __construct (&$subject, $config=array()) { parent::__construct($subject, $config); $this->_path = JPATH_PLUGINS.DS.$this->getName(); JPlugin::loadLanguage(‘plg_vmextended_’.$this->getName()); } List with events and a description on what moment they are fired. onVmAdminController() This event is fired, when the […]

How to set up a development enviroment?

If you start developing for the project or just with VirtueMart you can set up a development environment with an IDE and a SVN program. We recommend you to use two programs below for working with VirtueMart and synchronizing the working directory with the local SVN repository: SmartSVN or TortoiseSVN http://tortoisesvn.net/downloads.html Eclipse for php or […]