Tips & Tricks

How to change the layout of the grids on a page

You can customize the layout of the grids on each page or subpage individual.

Change grid layout: only one gridpage used
If you only have one gridpage (no other sub categories/grid pages), you can change the layout of your grids in that way:

Change the template header_grids (as described here)
and delete the placeholder %[GRIDS]%. Fill in this instead:

text or something

Save it. The numbers within the placeholder are the GRID ID of your grid, so you can customize your site like you want, put your grids individual in tables or whatever.
In this example, your grid with the ID 1 will be on top of your page, then follows some text and then your grid with the grid ID 2.

Change grid layout: more gridpages/categories used
If you have different grid pages, you need to create and upload a simple text file in your language directory (i.e. lang/en) called header_grids_pageX.htm where X is the PAGE ID of the page, where you want to make the change.
Set write permission to this file after uploading to your language directory. After that, you edit it with your template editor in the admin in the same way like above. So you can define your layout of the grids as you like for each page! Great, isn't it?

See also:
Change text in the site templates or mail text ...
How to change the order of grid pages?


  1. A sample file for a grid page with an ID 2. Within this file you can see, how the different banner are layouted as it is done in the million script demo.
  2. If you have version 2.2 or higher there might be a bug which you can fix by replacing the grid.php file in the main scripts directory (see attachement 2).

attached files:,

Categories for this entry

Last update: 2006-01-22 15:24
Author: Markus

Print this record Print this record
Send to a friend Send to a friend

Please rate this entry:

Average rating: 3 out of 5 (4 Votes )

1 2 3 4 5

You cannot comment on this entry