24 Dec, 2024

Magento Get URL : Base Url , Skin Url , Media Url , Js Url , Store Url and Current Url

–> Access URL in phtml files 1. Get Base Url : Mage::getBaseUrl(); 2. Get Skin Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN); (3) Unsecure Skin Url : $this->getSkinUrl(‘images/imagename.jpg’); (b) Secure Skin Url : $this->getSkinUrl(‘images/imagename.gif’, array(‘_secure’=>true)); 3. Get Media Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA); 4. Get Js Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS); 5. Get Store Url : Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); 6. Get Current Url Mage::helper(‘core/url’)->getCurrentUrl(); Access […]

Share your Love
1 min read

How to use Banner Slider in Magento

I am showing you to use banner slider extension in magento. It’s really very simple.After installation, please go to CMS >> Manage Page, choose your cms homepage, and add following line of code to where you want to show banner slider. {{block type=’bannerslider/bannerslider’ template=’bannerslider/bannerslider.phtml’}}   After set this line of code, we have to upload […]

Share your Love
1 min read

Magento add manufacturer

–> To add manufacture attributes Login to admin panel goto Catalog >> Attributes >> Manage Attributes from the list of pages. Select Manufacture Attributes, and you can set Manufactures form there. Manufacturer attribute should be assigned to a product attribute. If Magento manufacturer attribute is created, we can add new manufactures name. For Logo Make […]

Share your Love
1 min read

Magento Show Product On Home Page

There are so many ways to show products on our Magento home page. Login to admin panel goto CMS >> Manage Pages >> Home Page from the list of pages. New Products Use below code to show “new Products” on our front page {{block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_homepage” template=”catalog/product/new.phtml”}} For All Products Login to admin panel […]

Share your Love
1 min read

MySQL PHPMyAdmin: Increase Upload Limit

MySQL PHPMyAdmin is a popular web-based database management tool that allows users to interact with MySQL databases through a user-friendly interface. While PHPMyAdmin is a versatile tool, it does come with certain limitations, one of which is the default upload limit for importing databases. In this article, we will guide you on how to increase […]

Share your Love
2 mins read

Power full way to Restart Apache2 server in Ubuntu

Restarting the Apache2 server is a regular procedure when operating an Ubuntu web server that could be required following updates or configuration changes. This tutorial will show you how to use the systemctl or service command to restart the Apache2 server on Ubuntu. Using systemctl to Restart Apache2 For Ubuntu 16.04 and later, use the […]

Share your Love
1 min read

Enabling Ubuntu Apache Htaccess Files

To make .htaccess files work as expected, you need to edit this file: /etc/apache2/sites-available/default Look for a section that looks like this: <Directory />    Options FollowSymLinks    AllowOverride None</Directory><Directory /var/www/>    Options Indexes FollowSymLinks MultiViews    AllowOverride None    Order allow,deny    allow from all</Directory> To <Directory />    Options FollowSymLinks    AllowOverride all</Directory><Directory /var/www/>    Options Indexes FollowSymLinks MultiViews    AllowOverride all    Order […]

Share your Love
1 min read