Recent Topics

1 Jun 16, 2007 18:02    

My b2evolution Version: 1.9.x

Hi,

small hopefully simple question; I use the german version of b2evolution 1.9.2 so when using

in a post it appears [Mehr:] instead of [More:]. Right, I know how to replace the German translation of [More:] by whatever text I want... but I canĀ“t remove the squared brackets. I want to replace it with "---" and not with "[---]" like it is now.

Can anybody help me with this, please!?

Thanks in advance...
Daniel

2 Jun 16, 2007 18:20

Yup! You can take care of this in your skins/your_skin/_main.php file by feeding parameters to the content() function. It's cool!!!

Start by finding this bit in that file:

<?php $Item->content(); ?>


All by itself it assumes you want default values for all the parameters it can work with. "What parameters are they" you might be wondering. The parameters described at http://doc.b2evolution.net/v-1-9/evocore/Item.html#methodcontent would be the ones! The parameter you want to control is the fourth one: the "$more_anchor" value, so let's tell it to do whatever it does for the first three, then do your thing for the fourth. Like this:

<?php $Item->content( '#', '#', '#', '---' ); ?>

Groovy movie you're stylin' now!

I think.

3 Jun 17, 2007 21:14

Cool, thanks EdB - funny writing style ;-))


Form is loading...