This forum is for assistance with theme development.

Remove Comment Section from a node (ie Wikipage)

Hi!

I've been trying to theme my wikipage node using node-wikipage.tpl.php, and I would like to remove comments from the wikipages. I am using liquidwiki.

my code for node-wikipage.tpl.php is as such:

  <p> 
  <div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">

    
<table width="580" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width = "470">
    <?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
    <span class="submitted"><?php print $submitted?><?php print $revised?></span>
    <span class="taxonomy"><?php print $terms?></span>
    </td>
    <td rowspan="2" valign="top" align="right" width = "110"> 
    </td>
  </tr>
  <tr>
    <td>
    <div class="content"><?php print $content?></div>
    <?php if ($links) { ?><div class="links">&raquo; <?php print $links?></div><?php }; ?>
    </td>
  </tr>
  <tr>
    <td colspan="2" height="30" valign="bottom">    
    <center>
    <p>
    <hr noshade color="#CCCCCC" width="490px" size="1">
    </center>    
  </td>
  </tr>
</table>
   <p>  
  </div>

The comments appear after the hr line, but I don't see anything i can remove. Perhaps its not to be done under themes? I can't seem to find any configuration in the administer comments section. I appreciate any help! Thanks so much :)

What are they?

http://www.aoerealm.com

The theme I'm using is basically pushbutton, with tweaked source and images (the xhtml version of pushbutton).

Ok heres my problem. Under each of the block names (Navigation, Poll, Latest Image, Search, etc) there is a blue bar. I've searched the images, and its not an image, I've searched the CSS for hr and there is nothing. My only thought is that it could be html stored in the database. All I want to do is change the colour of them.

Does anybody know how to fix it?

Thanks,

editing a theme

Hey I am thinking of editing an existing basic theme, such as 'bluemarine'. And I'd like to know if I'm actually allowed to do this?

Basically I like the general layout of the theme but I do not like the colours/images and some of the content layouts. This is what I will be changing. Is this a good idea?

Form theming with contemplate and CCK

Hello,

I have no problem theming my custom content types (CCK) with the contemplate module. But on the CCK page (http://drupal.org/project/cck) they say you can also style the input forms...

I haven't found a clue how to style the input forms with contemplate besides overwriting my own tpl.php file for those forms...

Trogie

list-style:none not working in bluemarine?

Content churned out of a list view in drupal does not seem to obey CSS!

I added the following to style.css in the bluemarine theme. Item-list is the div that everything is packaged in by the view class when its a list. But the list item icon never goes away!
/***************/
item-list{
list-style:none;
}
/***************/

Is this a known issue? I dont see anything wrong with the view and how it could cause this.

PS: I also tried doing ul {list-style:none}, but still didn't work.

Any ideas?

Pages

Subscribe with RSS Subscribe to RSS - Theme development