D7 Template modification

Hello,

I've searched forum for hours. Anyway, I've done this:

1. copied the 'tmpl_uni' directory.

2. changed the name to tmpl_ranch

3. changed the name in the 'tmpl_uni/scripts/bxTempName.php to 'RANCH'

4. I can now select RANCH in the admin section.

I know I need to update the 'scripts path', but where???

However I get this error:   failed to open stream   /tmpl_ranch/scripts/BxIndexPageView.php

There is No BxIndexPageView in the tmpl_uni or the tmpl_ranch scripts.

Help!

thanks,

Quote · 25 Dec 2009

You are trying to use a pre-RC4 template with RC4 or RC5.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 25 Dec 2009

There is no such file with this name: BxIndexPageView.php

Did you mean: BxTemplIndexPageView.php ?


For no apparent reason, BxTemplIndex.php was renamed to BxTemplIndexPageView.php in the transition between RC3 and RC4.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 25 Dec 2009

Hi Huston,

my typo :).  Anyway, I didn't even start to create the new template until version rc5.   I tryed copying the 'BxTemplIndexPageView.php' from into the tmpl_ranch/script directory and got:

Fatal error: Class 'BxBaseIndexPageView' not found

 

in /home/user/public_html/community/fetish/templates/tmpl_ranch/scripts/BxTemplIndexPageView.php on line 43

I'm going to try a fresh install of RC5 and see what happens.  Is there a file I need to modify?  Could you list the steps needed for D7 templates -- I may have forgotten something.

thanks, Merry Xmas

 

Quote · 25 Dec 2009

I have the same problem with my template IFACE

 Error on the first page !

 Warning: require_once(/home/artadmin/domains/artualite.com/public_html/templates/tmpl_iface/scripts/BxTemplIndexPageView.php) [function.require-once]: failed to open stream: No such file or directory in /home/artadmin/domains/artualite.com/public_html/inc/utils.inc.php on line 842

Fatal error: require_once() [function.require]: Failed opening required '/home/artadmin/domains/artualite.com/public_html/templates/tmpl_iface/scripts/BxTemplIndexPageView.php' (include_path='.:/usr/local/lib/php:/home/artadmin/domains/artualite.com/public_html/plugins/phpids/') in /home/artadmin/domains/artualite.com/public_html/inc/utils.inc.php on line 842

 

 You can see :  www.artualite.com  and change the template with IFACE on the button...

 Big error...

 I have the same problem with all the template. I have try...

 A solution Mister BOONEX ?  ^^

Quote · 27 Dec 2009

I had the same error on my costum D7 template.
What I have done is copy the BxIndexPageView.php from RC5 to my theme this was working for me.
Or take this fiel from the UNI template and place it in your Theme.

This could be a another error, but then you need make a submap in Base theme, with the same file as the uni template who is already there.  So play with this and I think you can solve it yourself.


Regards.
Killerhaai

Kids first
Quote · 27 Dec 2009

Someone have an other solution ?

 

 

Quote · 27 Dec 2009

Take the BxTemplIndexPageView.php file from the templates/tmpl_uni/scripts/ directory and copy it to your template script directory.

Chris

Nothing to see here
Quote · 27 Dec 2009

 

Ok.... Index.php is Ok

 

But test on click on FORUM... same problem...

 

This solution seems bad...

Quote · 27 Dec 2009

Ok.... Index.php is Ok

But test on click on FORUM... same problem...

This solution seems bad...

Problem that i have is the same, and i find solutions..

First, of all you have to add file BxDolIndexPageView to the folder where is your template located (Template>tmpl_XXX>script) You will find this file in the same folder under Tmpl_uni.

Second, here comes the tricky part of all... Go to Modules>Bonex>Forum>layout pack the folder Uni and Uni_en, download to your computer, unpack them, change the name of them to the same name as your template, Open first one, find parameters.php, open it, you will see 3 lines:

$gConf['dir']['xsl'] = $gConf['dir']['layouts'] . 'uni/xsl/';    // xsl dir

$gConf['url']['css'] = $gConf['url']['layouts'] . 'uni/css/';    // css url
$gConf['url']['xsl'] = $gConf['url']['layouts'] . 'uni/xsl/';    // xsl url

Change part UNI with the name of your template, save it, same thing you do with the other folder _en...

Pack again, so you have something like this:

mytemp.zip and mytemp_en.zip, upload that two folder in the server on the: Modules>Boonex>Forum>Layout.. unpack them

Thats all, forum will work ok now. I now this is confused... But ebga...Wink

Quote · 28 Dec 2009

Artualite, What you can do is this:

In this directory modules/boonex/forum/layout/

Create a folder that is the same name as your template WITHOUT the tmpl_ in from of it (ex. temp2). Just refer to your /templates folder for the actual name of the template you are using.

Copy the contents of the uni_en folder (in the same directory modules/boonex/forum/layout/) into that folder you just created (temp2). Go to your Forums home again and recompile the english language at the top right (Compile Language:en)

That should do it for you.

Chris

Nothing to see here
Quote · 28 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.