Wednesday, July 7, 2010

How to edit mailfrom in joomla?

Mostly of the developer encountered problem in editing the default mailfrom in joomla
but there are many solution on this.
First Solution:
1. Go to site_url/
2. Edit the configuration.php
3.Find:
 var $mailfrom
4.Then Edit to the desired mail from

Second Solution:
1. Go to admin/global Configuration/Server
2. Edit Mail From Field.

3rd Solution:
1.Go to PHPmyadmin
2.databasename/jos_vm_vendor
3. Search the old mailfrom
4. Edit to the new one

Friday, July 2, 2010

How to display dynamically the category name in frontend,admin and also in email sent in virtuemart in the desired position?

Mostly in virtuemart display category name in the admin but you cannot control where you want to display.

Thursday, June 24, 2010

How to fix the selection of country if it did not select any country?

Just like this:













and it will remove all the data first inputed.

How to make the data still intact?
1. Go sitename.com/administrator/components/com_virtuemart/classes/
2. Open ps_userfield.php at line 696
3. Or find the code:
else if( formelement.options ) {
4. and after this code paste this code:
if(document.getElementById('country_field').value == ''){
                            alert('Country is required!');
                            return false;
                        } 

Then the bugs is fix.

How to fix the required fields issue in joomla virtuemart?

Notice:
this scenario exist when the user does not log in or sign in.
Here's the scenario how bugs exist in virtuemart:
1.You need to shop then select one product you want.
2.Add this product to cart.
3.Then Click check out.
4.Then click automatically the "Send Registration" button.
5.Try to put some text in other required field and click the "Send Registration" button again.

then after here's the picture:

















 as you observed just like others do even you filled the other required fields the label still in RED color.

then how to solve this?

1. You have to custom code the core code.
2. Go to yoursite.com/administrator/components/com_virtuemart/classes/
3. Open ps_userfield.php in line 664
4. Or try to find this code
if( !formelement ) { continue; }
5. Then insert this code after the code above
document.getElementById(required_fields[i]+'$div_id_postfix').className += 'temp';
6. And save it, now your problem is fixed.

try to comments if problem occur

Wednesday, June 9, 2010

What is a magento connect extension key?

Please don’t edit the page with the Extension key to your specific product - this is a generalized wiki article pertaining to Extension Keys in general.

The Magento Extension Key
Obtain an extension from Magento Connect
1. Click the link to Magento Connect if you need to go and find an Extension
2. Click "Get Extension Key", agree to terms, and then copy the extension key. 
Once you obtain the Extension Key from Magento Connect, follow the instructions below to install the Extension to your site. Pay special attention to the extension release: For example, if it is Beta you will need to configure your store to accept Beta extensions.
1. Sign into your Magento store admin 
2. Navigate to System > Magento Connect > Magento Connect Manager. 
3. Paste in the extension key and click "Install". If you run into any issues, consult the extension documentation forums on Magento.
If you need to configure your store to accept Beta or other releases.
1. Sign into your Magento store admin 
2. Navigate to System > Magento Connect > Magento Connect Manager. 
3. Select the "Settings" tab, and choose the "Preferred State"
4. Save Settings
5. Return to the Extension Tab, paste the extension key and click "Install"