Monday 2 April 2012

Joomla 2.5 - customising a menu template.

This is a follow on from my recent blog on
Joomla 2.5 make rounded menu
.

A couple of additions that may be useful to others.

1. Adding the Menu Title in your menu template.

You just need to put the following code where you want -> title; ?>

2. Making a new row of links. In the menu I've built I want 4 links in a row. And then make a new row. For this you need to be able to count from within the template.
Examine the following code to open and close a row.
if ($i==0 || $i==4 || $i==8){
echo '';
}

if ($i==3 || $i==7 || $i==11){
echo '';
}

2 comments:

arif said...

Great…Its Working…Really Good… its very useful for topic.Keep writing some more interesting topics like a joomla webdevelopment

Unknown said...

Very nice blog website… I always enjoy to read your blog post… Very good writing skill.. I appreciated what you have done here… Good job! Keep posting.

Learning Management Systems