Recent Topics

1 Apr 05, 2008 01:50    

My b2evolution Version: Not Entered

Hit the permalink for a post and both of the sidebars disappear.

Here is the skin
http://coldheartedtruth.com/politics/index.php?blog=7

Here is the skin when you hit permalink
http://coldheartedtruth.com/politics/index.php/2008/03/26/title-3?blog=7

I am thinking that it might have something to do with the size of the comment box ?

Help?

btw.... love the skin, although I have changed it up just a bit:

http://coldheartedtruth.com/politics/

2 Apr 05, 2008 02:36

This is not a bug, it's simply the way the original skin is designed.

You should be able to add the sidebars etc to the single post view by playing with the single.main.php and adding back the sidebar include from the .index.main.php file.

3 Apr 05, 2008 02:39

You can get rid of the red lines, they are some remains of debugging. Look in the css file for

.clear

Good luck

5 Apr 05, 2008 03:57

You should be able to add the sidebars etc to the single post view by playing with the single.main.php and adding back the sidebar include from the .index.main.php file.

Thanks that worked. I was wondering why my registered traffic was down since installing the new skin.... but now I realized that every hit going to a specific link (or about 20-30% of my daily traffic) did not bring up the sidebar with the sitemeter and other counters....

The only thing - since I have changed the column size - the comment box is a little out of control. In fact it looks odd when I bring up the pop-up comments as well.

http://coldheartedtruth.com/politics/index.php/2008/04/04/more-pennsylvania-polls?blog=10

I wonder where I can change that comment box size or at least center it. I don't see anything in the stylesheet that seems to refer to any of this.

I assume it is somewhere in the rsc/css folder.... but I can't find it.

6 Apr 05, 2008 04:34

All I can suggest is that you find the code for that form's text input and reduce the number of columns

7 Apr 05, 2008 11:18

See /skins/simple_zen/_item_comments_form.inc.php line 127

$Form->textarea( 'p', $comment_content, 10, T_('Comment text'), $note, 60, 'bComment' );


The "60" is the number of columns and determines the width of the textarea.

The red lines do exist above and under the comment area ;)

Good luck

8 Apr 11, 2008 14:56

Just to say thanks coldhart and Afwas

Just the info I wanted.

9 Apr 12, 2008 14:43

Hi,

I am using simple_zen at http://gameshogun.ws/ and edited to my liking. If you want the sidebars global, these are the changes to look for at the following files: page.main.php and single.main.php

1) Look for

class="widecolumn"

and change to

class="narrowcolumn"


2) Then do these changes:


<?php
// ------------------------- SIDEBAR INCLUDED HERE --------------------------
skin_include( '_sidebar.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>


<?php
// ------------------------ SIDEBAR 2 INCLUDED HERE -------------------------
skin_include( '_sidebar_2.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ----------------------------- END OF SIDEBAR -----------------------------
?>


<?php
// ------------------------- BODY FOOTER INCLUDED HERE --------------------------
skin_include( '_body_footer.inc.php' );
// Note: You can customize the default BODY footer by copying the
// _body_footer.inc.php file into the current skin folder.
// ------------------------------- END OF FOOTER --------------------------------
?>


<?php
// ------------------------- HTML FOOTER INCLUDED HERE --------------------------
skin_include( '_html_footer.inc.php' );
// Note: You can customize the default HTML footer by copying the
// _html_footer.inc.php file into the current skin folder.
// ------------------------------- END OF FOOTER --------------------------------
?>


3) Delete the following files from your simple_zen skin directory:

  • _html_footer.inc.php

  • _item_comment_form.inc.php

  • [/list:u] Won't make a difference now that your page.main.php and single.main.php layour is similar to posts.main.php ;) Unless I missed something... Hope that helps. Oh btw, sidebar and sidebar_2 have different width sizes. The original is sidebar is wider compared to sidebar_2. On my blog, I reversed the width of the two sidebars.


Form is loading...