Trick: More than 50 module positions [Jooma! 1.0.x]

A forum with Tips, tricks and small tutorials.

Moderators: mcsmom, unixboymd

Forum rules
Post Reply
User avatar
fabs
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Mon Apr 03, 2006 4:04 pm
Location: Germany
Contact:

Trick: More than 50 module positions [Jooma! 1.0.x]

Post by fabs » Wed Jun 27, 2007 12:32 am

This topic has come up quite a few times and can be solved so easily as it seems:

One solution to add positions directly to the database via phpmyadmin would work but cannot be administrated through backend:
see this thread for reference:http://forum.joomla.org/index.php/topic,24471.0.html

another suggested solution is the following and incredibly easy:
reference thread is here: http://forum.joomla.org/index.php/topic,53438.msg330990.html#msg330990
I was looking for the same and I found out this:

First I tried adding "id" records directly inside the database (jos_template_positions) but I couldn't administrate them through the control panel but then I found out that going to administrator\components\com_templates and opening admin.templates.html.php
In line 357 you have this:
Code:

  function editPositions( &$positions, $option ) {
      global $adminLanguage;
      $rows = 25;
      $cols = 2;
      $n = $rows * $cols;
      ?>


If you modify the rows value you can have more forms. You just have to increment this value and then fill the forms, save it and it will add more records into the table.
Last edited by mcsmom on Thu Oct 04, 2007 8:10 pm, edited 1 time in total.
Please visit my personal website and leave many traces ;)
http://www.ffaabbiiaann.de
If you need webdesign services I can help you out:
http://www.webdesign2punkt0.de

Post Reply