23 Dec, 2024
In this artical we are discuss about what is modules and how to use modules in Python. The propensity of computer code is to expand. We can conclude that code…
The ACID properties—Atomicity, Consistency, Isolation, and Durability—are fundamental principles that ensure reliable transactions in a database. To know more about ACID Properties, This article focuses on two key properties: Atomicity…
MySQL has InnoDB storage engine, that strictly follow the ACID Model to prevent data corruption and results distortion from unexpected occurrences like hardware failures and software crashes. You don’t have…
A key idea in software development is the singleton design pattern, which offers a straightforward method of guaranteeing a class has a single instance and a global access point. This…
Within the profession of software engineering, design patterns are essential resources that help architects as well as developers effectively address common issues. The Factory Design Pattern is one such pattern…

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