When working with Joomla articles there are a set of advanced features which can be used to define additional options of what you want to be displayed along with your article. Some of the brilliant options include showing or hiding the title, including the author name, showing created or modified date etc.
All of these options can be controlled centrally from the ‘Global configuration’ but unfortunately for some these global settings don’t always transfer into the defaults for when you create new documents … but there is a simple modification to an XML file that can correct this!
Please note, you might need to reapply this modification after a Joomla update.
This modification requires a very simple change to one of the Joomla XML files, therefore you will need access to the files on the server (through cPanel, web disk, FTP etc).
In this example we’ll need to modify a configurational file, this will force the ‘Article Rating’ to be set as ‘Show’, rather than relying on the Global Configuration.
- Browse to the following folder
- Find article.xml
- Copy the file to your local computer
- Open the copied config.xml with your preferred editor (notepad, Dreamweaver etc)
- Navigate to line 52
param name="show_vote" type="list" default="" label="Item Rating" description="PARAMRATING">
- Change the default=”” to default=”1″
param name="show_vote" type="list" default="1" label="Item Rating" description="PARAMRATING">
- Back on the servers directory, back up the original file and place the modified file in its place.
Now for each NEW article you create it will always have the default as defined by you.