Skip to content

Month: March 2010

How To Display Big Image In VirtueMart Product Details Page?

First open\components\com_virtuemart\themes\default\templates\product_details\flypage.tpl.php

find the line:

<?php echo $product_image ?>

and change it with this one:

<a href=”<?php echo $mosConfig_live_site; ?>/components/com_virtuemart/shop_image/product/<?php echo $product_full_image; ?>” target=”_blank”>

<img src= ” <?php echo $mosConfig_live_site; ?>/components/com_virtuemart/shop_image/product/<?php echo $product_full_image; ?>” class=”fullvmimage” >


then style the class=”fullvmimage” somewhere in the css files

How to redirect to

Enter this code in your .htaccess file after the

RewriteEngine On line:

RewriteCond %{HTTP_HOST} ^your-site\.com [NC,OR]
RewriteCond %{HTTP_HOST} ^(www\.)?blablabla\.bg[NC]
RewriteRule (.*)$1 [L,R=301]

Redirect 301 /home

How to create a 404 redirect page in Joomla

Copy the error.php file from your-site/templates/system to your template main directory.

Then just open the error.php file from your Joomla template and edit it.

If you want to redirect to a sitemap on your site  for example use this code at the top of the error.php file before everything in the file write:


defined( '_JEXEC' ) or die( 'Restricted access' );
if (($this->error->code) == '404') {