DecryptWeb Blog

Opensource Web Solutions

Month: January 2010

Blocks in Magento eCommerce

If you are using Magento Ecommerce, you might have created ‘Static Blocks’ for integrating custom functionality. I am listing here the method to create CMS Blocks. Suppose you want a custom box to be displayed on right column. 1) Go to admin section there is menu ‘Static Blocks’ in ‘CMS’. 2) Click ‘Add New Block’. […]

encode and decode string with base64

Many use encoding and decoding on daily basis including me, so once I made a simple script for encoding and decoding the input string with base64. base64.txt Instruction: 1) Download the file and save the text file as PHP file. 2) Place the file in your root directory. 3) Execute the file from browser. 4) […]

Generate XML

XML files are used for various functionalities. We can develop XML files by using PHP. If you have to develop very small project, you can use XML files for saving data instead of MySQL or any other databse with PHP, which will be easy for maintaining and response time will be reduced. I am listing […]

Joomla essentials

Joomla is a very great CMS. I am listing below important variable used in joomla. JPath is used to get the directory path. DS — is used as a directory separator. JPATH_ADMINISTRATOR– Sets the path to /Joomla/administrator JPATH_BASE — sets the entry to joomla /Joomla JPATH_CACHE –Sets the cache path /Joomla/cache JPATH_COMPONENT — Sets the […]

Scroll to top