6-column tpl getting errors [Solved]

Support for IntegraMOD 141

Moderator: Integra Moderator

6-column tpl getting errors [Solved]

PostAuthor: .QUACK.Major.Pain » Fri May 11, 2007 2:21 pm

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.
Last edited by .QUACK.Major.Pain on Fri May 11, 2007 9:06 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: 6-column tpl getting errors

PostAuthor: Helter » Fri May 11, 2007 4:25 pm

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')     );?>  
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: 6-column tpl getting errors

PostAuthor: .QUACK.Major.Pain » Fri May 11, 2007 4:51 pm

Same error.

line 34 is the col_4 line I think.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: 6-column tpl getting errors

PostAuthor: Helter » Fri May 11, 2007 6:37 pm

delete your cache in acp/importal/Delete Cache Files
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: 6-column tpl getting errors

PostAuthor: .QUACK.Major.Pain » Fri May 11, 2007 7:10 pm

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
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: 6-column tpl getting errors

PostAuthor: Helter » Fri May 11, 2007 8:24 pm

be sure that every installed template has layout/6_column.cfg and layout/6_column.tpl

I just installed it and it works fine
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: 6-column tpl getting errors

PostAuthor: .QUACK.Major.Pain » Fri May 11, 2007 9:05 pm

That fixed it - subice doesn't have 6 column setup.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: dan0042 » Sat May 19, 2007 8:49 am

will some one send me 6 column template
Last edited by dan0042 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
:#: <img>
User avatar
dan0042
Integra Member
Integra Member
 
Posts: 170
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 21, 2006 4:06 pm
Cash on hand: 0.00

Re: 6-column tpl getting errors [Solved]

PostAuthor: .QUACK.Major.Pain » Sat May 19, 2007 8:56 am

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...
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

PostAuthor: dan0042 » Sat May 19, 2007 9:21 am

Its working n1
Last edited by dan0042 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
:#: <img>
User avatar
dan0042
Integra Member
Integra Member
 
Posts: 170
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 21, 2006 4:06 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]