@author – Joomla DocBlock headers

Please note the following: This article is supporting documentation for our tutorial, using DocBlocks in Joomla. There is official documentation that references what headers to use in your DocBlocks (such as @copyright and @license), but documentation is missing that outlines what values to use for each header. In an effort to learn what values to Read More >

@package – Joomla DocBlock headers

Please note the following: This article is supporting documentation for our tutorial, using DocBlocks in Joomla. There is official documentation that references what headers to use in your DocBlocks (such as @copyright and @license), but documentation is missing that outlines what values to use for each header. In an effort to learn what values to Read More >

Jimport

jimport is a function that is used to include Joomla library files. How to use Jimport: Find the path to the library file you want to include. • In our testing, we want to import /libraries/joomla/filesystem/path.php • Jimport will only import files found within the libraries folder. Make the following changes to the path: • Read More >

Fatal error: Call to undefined method – Joomla 3 Component Development

When creating a Joomla 3 component, you can declare functions / methods within your models. When calling these methods in your views, you might see an error simliar to the following: Fatal error: Call to undefined method ComponentViewName::yourMethod() in /home/userna5/public_html/components/com_component/views/component/view.html.php on line 19 This error can be resolved using the getModel method, and this is Read More >

How to add the default Model to your Joomla 3 component

How to add a new model Create the models folder If you haven’t already, you will need to create the models folder. This is where our model files will go. In our testing, we created:/components/com_helloworld/models Create <view>.php within models folder Each component view can have a corresponding model. In this tutorial we are creating a Read More >