Page 1 of 1
6-column tpl getting errors [Solved]

Posted:
Fri May 11, 2007 2:21 pm
Author: .QUACK.Major.Pain
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]
PHP Version:
MySQL Version:
What was done before the problem appeared?
What was done to try to solve the problem?
De.scription and Message
Was trying new page formats, but getting an error with the 6 column format.
I selected in ACP>IM Portal>Page Management
Set to 6 column and select Submit
Error I get:
Parse error: syntax error, unexpected T_ARRAY, expecting ')' in /home/b4udie/public_html/forum/templates/Integra2/layout/6_column.cfg on line 34
I have 2 sites and tried it on both. Same error on both.
Re: 6-column tpl getting errors

Posted:
Fri May 11, 2007 4:25 pm
Author: Helter
try this
- Code: Select all
<?php/*************************************************************************** * 6_column.cfg * ------------------- * begin : Sunday, May 30, 2004 * copyright : (C) 2004 masterdavid - Ronald John David * website : [url=http://www.integramod.com]http://www.integramod.com[/url] * email : <a>webmaster@integramod.com</a> * * * ***************************************************************************/ /*************************************************************************** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***************************************************************************/ if ( !defined('IN_PHPBB') ){ die("Hacking attempt");} $layout_count_positions = 6; $layout_block_positions = array( array('col_1', '1'), array('col_2', '2'), array('col_3', '3'), array('col_4', '4'), array('col_5', '5'), array('col_6', '6') );?>
Re: 6-column tpl getting errors

Posted:
Fri May 11, 2007 4:51 pm
Author: .QUACK.Major.Pain
Same error.
line 34 is the col_4 line I think.
Re: 6-column tpl getting errors

Posted:
Fri May 11, 2007 6:37 pm
Author: Helter
delete your cache in acp/importal/Delete Cache Files
Re: 6-column tpl getting errors

Posted:
Fri May 11, 2007 7:10 pm
Author: .QUACK.Major.Pain
deleted the cache and tried again.
Still get that error on submit.
When I leave it and try add block, there is only header and footer option
Re: 6-column tpl getting errors

Posted:
Fri May 11, 2007 8:24 pm
Author: Helter
be sure that every installed template has layout/6_column.cfg and layout/6_column.tpl
I just installed it and it works fine
Re: 6-column tpl getting errors

Posted:
Fri May 11, 2007 9:05 pm
Author: .QUACK.Major.Pain
That fixed it - subice doesn't have 6 column setup.

Posted:
Sat May 19, 2007 8:49 am
Author: dan0042
will some one send me 6 column template
Re: 6-column tpl getting errors [Solved]

Posted:
Sat May 19, 2007 8:56 am
Author: .QUACK.Major.Pain
I think if you goto the original download, and goto root/templates/Integra2/layout you'll find the following files.
6_column.cfg
6_column.tpl
I'm not sure, but copying those 2 files into your root/templates/*.*/layout folder may give you the option in your ACP>IM Portal>Page Management.
Try it out and see if that works...

Posted:
Sat May 19, 2007 9:21 am
Author: dan0042
Its working n1