This forum is for assistance with theme development.

Is there a way to wipe blocks on some pages completely?

Yo!

I know that you can set the visibility of blocks through admin control, however, I still seeming to be running into a few problems.

One problem in particular. Even though I have set it so that one particular block is invisible, it still seems to be there. Meaning that my text still stops as if the block is still there. Is there a way to wipe the block out completely so that my text runs across the whole page instead of stopping short?

Additionally, I seem to have run into a problem with the block colours. For blocks that are hidden, you can still see a faint border of them from where I've coloured the blocks using CSS. Im guessing this is a CSS problem, and I'll try to fix it as soon as I can, but has anyone got any ideas on how to fix it up front?

I'll post screenshots!

This screenshot is one of the homepage. As you can see, there's an events block on the right. Having the text stop before it runs into it is good. You'll also be able to see a small blue rectangle underneath the pink menu. This is actually where the admin controls display, if you're an admin. So yeah, trying to get rid of that! *fist shakes*

http://i112.photobucket.com/albums/n190/hatch_02/Screenshot1.jpg

This screenshot is just one of the static sites, where Ive set it that the events block shouldnt display. And it doesnt, however, the border of the block can still be seen. Also, you'll be able to see that the text runs short, as if the block is still there. Even though I've set it to be invisible Is there a way to fix that?

How do you display taxonomy terms with checkboxes?

I think I must be missing something obvious. How do you get the terms of a vocabulary to display with checkboxes instead of multiselect lists?

Any pointers would be greatly appreciated.

Manipulating the taxonomy term links..

I need to manipulate the taxonomy term links that are displayed along with the nodes (the "Posted in:..." links).
Here is what I need to do:
-Change the url from term/id to myview/id, but just for a given nodetype or eventually given vocabularies

*rdc theme flagged as 4.6 yet still works on 4.7

I found out that despite flagged as 4.6 the *rdc theme its still works perfectly on all aspects with the Drupal 4.7!!

http://drupal.org/project/rdc

~ I just put a default 'generic' theme.php file to the theme directory to define the regions thats all

despite none of code changes done on 'Converting 4.6 themes to 4.7'
http://drupal.org/node/25297
maybe this theme should be flagged as 4.7 with the addition of a theme.php

Advice on creating my theme

Hello All

I'm currently building a new website - and I am strongly thinking of moving it to drupal, i've used it before... so I am vaguely familiar with how frustrating it is!

I've created a mock up of how i want my site to look in Photoshop - which you are welcome to look at here

Would it be possible to create the above screenshot in a drupal environment? And, I know it's an odd question but how hard will it be?

display "full view" in "teaser view" for specific content types

Thanks in advance for any help on this.
(using Drupal v4.7.3, php v5.04, MySQL v4.1.21, Apache v1.3.36 by the way)

I'm trying to display the "full node view" in "teaser view" if the content type is "page" and "fileshare" by modifying Bluemarine theme's "node.tpl.php" file.

I tried the code below; but no luck:

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

<?php if ($page == 0 && $node->type=='page') { ?>
    <div class="node"><?php print $node?></div>

<?php }elseif ($page == 0 && $node->type=='fileshare') { ?>
    <div class="node"><?php print $node?></div>

<?php }elseif($page == 0){ ?>
     <h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2>
    <span class="submitted"><?php print $submitted?></span>
    <?php if ($terms): ?><span class="taxonomy"><?php print $terms?></span><?php endif; ?>
    <div class="content"><?php print $content?></div>
    <?php if ($links) { ?><div class="links">&raquo; <?php print $links?></div><?php }; ?>
  </div>
<?php }; ?>

I only seem to get the node's id output. Example "Object id #37"

Can anybody correct my code or suggest a better approach?

Thanks again,
Scott

PS. I'm very happy with Drupal. I recently switched from Xoops and I'm completing my first Drupal site for my high school's alumni association.

Pages

Subscribe with RSS Subscribe to RSS - Theme development