Change default article sort order in Joomla back end
By default Joomla sorts articles by title, which may be fine in some instances, however, most of the time people prefer to have them sorted by date with latest articles at the top. Normally, to do this you would have to click on Date heading twice.
There is no built-in option to change default sort order, but this can be achieved by making a small change to one Joomla core file.
Read more: Change default article sort order in Joomla back end
Joomla article navigation in middle of the page
In some templates Joomla article navigation may appear in the middle bottom of your articles.
This can be changed by making a small change to your template's Cascading Style Sheets (CSS) file.
For example, if you use Rocket Theme Afterburner template all you need to do is add is folowing text to templates/rt_afterburner/css/light.css (actual css file name may be different if you changed template's colour scheme):
.pagenav-prev {float: left;}
.pagenav-next {float: right;}
With other templates, required changes may be slightly different.
Remove date and time from Joomla Menu link URL
Was making changes to one of my Joomla websites' menu system when bumped into a strange issue.
There were types of menu systems, both two levels deep. First menu level in both cases level External URL
- index.php/category/subcategory
Links to Category List layout - index.php/category/article
Links to Single Article
With first type of menus everything was fine, however, second (linking to single articles) was producing links in format:
index.php/date_time/article i.e. index.php/2012-08-01-14-25-15/article
Checked and doubled checked all aliases for menu items and categories and none of them had any text in aliases.
After some testing and experimenting found where the problem was.
Removing hidden online poker link from Joomla template
SPAM links in free Joomla templates
Just to make it clear up front, this article is not about removing author credit links from templates with Creative Commons licenses. Authors do deserve credit for their work and their links should be left intact or adjusted to match site's design.
A friend of mine asked to create a simple website for him. We chose Joomla CMS and Gambling template for Joomla (gameon) from Quality Joomla Templates. Although his site had nothing to do with gambling, we liked template's structure and were going to heavily customize it anyway.
Once website was almost ready we noticed that Google had already indexed it, which was a good thing. What was not so good, Google from somewhere pulled text "Thanks to online poker sites" and was displaying this in site's description.
Quickly checked website's source and surely there was following html:
<p>Thanks to <a href="http://onlinepokertool.com" title="online poker sites">online poker sites</a></p>
The link was hidden and was not appearing as a visible text anywhere on the website.
I run a text search through all template files and there was no references to poker, gambling or anything similar. It was clear that template's creators (or somebody who modified template afterwards) somehow obfuscated the link so it's difficult to find and remove it. I've seen similar behaviour when authors make it difficult to remove credit footer links, which some may justify some may not. This, though, had nothing to do with legitimate credit. Credit link was at the bottom where it should be, and online gambling thing was a sneaky attempt to conceal a hidden spam link into somebody's website.
A short investigation revealed how this was setup.
Read more: Removing hidden online poker link from Joomla template
- Joomla - make pagination horizontal
- Reboot Linksys / Cisco SPA VOIP Phones remotely
- Emails to GoDaddy mailbox fail with error 550 5.1.0 Address rejected
- Joomla JoomGallery - add link in SlimBox to Detail View (for comments and ratings)
- JoomGallery – The uploaded image doesn't seem to be a valid image file
- Joomla - Infinite loop detected in JError
- Joomla 1.5 - Remove numbers from Category List View
- Apple ID login not working: "The apple id you entered couldn't be found" and "Fatal internal error occurred"
- PHP code to search Windows Active Directory (via LDAP)
- Gmail signatures stack up at the bottom