Thursday 29 September 2011

Customise Virtuemart Manufacturers Logos

I'm using a Joomla module called mod_vm_manufacturers_logos  - Which displays the logos of my Manufactures for me.  I've got it to look like this



Which you'll be able to see on the website Cornwall Clothing Shop when it goes live.

Any way I need to do a couple of things here.  Firstly I wanted to limit the images to 6 and secondly exclude one of the manufacturers.

OPEN  modules/mod_vm_manufacturers_logos/helper.php

FIND

$query_all .= "ORDER BY m.mf_name ASC";

REPLACE WITH

$query_all .= "WHERE m.manufacturer_id != 8 ";
$query_all .= "ORDER BY m.mf_name ASC";
 $query_all .= " LIMIT 0, 6 ";

Tuesday 27 September 2011

Virtuemart Setting the No Image Image.

Swapping the no-image.gif may not be enough.  You also need to go in to the administrator panel

> virtuemart

> configuration

> scroll down to 'display'

> then on the dropdown list next to "no image" image - and select 'noimage.gif'

Monday 26 September 2011

Virtuemart Additional Images not working.

Last week I was having this weird image problem adding additional images to Virtuemart through the 'media' button.

This is a temporary solution until I get round to looking at why the code doesn't work.


* save the picture with better name.

* go into the database and duplicate an entry , like

INSERT INTO `jos_vm_product_files` (`file_id`, `file_product_id`, `file_name`, `file_title`, `file_description`, `file_extension`, `file_mimetype`, `file_url`, `file_published`, `file_is_image`, `file_image_height`, `file_image_width`, `file_image_thumb_height`, `file_image_thumb_width`) VALUES
(13, 649, '/components/com_virtuemart/shop_image/product/LJstripeysweatshirt4.jpg', 'Stripey Sweat Shirt', '', 'jpg', 'image/jpeg', 'http://www.oceanblueclothing.com/components/com_virtuemart/shop_image/product/LJstripeysweatshirt4.jpg', 1, 1, 1600, 1600, 120, 120);

Change the file names and Product Id accordingly.

* you'll need to ftp your full size image into
components/com_virtuemart/shop_image/product/

* ftp your thumbnail into  components/com_virtuemart/shop_image/product/resized

the filename of the thumbnail should be the same as full image but have '_120x120 at the end.  For example

FULLSIZEIMAGENAME_120x120.jpg

This will then work.  I'll get back to you with a full solution :)


Saturday 24 September 2011

Virtuemart - Adding attributes issue and using Child Products

I'll try and  put together a tutorial for this and write and more descriptive blog about this soon. However here's some notes on the issue.

#the problem : I need to stock inventory all Atrributes in Joomla Virtuemart.

Solutions: First of all I came across this Component Easy Stock Control  but its a commercial solution that cost almost £100 and was written a couple of years back.

Another solution is to make Child items of a product - you could then make a SKU for each item.

In the scenario I'm working on we have 2 attribute - Size and Colour.  For this I could use Colour as a child product and then have a size list for each one.

This forum post explains what needs to be done Attributes / Child Products and the relevant manual information is here Virtuemart Manual Attribute and Child Products .  However I am getting this error when adding an attribute 'Error: At least one attribute name is empty'   and 'Error: Saving the attribute failed.'

I have though found a solution on how you can set up Child Products.



> Set up a Main Product
> on the 'products list' go to the table column 'Clone Product' and clone the products you want a child of.
> change the name and SKU - ie add the colour to the end of the description
> repeat this process for all your colours

> go back into the parent product you've created and scroll down to 'Extra IDs' here you need to add the IDs of the child products you want to appear on the Parents product page. 


there's a lot more to come from me regarding this, as I'll need to tweak this a fair bit so it looks really good. 

Friday 16 September 2011

Joomla Facebook Fanpage Fanbox not working

Here's a real quick one.  However I didn't find this solution on Google so though I'd blog it just incase someelse is looking.

PROBLEM:  when visiting one of me websites a I couldn't see any of the photos or comments in the Fanbox.  I then checked all my other sites and the problem was the same.

