Setting different development environment

ci_environment_variable

  • Create two folders ‘local’ and ‘production’ inside application/config.
  • Copy config.php and database.php in both folders recently created.
  • In application/config/local/config.php, you can set base url http://localhost/mysite
  • Similarly, in application/config/production/config.php, you can set base url http://mysite.com
  • Define CI_ENV in index.php. In above screenshot, CI_ENV has been set to local
  • Similary, we can define database configuration separately in local and production folder

Thank you and Good luck 🙂

Create your own Magento log files with Mage::log()

Magento comes with a built-in logging facility which can be enabled and configured in the back-end under System > Configuration > Developer. Alternatively you can enable the Developer Mode for the site to enable the log (on how to do this have a look at the index.php file). The exception log is always on.

Mage::log('My log entry');
Mage::log('My log message: '.$myVariable);
Mage::log($myArray);
Mage::log($myObject);
Mage::logException($e);

Continue Reading

Enable system error and exception logging in Magento

By default, Magento does not register messages about errors and exceptions; so if something bad happens, you don’t even know.
To turn on the logging, you can navigate to System > Configuration > Developer > Log Settings and set the «Enabled» option to «Yes»
Don’t forget to set full access permissions (777) to the following folder: /var/log, since that is the place where those log files are stored.

CMS Customization

A Content Management System is a Web application that turns content publishing and managing easy for the website owners.

Even if you are not a programmer, you can easily manage your site without any technical assistance. A CMS website enables you to edit/update the site’s content whenever you want. On the whole, it makes web maintenance simplified and trouble-free.

A CMS essentially acts as a “middle-layer” between server and user, ensuring benefits on both ends. We work on the foremost content management systems like Magento, WordPress and Joomla.

Magento-300x176If you’ve any plan to develop and launch an eCommerce platform online, then Magento is the perfect choice, which you are contemplating at present. As compared to the other Ecommerce applications, Magento is the finest and offers you phenomenal features and characteristics. An online shop based on Magento will be highly user-friendly, SEO friendly and cross browser compatible. We do perfect handling of the client’s projects and assure online delivery of the same.

WordPress-300x300WordPress is what a normal website owner with non-technical background wants. Mainly, WordPress is used to create customized blogs; however, nowadays the trend of WordPress sites has overwhelmed the Internet and webmasters. Probably that is why the WordPress customization services are now in demand.

JoomlaJoomla is amongst the foremost open source platforms, which exhibits latest features that aren’t possessed by many of the other content management systems. Hence, if you also have similar query in hand, you can approach us any time you want. We understand the client’s requirements the best way possible and then customize the Joomla CMS as per their requirements.

post

e-Commerce Solution

Magento-300x176As an open source e-Commerce platform Magento has overtaken other solutions available in market. Magneto is full of possibilities and offer high flexibility to magento developers in order to deal with extensive range of ecommerce necessities like shopping cart management, CRM system, payment getaway integration, and so on.

We provide e-Commerce solutions and services by using one of the most popular CMS ‘Magento’ to help grow your business. We customize as per clients requirements by customizing theme and module developing. Magento customization is fundamentally a process of modifying and customizing Magento e-Commerce store and the shopping cart in a manner, so that it matches with your business model.

post

Web Development

Web development refers to building, creating, and maintaining websites. It includes aspects such as web design, web publishing, web programming, and database management.

We develope responsive websites, web applications for personal, small scale and business purpose using the latest technologies and industry trends including PHP, MySQL, HTML and CSS. We Fully dedicated to take care of making it easy to understand and work on.

We will help make your site highly search engine friendly.

Get the current category name in Magento

A key part of the request execution has information stored into the Mage registry and accessing this information is a simple call requesting the needed data.  Learn how to access the registry to find the current category title.

The registry object we are interested in is ‘current_category’ and we will utilise the registry call getName() to create call to retrieve the needed information thusly;

Mage::registry('current_category')->getName();