Views : 1078  |
In Joomla 1.0.x there are 50 module positions defined.
If you need more, here is how to add as many as you need.
The module positions in Joomla are simply a database table. Inherently there are no limits to the number of entries in the table, so... it should be easy to add more.
But, the form in the back end only shows 50.
Look here...
And you will see...

The problem is not with the database, but with the form.
All you need to do is change (tweak/hack) the code that displays the form.
This solution was posted on the Joomla forum tips area.
The following is how you can create more module position fields within your Joomla Administration
(and thus, create more module positions).
Within your Joomla files (on your server), open --> administrator\components\com_templates and open admin.templates.html.php
In line 357 you have this code:
Quote:
function editPositions( &$positions, $option ) {
global $adminLanguage;
$rows = 25;
$cols = 2;
$n = $rows * $cols;
?>
If you modify the rows value you can have more module fields. You just have to increment this value and then fill the forms,
save it and it will add more records into the table.
I experimented with this and the fields you can create are virtually endless, depending on the parameters you set.
For example, I set the rows to "50" and the cols to 3 - and I had 150 available module positions. And yes, it works.
Click HERE to see the forum post . Thanks bulesz
|
|
|
Users' Comments  |
|
Average user rating
(0 vote)
|
|
Add your comment
|
Works well
By: Grace Programmer (Guest) on 02-11-2008 07:34