…within the module itself usually found in the config.xml file. Also note not all modules have an XML file, usually the XML file will only be present if it affects the front end of the store so don't expect one all the time!Path to config: app/code/local/<name_space>/<module>/etc/config.xmlNotice I have referenced base/default…
…within WordPress. Out of the box, Projects allows you to have categories, galleries, client details, and project URL's - this feature-set can also be extended through its various hooks, filters and templates.In this article, I will show you how to create a basic online portfolio using Projects. I am going to be…
…with a WP_Error class that makes error handling within plugins and WordPress itself much easier.Understanding WP_ErrorThe WP_Error class consist of two properties and eight methods. These properties are used internally by the class and you likely won't be needing these properties as most of the task you want to carry out…
…with the back-end database, and the view is responsible for preparing the content to be rendered to the end user. In the context of OpenCart, you'll at least need to implement a controller and a view in order to create a new custom page.Setting Up the ControllerFirst, let's try to understand the role…
…with Linux, then our new Linux Web Developer Setup course is ideal for you. Get acquainted with the Linux system, understand its mechanics, and learn how you can set up an environment that supports your development. Tuts+ instructor José Mota will take you through the whole process from installing Linux to learning how you can use…
…Without further a do, let's get started.TemplateMagento template files are PHTML files made up of a mixture of HTML and PHP, some of which render a page such as 1column.phtml while others render specific blocks within a page such as header.phtml. For the majority of the time during development of a…
…with the WP_Error class, we took a look at an introduction of the PHP class, we examined the class properties and methods and their roles and functions complemented by code examples.In this final part of the series, we will be building a fairly simple contact form plugin to demonstrate how to handle errors…
…with all of the scripts, styles, etc.) and then make it render well in older browsers (graceful degradation). Another is just to decide you don't care about older browsers. A third is to start with a bare bones page, and add scripts and styles so it is readable and usable…
…With the HTML5 History API, we have more control on playing with the browser history. For example, we have a way to add an entry in the history, or change the URL in the address bar without refreshing the page.Why A History API?In this article, we'll learn why the HTML5…
…with all of the scripts, styles, and so on, and then have it render in older browsers via graceful degradation, you may opt to ignore older browsers, or you can start with a basic page and add scripts and styles such that it becomes more functional via progressive enhancement.In this…