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 >
Brad Markle
@license – 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 >
@copyright – 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 >
@subpackage – 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 >
@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 >
DocBlocks – Documentation headers in Joomla
The knowledge is this article has been obtained from this page. While learning about DocBlocks, we felt the information in that article would be more easily absorbed if reformatted. What is a DocBlock? DocBlocks, short for Documentation Blocks, are notes that describe what certain sections of code do. There are 1000’s of lines of code Read More >
Updating article hits when using Joomla cache
Enable cache, and disable hits When you enable caching in Joomla, article hits do not increase when cached pages are served. This is unfortunately a limitation of the caching system in Joomla, there is not “toggle switch” to enable this feature. Hits not always accurate, but sometimes needed For those users needing this feature, it’s 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 similar 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 Read More >
Creating a Menu Item for your Joomla 3 Component
So far in this Joomla tutorial series we’ve been testing our new component by visiting our Joomla site and adding index.php?option=com_helloworld to the url, as in: https://example.com/index.php?option=com_helloworld In this tutorial, we will show you how to create a menu item for your component. This will allow you to add a link to your menu that Read More >
How to add a New Task to your Joomla 3 Component
This tutorial series, Joomla 3 component development, is currently in progress… So far in this tutorial series for creating a component in Joomla 3, we’ve created views and we’ve created formats. The next feature of components we’re going to review is tasks. What is a task? A task is, well… something that can be done. Read More >
How to add a New Format to your Joomla 3 Component
This tutorial series, Joomla 3 component development, is currently in progress… In our last few tutorials about creating components within Joomla 3, we’ve been creating new views. The default format for views is HTML format. However, you can setup your views to return data in other formats too, such as json or xml. Creating a Read More >
How to add a New View to your Joomla 3 Component
This tutorial series, Joomla 3 component development, is currently in progress… In our last tutorial, we showed you how to create the default view for the component that we are creating. The component’s name is com_helloworld, so the default view is helloworld – this is just how the “default view” works. In this tutorial, we Read More >
How to add a Default View to your Joomla 3 Component
This tutorial series, Joomla 3 component development, is currently in progress… In our last tutorial, we created a very basic Joomla 3 component called helloworld. As we continue our tutorial series on creating components, we will now learn how to add views to a component. What is a view? A “view” in Joomla is the Read More >
Creating a Hello World Joomla 3 Component
In this tutorial we are going to create a Hello World component for Joomla 3.3. When we say, “create a component“, we mean: Create the files for the component Install the component View the component on the front end of the website Creating the files for the Hello World component Within your Components folder, create Read More >
I’m Learning Joomla Component Development! – My Introduction
This tutorial series, Joomla 3 component development, is currently in progress… I’ve already written tutorials on writing Joomla plugins and creating Joomla templates. A topic I’ve skipped for quite some time is how to create a Joomla component. Why? Well, it’s always seemed pretty difficult. Instead of writing code and placing it typically in a Read More >
Text Separator – Joomla 3 Breadcrumb settings
Be default, individual items in your Joomla 3 breadcrumbs are separated by an orange arrow. You actually have the option to use a different separator in your breadcrumbs, and you can change the separator using the Text Separator breadcrumb setting. Joomla doesn’t say much about the Text Separator setting. The help information they provide in Read More >
Show Last – Hiding the current page in your Joomla 3 breadcrumbs
As we continue reviewing the settings available for the breadcrumb module in Joomla, we come across the Show Last setting. According to Joomla, this setting controls the following: Show Last Show/Hide the last element in the Pathway Breadcrumbs are intended to show you where within the site you are, and to allow you to easily Read More >