Recent Topics

1 Feb 02, 2011 22:04    

My b2evolution Version: 2.x

I just thought I should share how I solved an problem I got.

I wanted to make a custom template and used the template "Custom". Then I followed the instructions on http://manual.b2evolution.net/Create_a_new_skin

I got the following error message in the title:

<b>Warning</b>: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in <b>/home/odla/public_html/tradgardsblogg/inc/_core/_template.funcs.php</b> on line <b>312</b><br />

The solution to the problem is to change this in index.main.html:
<?php
$Blog->disp('name', 'htmlhead');
request_title( ' - ', '', ' - ', 'htmlhead' );
?>

to this:
<?php
// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
request_title( array(
'auto_pilot' => 'seo_title',
) );
// ------------------------------ END OF REQUEST TITLE -----------------------------
?>

3 Feb 03, 2011 08:56

That means I have to start thinking 8| I saw that earlier but didn´t get it fast enough, and decided it didn´t apply to me. (Yeah, I´m lazy and want quick fixes. Or maybe it is because I have to get this thing going as fast as possible.)

4 Jun 26, 2011 19:09

confused here: can I use this fix or not? 8|

5 Jun 26, 2011 20:16

This is only one of many steps you need to do to make v1 skins work in later versions of b2evolution.

6 Jun 30, 2011 15:16

Think it will me easier to switch to another skin then, thanks.


Form is loading...