Recent Topics

1 Dec 11, 2009 20:08    

My b2evolution Version: 2.x

hello everyone, obviously i need help! totally new to b2ev and stuff....

could someone please tell me how to get rid of the search bar on the top (in the banner)... and also, is there a way to change the "follow up" text or get rid of it completely? i did try to fiddle with the style.css file but i messed everything up and had to start over again :(

http://img.photobucket.com/albums/v245/jmoney48/ss.jpg

2 Dec 11, 2009 20:23

Hi jnl47624

Welcome to the forums. You have two options here. Edit your CSS by opening style.css and adding:

div#header div#search { display:none; }

This will hide the search box. Your other option is to remove it completely by opening up index.main.php and removing:

<div id="search">
      <form id="searchform" action="<?php echo $Blog->gen_blogurl() ?>" method="get">
        <input type="text" id="searchinput" name="s" class="searchinput" value="<?php echo $s ?>" onfocus="if (this.value == '<?php echo $s ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php echo $s ?>';}" />
        <input type="submit" id="searchsubmit" class="button" value="" />
      </form>
    </div>

Hope this helps

L

3 Dec 11, 2009 20:51

Can you not just go into Admin -> Blog Settings -> Widgets and remove the Content Search Form from there? That's how I'd do it.

You might want to drop the search into the sidebar instead.

4 Dec 11, 2009 22:13

my skin doesnt have that widget.
thanks lturner.
now, what about the "follow up" text?

5 Dec 11, 2009 23:01

For the follow up text, depending on the skin you use, you will find the following in one or several places:

<?php
			// ---------------------- POST CONTENT INCLUDED HERE ----------------------
			skin_include( '_item_content.inc.php', array(
					'image_size'	=>	'fit-400x320',
				) );
			// Note: You can customize the default item feedback by copying the generic
			// /skins/_item_feedback.inc.php file into the current skin folder.
			// -------------------------- END OF POST CONTENT -------------------------
		?>

What you want to do is add a line like this:

<?php
			// ---------------------- POST CONTENT INCLUDED HERE ----------------------
			skin_include( '_item_content.inc.php', array(
					'image_size'	=>	'fit-400x320',
					'anchor text'	=>	'anyhting you want',
				) );
			// Note: You can customize the default item feedback by copying the generic
			// /skins/_item_feedback.inc.php file into the current skin folder.
			// -------------------------- END OF POST CONTENT -------------------------
		?>

Of course anything you want can also be an empty string '' :)

6 Mar 08, 2010 22:40

I tried this but probably there is something that I forgot.
What I did was change
.------------------------
'image_size' => 'fit-400x320',
.-----------------------

to:
.------------------------
'image_size' => 'fit-400x320',
'anchor text' => ' ',
.-----------------------
(There is just one space char for the "anchor text' string)

The files I changed was

\skins\basic\index.main.php
\skins\_wp_compatibility.inc.php
\inc\items\model\_item.class.php
\multiblogs.php
\a_noskin.php
\skins\TheSkinYouUse\page.main.php
\skins\TheSkinYouUse\post.main.php
\skins\TheSkinYouUse\single.main.php

Anyone had this problem?

(*edit* V 3.3.3)

8 Mar 09, 2010 01:07

Thanks lturner, this worked. I just had to make sure to get the underscore and spaces between "anchor" and "text" on the right places.

I got it to work with following:

_item_content.inc.php
'anchor_text' => $params['anchor text'],

In _item_block.inc.php
'anchor text' =>

9 Mar 09, 2010 09:24

Excellent, glad that it worked :)

L

10 Mar 17, 2010 19:51

Sadly, I cannot get this to work -- which is bumming me out b/c it's holding me back on a few things I'd like to get going on my site.

Also, for unknown reasons the "send feedback" link is appearing above the "read more" link on the main page and then also to the right of the "follow up" text. No clue why.

"Follow up" just doesn't make sense to me -- I think of "follow up" as what you do on open items on a to do list -- not as the main meat of a blog post. Might I suggest a default text change in v4 to something like "the rest of the post" (or something more fitting)?

11 Apr 20, 2010 20:29

Lturner, I'm getting this error after trying your proposed solution:

Notice: Undefined index: anchor text in /home/sobrenad/public_html/skins/glossyblue/_item_content.inc.php on line 180

This error happens when I click the title of the post (for single visualization + comment). On the front page, the posts seems right.

lturner wrote:

Actually I found that there were more files that needed changing than just the one that François mentioned. Last time I needed to do it I wrote it up so I would remember:

http://www.leeturner.org/index.php/do-you-follow-up-or-not

Hope that helps
L

12 Apr 20, 2010 21:39

Hi

Have you put 'anchor text' instead of 'anchor_text' ?

Note the underscore ?

Cheers
L

13 Apr 29, 2010 20:00

Hi... yes, I did. However, I had the same errors.
This is very annoying. My B2Evo is in Portuguese, and the "Follow Up" appears to me as "Resposta" ("Answer"). That's totally nonsense and out of context.

lturner wrote:

Hi

Have you put 'anchor text' instead of 'anchor_text' ?

Note the underscore ?

Cheers
L

14 Apr 29, 2010 20:44

I can take a look at it for you if you want to zip the skin up and send it to me. PM me and I will give you an email address you can send it to.

Cheers
Lee


Form is loading...