menu

  • A fool- and SEF-proof link to homepage with core Joomla multilanguage

    What? Is not that simple as place a <href="index.php">Home</a> and you're done?

    Yes and no... The Joomla routing engine is smart enough, to redirect all such above links to the default menu item in most cases. But using the core multi-language engine in Joomla 1.7+ has created a little-bit different situation. Let me explain!

  • Add article title to Read More links

    the competition for SERP's (Search Engine Ranking Positions) is fierce. The slightest advantage you can gain can make the difference. Good navigation is key here - and part of this is to give some extra info to your visitors of what they will see if they clicking on a given link. Adding the article title to your Read More links is a way to make this happen.

  • Adding spatial navigation and tabindex to your custom forms

    Having correctly implemented spatial navigation in your custom forms is more important, than ever these days. Unfortunately Joomla's core JForm does not support adding the required info easily (for example by creating an XML file which will output the correct code.

  • Customize your page using CSS tricks based on active menu alias

    There are lots of ways to make your page unique in Joomla, and there are interesting ideas on how to make your template even more powerful.

    One of tricks not very often used and widespread is relying in one of the tricks I published regarding to available PHP tricks you can use to enhance your template.

  • Did you missed the Guest access level in Joomla 1.7?

    After struggling for years to set up menu items shown only for guest visitors in various Joomla/Mambo versions prior Joomla 1.7, was a real relief to have an easy and foolproof way to do it. No hacks needed, no scripts to add, no configuration trickery... you simply selected from the Access Level dialog the Guest access group for anything qualifying for this settings (modules for example, but not only..) and you where set! And if you upgraded your site from Joomla 1.7 to Joomla 2.5 the feature where still there. Recently I had a big surprise, I needed the feature in a brand new Joomla 2.5 site... and don't found it!!

  • Home menu problem with Joom!Fish and sh404SEF

    If you use Joom!Fish to create a multi-language Joomla site and use sh404SEF to manage your SEF URL's you might have seen this problem:

    When you are in one non-default language and click on the Home menu item (the default menu item, which should lead you to the default site page on that language) you are arriving on the default home page - in the default language, and not the default page in your active language!

  • How an author can submit a story?

    We all know that Joomla is all about collaboration. And anyone who had set up at least one instance of Joomla knows, that there are multiple levels of access in Joomla, among them one called Author who is supposedly able to submit an article to a Joomla site from the frontend.

  • How to Add Meta Tag Robots in Joomla 2.5 withouth extra tools

    By default Joomla 2.5 does not add the robots meta tag in the header and you have no handy tool by default to do it in one place, unless you don't use some add-on which let you do this easily.

    But what if you prefer to do it yourself, bare-handed, without seeing even some code? You might be surprised, but in fact in Joomla 2.5 it's very easy to set up meta tag robots for your home page and content articles.

  • How to remove 'Welcome to the Frontpage'

    I did not realised until recently how hard may be even for some seasoned Joomla webmasters to get rid of that 'Welcome to the Frontpage' text from their Joomla site. But talking with couple of customers and being even hired for do this Tongue outmade me curious, and I Googled for 'Welcome to the Frontpage'...

    The result may be surprise you... my last attempt ended on 25.000.000(no kidding...) hits.

    So, there is the free-for-all recipe:

  • How you can hide the Home menu item?

    Why you should want to do that? Dunno, but it's an evergreen question asked time-to-time from the first day I started to work with Mambo..., so let's take it methodically, to see how one can solve this problem!

  • Menu items keep reordering after migration

    Recently - once again - I faced a very annoying problem: after migrating a Joomla site from Joomla 1.5 to Joomla 1.7 - and later to Joomla 2.5 - time-to-time the menu ordering switched back to the essentially wrong ordering resulted from migration process. First time I thought I am doing something wrong, and when my client cried about, I reordered a menu again and again. I have to fight with this problem too many times until I found the source of error and an easy fix.

  • Misterious "Bad Certificate" error when you click on certain inner links

    One of my clients, who have serious Joomla background complained recently, that on his brand new Joomla site when he clicked on one of menu items his browser raised the well known "Bad Certificate" error. The site obviously worked well, but for some reason the link to that inner page was created using the https:// prefix.

    Obviously, he had no valid security certificate in place - as many sides does not have these days, but the menu entry being an inner, Joomla generated link he (and myself, for some... 5 minutes approx) was dazzled, what might happened?

  • More PHP code snippets to be used in your template

    In a previous article about useful  PHP code snippets to conditionally add things to your template I allready listed couple of tricks, let's add a couple more to them!

  • Navigation

    To find your way around the website, you will need navigation with corresponding links. In Joomla! we call this a menu. You may create as many menus as desired and nest them into as many different ways as you wish. Each menu is a module which can be positioned on a provided area in the template.

    Important note: Joomla! is a genuinely menu driven system, the most important behaviors: as what module when to be shown, what template to be used on a certain page, etc all can be controlled using by associating behaviors to menu items. So, plan carefully your menu - it is the core of your site's end user experience!

  • PHP code snippets to conditionally add things to your template

    The Joomla ItemID-related management of modules is a powerful tool, but sometimes you need to show/hide parts of your site on two special cases not covered by this tool: when you need to show/hide things regardless of the active ItemID - for example on all detail listings page of a given component, or when you need to deal with a component which have poor support of ItemIDs - as VirtueMart, which is notoriously misbehaving in this regard.

  • Save Failed with the Following Error: Invalid Parent ID

    When I have seen first time this error on Joomla 1.6 while tried to save a new article in Article Manager I was lost:

    Save Failed with the Following Error: Invalid Parent ID
  • Secure your standalone scripts used in a Joomla site

    Joomla has everything you may need. Right? If you take a look to the Joomla Extensions site, you may agree with this. But, as always, there may be cases, when the above statement is wrong. For specific need he simplest approach may be to use for specific purposes a standalone script. You can solve the problem - apparently - by using Joomla's wrapper feature, and use your scripts as they where part of your Joomla site. Almost perfect solution you may think... but your scripts are directly accessible by their physical URL, not only through the Joomla interface. What you can do about?

    A lot. And surprisingly easily.

  • SoBiPro - problems with ItemID in Alphabar

    You might experienced this, the links in the Alphabar are sometimes misbehaving, the module assignments in the resulted pages are gone off, if you have some fancy module to menu associations set in your SoBiPro powered site. Obviously, this is an ItemID handling problem, and, unfortunately can be fixed only with a core hack.

  • Submitting content from frontend

    Indeed, what's needed for a user to submit a new content item from the frontend, and how he/she should proceed?

    First of all the user must have the privileges corresponding to the authorization level of "author" or above.

  • Turn caching on!

    To improve your Joomla website's performance, just turn on "caching" on the "Cache" tab from Joomla's Global Configuration. When caching is turned on, Joomla creates a static file or "cache" of your website data on the disk. When the static file is found, the system retrieves the data from the disk rather than from the database. This improves performance because it saves system resources by not making redundant SQL calls to the database. And it will also speed up the display time of the pages.

    You can set cache refresh rate in seconds. If you don't constantly update your contents, you might want to set it longer. And to further improve it, go to all your modules configurationand select "yes" to cache option (not available in all modules).