Premium Plugin
-
January 30, 2014
Create the Dropbox app use this following url http://www.samdoit.com/news/how-to-create-dropbox-app
Go to your admin panal menu click the menu by
System-->Tools->Multibackup
then click the button called
Check Available Backup
all the already taken bakup files are uploaded to Dropbox what are already linked to this site.
-
January 23, 2014
Create DropBox app
- Use following link to create new app in DropBox .
-
Create App using following image shown.
Then click the button “Create App” . then you hava a access key and secret look like following image
After Creating DropBox App login to your Magento store admin go to
-
January 11, 2014
Use of session in Magento:
Let’s start this blog with the session definition, ‘It is a way to preserve certain data across subsequent accesses’. This enables you to build more customized applications and increase the appeal of your web site. Now, Let’s see how to set ,unset and retrieve a session in Magento.Generally, Magento session is handled by core Module ‘core/session’. We use “set<session name>” to set a session variable. For more understanding, look on to the following syntax and example.
Mage::getSingleton(‘core/session’)->set<YOUR SESSION NAME>(<VARIABLE NAME>);
Example :
$myValue =’test’;
Mage::getSingleton(‘core/session’)->setMyValue($myValue);In this example, I have declared
-
January 11, 2014
Magento e-commerce has a standard newsletter function that is really useful if you get it to work . This post will highlite the major issues why your newsletter is not sending to your customers.
- Magento schedules and sends the newsletters using a cronjob script called “cron.php” located in you Magento installation root folder. To schedule this cronjob you need to access your web server using ssh (You can use for example Putty). For more information see the Magento wiki.
- If you don’t want to schedule the cronjob you need to go twice to the cron.php file in your browser e.g. www.yoursite.com/cron.php every time you want to send your newsletter. The first time it will schedule the newsletter and the second time it will send the newsletter.
- After login with ssh type: crontab -e This will open an editor. It is possible that the contents will be empty if you have never set up crontabs for the current
-
January 11, 2014In this blog we will see advanced operations in model and collection, to execute complex sql queries. We will look into collections and details of resource models.
First let’s look at model and collection architecture in magento. If you look at a magento model class it extends Mage_Core_Model_Abstract which intern extends Varien_Object.The class Mage_Core_Model_Abstract has function like getId(), load(), save(), delete() etc .
SQL and Mysql4 Resource FilesMysql4 resource files, as I mentioned earlier are used to perform database queries on tables. Below will list how we do sql operations inside resource files.
SELECT QUERY
Suppose we have the file Excellence_Test_Model_Mysql4_Test resource file.
<?php class Excellence_Test_Model_Mysql4_Test
-
January 11, 2014
Magento Wordpress Related Post using fishpig integration display Related Post
-
January 11, 2014
If you are modifyed some file automaticaly like log , cache in any application , web site on development or live . you does`t want to update that particular file into your git repository .
You have a question about How to change Git updated index to previous index setting , just use this following comment in your comment line with current available git copy of your folder .
find {your folder} -type f -exec git update-index --assume-unchanged '{}' \;
for example from magento change the index of media folder
find media/catalog/product/v/ -type f -exec git update-index --assume-unchanged '{}' \;
-
January 11, 2014
Hi friends,
Some people ask about the difference betweenMage::getModel() and Mage::getSingleton()
in Magento. Here is the difference between these two:
Mage::getModel('module/model')
will create a new instance of the model object (if such object exists in configuration)
So if we write:Mage::getModel('catalog/product'),
it will create new instance of the object product each time. So,
$p1 = Mage::getModel('catalog/product');
$p2 = Mage::getModel('catalog/product');
Then $p1 is a one instance of product and $p2 is another instance of product.While Mage::getSingleton('catalog/product') will create reference on existing object (if object does not exist then this method will create an instance using ::getModel() and returns reference to it).
So, if -
January 11, 2014
Magento Wordpress Integrated Search
Magento Wordpress integrated search is used to search your blog content in your magento search.view your blog content results in magento front end .
Content Search From
* wordpress blog
* Hesk Knowledgebase
* Drpal content
* Joomla content
comeing soon...
-
January 11, 2014
Here is the detail for Get current store id in magento
Magento Get store data.
Mage::app()->getStore();
Magento Store IdMage::app()->getStore()->getStoreId();
Magento Store codeMage::app()->getStore()->getCode();
Magento Website IdMage::app()->getStore()->getWebsiteId();
Magento Store NameMage::app()->getStore()->getName();
Magento Is ActiveMage::app()->getStore()->getIsActive();
Magento Store Home Url.Mage::app()->getStore()->getHomeUrl();