Friday, 20 May 2011

Joomla Google Maps Plugin coming up BLANK

I'd added the Joomla Plugin Google Maps and where the map should be was coming up as a white space.

to fix this I set the plugin to Parameters to "Load with mootools?" to timeinterval.

then the map showed up

Friday, 6 May 2011

Error: Thumb default height or width is set to 0! Cannot resize the image

Error: Thumb default height or width is set to 0! Cannot resize the image

Go to Virtuemart Admin page > Configuration > Site > Layout

and set the thumbnail width and height.

simples!


Joomla virtuemart adding additional Product Images

Steps to add additional images in Product details page:

1. Go to virtue mart admin panel
2. List out your products.
3. Click on media button. A new popup will be opened. ( the media button is on each image listing row - in the 3rd column along )
4. Click the new button to add additional images
5. Choose additional image s as option, give appropriate height and width for the image
6. Click on save button.


The you may need to change your flypage to make sure it shows all additional images.

to do this open

components/com_virtuemart/themes/default/templates/product_details/


open the flypage you want to change and place this code where you want the images to show ( wrapped in php tags ;)

echo $this->vmlistAdditionalImages( $product_id, $images )

Thursday, 5 May 2011

How to sort Canonical linking on Google

Seemed to having a problem with the canonical linking of the site for Glastonbury B&B , Glastonbury Self Catering , Polzeath and Surfing Religion websites.

What i needed to do was specify your preferred domain with google:

1. On the Webmaster Tools Home page, click the site you want.
2. Under Site configuration, click Settings.
3. In the Preferred domain section, select the option you want.

You may need to reverify ownership of your sites. Because setting a preferred domain impacts both crawling and indexing, we need to ensure that you own both versions. Typically, both versions point to the same physical location, but this is not always the case. Generally, once you have verified one version of the domain, we can easily verify the other using the original verification method. However, if you've removed the file, meta tag, or DNS record, you'll need to repeat the verification steps.

Tuesday, 26 April 2011

My Facebook Fanpage has dissapeared - how do I get it back

I wrote this blog recently My Facebook Fanpage has dissapeared. The good news is we got it back. It took a week!! There was any contact from Facebook at any point. Anyway if you want to do the same then I highly recommend following the tips here Get your Fanpage Back and I really hope you have some success also.

Friday, 15 April 2011

virtuemart how to show categories on the front page

There's a simple way to do this.

YOU DO NOT NEED TO ADD AN EXTENSION

All you have to do is go to the 'menu' button in administrator

go to the 'mainmenu' and change the button type to 'virtuemart' and enter the category you want to display.

Wednesday, 13 April 2011

virtuemart how to show category images

Apperently this is common problem, which doesn't help when looking around the internet for a soution. Heres some of the google search phrases I'd made.

virtuemart showing category thumnail

virtuemart show category images

This page http://www.gjcwebdesign.com/no-thumbnail-images-in-virtuemart-category-view.html says that normally its a chmod problem but it wasn't in my case.

After searching countless posts I found where the code generating the category display would be. its on

themes/default/templates/common/categoryChildlist.tpl.php

and the code showing the category image is

ps_product::image_tag( $category["category_thumb_image"]

that was present so I wrote Hello World

And it worked - this means that the code is present that I need to display.

So why no thumbnail !!

This is when the pin dropped. Well in Virtuemart you have a category main image and thumbnail and although I'd added a category full image I hadn't added a thumbnail - Doh!!!!