SOLUTION: I followed the link for the widget and in the process it took me out of 'Use Facebook as Fanpage' mode and this solved the issue.

Wednesday 14 September 2011

Customising a Virtuemart Joomla Review Modules to show random reviews

In my last post 4 Modules to Show Joomla Virtuemart Reviews
the modules I went through unfortunatley don't quite do what I need it to do.  In fact 2 are commercial and the other about listing products and not reviews.  Although I don't mind paying for modules if needed it's something I like to avoid if I can't pass the costs on to the customer.

So that leaves this one.

VirtueMart Latest Customer Reviews




Das "The "Virtuemart Latest Customer" Reviews Module displays the last commentaries or costumer reviews that your clients have placed in your Virtuemart shop in respect of your products in a module position. Besides text reviews, rating systems can also be displayed. By the implementation of various parameters, the following settings can be adju ...

Only thing is it gave me back duplicated results where I have copied Reviews over to similar products and I would like the list to be Random - and not the last one.

Open


modules/mod_latest_VM_reviews/helper.php

on line 24 



CHANGE


$query =    'SELECT


TO

$query =    'SELECT DISTINCT

CHANGE LINE 31 TO

 . ' ORDER BY RAND()'


That should be it :)

Tuesday 13 September 2011

4 Modules to show reviews on Joomla Virtuemart

It's taken me a while to find a few options on how to display review on our Joomla Virtuemart installation.  Here's what I found

##############################

VM Reviews Factory -

...the easiest way to display VirtueMart Reviews.

    display VirtueMart Reviews

    showing product name, review, rating, poster name

    including link to reviews page and product page

    configurable number of last reviews to display.


##################################

VirtueMart Latest Customer Reviews


Das "The "Virtuemart Latest Customer" Reviews Module displays the last commentaries or costumer reviews that your clients have placed in your Virtuemart shop in respect of your products in a module position. Besides text reviews, rating systems can also be displayed. By the implementation of various parameters, the following settings can be adju ...



####################################

ENY Virtuemart Customer Reviews Pro

Our module is able to display the most recent as well as random customer reviews. You decide the number of reviews to be displayed. Moreover, you can determine the categories from which a customer review will be displayed You can also determine a review's character length. The stars for the rating system are featured in nine different colors. ...



#####################################

Virtuemart Top Products Module

Our Joomla! Virtuemart Top Products Module presents your top items to your customers. And it's up to you to determine whether these are to be the products that sell best or the ones with the best reviews. Selection according to best reviews or largest sales volume Activating and Deactivating of all product characteristics options. Option t ...

Monday 12 September 2011

US Social Media report

When making plans for development and changes to websites I've started to become slightly obessesed about stats. By anaylising stats we can make informed decisions on where to make improvements.

My latest find is on a US Social Media report that tells us about what social media sites we should be using for what groups.


Social media websites accessed from mobiles

46 531   facebook
11 453  twitter
6031  linkin
4047  myspace
2112  photobucket

Check the report out at []Social Networking report

Friday 9 September 2011

Create a Wordpress website from scratch

I don't often make my websites with Wordpress but sometimes it fits the bill for what needs to be achieved.  The other thing is from the feedback I recieve the backend is much easier to get on with.

Any I thought it may be of interest to put down my notes on how to create a personilsed Wordpress website.

After installing the Action  Adventure Theme in Wordpress the next stage was to change the header  text for a business card image.

Wordpress Replace Title with a Logo -

The above link isn't correct for my theme but it's given me a lead.  I  can see from Firebug the tag I need to work at is
< div id="site-title" >

This is where you need some software that can search a whole heap of  pages for the tag as it doesn't appear in the wp-content/themes/adventure-journal/header.php code as  mentioned above.

I found the div title in functions.php

Next I changed the code

< a href="" title="" rel="home">
                  < ?php bloginfo( 'name' ); ?>
                 

for




and then get rid of the < div id="site-description" >  completely.

which is right underneath - so i put '//'  infront of $sitedescr to  cancel it out 


