1 jnl47624 Dec 11, 2009 20:08
3 chris_of_arabia 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 jnl47624 Dec 11, 2009 22:13
my skin doesnt have that widget.
thanks lturner.
now, what about the "follow up" text?
5 fplanque 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 webguy 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)
7 lturner Mar 08, 2010 23:37
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
8 webguy 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 lturner Mar 09, 2010 09:24
Excellent, glad that it worked :)
L
10 nealo 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 sobrenada 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 lturner Apr 20, 2010 21:39
Hi
Have you put 'anchor text' instead of 'anchor_text' ?
Note the underscore ?
Cheers
L
13 sobrenada 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 lturner 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
Hi jnl47624
Welcome to the forums. You have two options here. Edit your CSS by opening style.css and adding:
This will hide the search box. Your other option is to remove it completely by opening up index.main.php and removing:
Hope this helps
L