Recent Topics

1 Nov 16, 2007 23:56    

My b2evolution Version: 2.x

1. Where is the file that adds img border=0 etc to the Comment Feed icon?
2 Is there a way to get around target="_self" in the Comment form?

2 Nov 17, 2007 07:20

Hmm.. hehe... a follow-up, can we remove all hardcoded html stuff for v2.x? ;) Leave everything to the skin/theme :p

It's actually hard to find those... been looking for some as well, I gave up :p

3 Nov 17, 2007 08:10

Yeah Laibcoms,

- I had _categories.php where I could add a class to the <li> and <ul> tags. Where do we do that now?
- I had _blogroll.php where I added extra items in the menu. Where do I place them now?

4 Nov 17, 2007 08:21

.widget_core_coll_category_list ul etc etc

If you change the "container" simply include that in the CSS
div#catcontainer .widget_core_col_category_list ul yadda yadda

Well, thats the clumsy way I'm doing it :)

5 Nov 17, 2007 09:04

Not a bad idea John, I will give it a try.
I am used to:

// This will enclose each item in a list:
'item_start' => '<li class="myclass">',


This was in _categories.php and now is in _sidebar.class.php, but there I am looking for a wat to override it for the categories only.

6 Nov 20, 2007 10:19

John wrote:

My b2evolution Version: 2.x

1. Where is the file that adds img border=0 etc to the Comment Feed icon?
2 Is there a way to get around target="_self" in the Comment form?

What happens if you crack open conf/_formatting.php and change $use_strict to true ?

¥

7 Nov 20, 2007 10:33

If I do that, it passes it fixes border=0 (Neat trick) but Strict Validation still generates.....

"There is no attribute Target...

<form target="_self" id="bComment_form_id_1071" class="bComment" method="post" a

and this is the only barrier to Strict validation for the whole site

8 Nov 20, 2007 10:59

bugger, guess I missed one :P

Crack open skins/_item_feedback.inc.php and meander down to line 279 ish and and remove the offending code ;)

	$Form->begin_form( 'bComment', '', array( 'target' = > '_self' ) ) );

¥

9 Nov 20, 2007 11:01

I was going to do that in the first place but thought I would crack the egg if I did :)
Thanks mate


Form is loading...