ADDING A NEW FONT TO THE TEMPLATE

I'd like to add this set for a font "Palatino Linotype", "Book Antiqua",  Palatino, serif


its line 21 of wp-content/themes/adventure-journal/style.css

wordpress get rid of posted on text

FIND in wp-content/themes/adventure-journal/functions.php

function ctx_aj_posted_on()

and take out the text and links from this function.

Wordpress get rid of Categories box
in wp-content/themes/adventure-journal/loop.php

FIND    


and delete all the way down to


and delete

Wordpress how to take off comments

Settings >> Discussion >> uncheck "Allow people to post comments on new  articles"


However this may be over ruled on individual pages. If 'Wordpress  changing setting discussion uncheck Allow people to post comments on new  articles ' hasn't worked for you then try this.

> go to the page that needs changing

> click on 'screen options' tab

> then click on the tick box for 'Discussion'

> a new box will appear further down the page - Under 'Discussion'  untick Allow comments.


how to show youtube video on wordpress

Use the EMBED code from Youtube and paste it into the HTML tab of your  post.

Add a Gallery to your Website

Here's a couple of blogs of interest

40 Wordpress Galleries

10 best galleries

Out of these the Lightbox gallery for Wordpress catches my eye 
First things first though - it's time to take a backup of the site as it  is at present.

Thursday 8 September 2011

Joomla - Join the Conversation Twitter Box

Joomla - Join the Conversation Twitter Box

You'll have noticed plenty of the Twitter - Join the conservation boxes around recently.

If you're using Joomla the this ones worth a check Tweet Display 1901

The only thing was at the bottom of the box I was getting a heap of characters my display didn't recognise

Here's how to get rid of it
open modules/mod_tweetdisplay_1901/mod_tweetdisplay_1901.php

online 96 find

< center >< div style="color:#999;margin-bottom:3px;font-size:9px"> **** ðñïþèçóç éóôïóåëßäáò< /span >< /a>< /div>< /center>


And change the text  ðñïþèçóç éóôïóåëßäáò - ;)

Wednesday 7 September 2011

Business Broadband Package.

This our current Business Package. Contact for more information Web Designer, Cornwall



Web Space

UNLIMITED

Monthly Bandwidth

UNLIMITED

24x7x365 Fast Support
Yes

1

10,000
£10 per year
New!
£10 per month
10,000
10,000
10,000
UNLIMITED
UNLIMITED
UNLIMITED
UNLIMITED
UNLIMITED
£19.99
Order Today

yes
yes
yes
yes
yes
yes
yes
Order Today

1
10,000
yes

UNLIMITED
yes
Order Today

yes
yes
10,000
yes
yes
£3.99 per month
New!
yes
yes
yes
yes
yes
yes
£19.99
yes
yes
£19.99
yes
Order Today

PHP4
yes
PHP5 with SOAP Support
yes
Perl
yes
Python
yes
RealAudio
yes
yes
yes
ImageMagick
yes
Ghostscript
yes
Zend Optimizer
yes
GD
yes



yes
yes
yes
yes
yes
£49
Order Today

yes
yes
yes
yes
Huge Graphics Archive
yes
yes
yes
yes
yes
50 Flash Bannersyes

100 Banner Templates
yes
22,500 Photos
yes
75,000 Web Art Images
yes
Order Today

yes
yes
yes
yes
yes
yes
yes
yes
New!
yes
New!
yes
New!
yes
yes
New!
yes
New!
yes
New!
yes
New!
yes
New!
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
Order Today

yes
yes
yes
Diverse Fibre Networks
yes
yes
Load Balanced Storage Systems
yes
yes
yes
Redundant Uninterruptible Power Supplies
yes
yes
yes
yes
yes
yes
Order Today


Break Frames
yes
Bookmark Us
yes
Set Home Page Link
yes
Logo Branding
yes
Frameless Popup
yes
Browser Entry
yes
Language
yes
Avenue Search
yes
Popup Page
yes
Order Today


yes
yes
yes
yes

yes