This forum is for assistance with theme development.

Tab Question -- not what you think

So, I know there are lots of posts about getting graphical primary link and secondary link tabs like the Drupal site here has. This is not about that.

Instead, it's about the "View", "edit", and "outline" tabs that you get for a content node you have authored or have edit perimssions on. I am working on re-coloring blue-marine into some darker themes (dark blue, dark red, black, etc) and I have been able to re-color everything... except these two items. They seem to just insist on staying grey, and I can't figure out what attribute I need to create or change in CSS to change their colours.

Looking at the page source I found this:

<div class="tabs"><ul class="tabs primary">
<li class="active"><a href="/?q=node/61" class="active">view</a></li>
<li><a href="/?q=node/61/edit">edit</a></li>
<li><a href="/?q=node/61/outline">outline</a></li>
<li><a href="/?q=node/61/email">email</a></li>

</ul>
</div>

... which made me think that changing the background for ".tabs.primary" might work... or ".tabs", or ".tabs a".... However when I change the background color, I get a straight bar of that color all across the page from right to left, but the tabs themselves remain light/dark grey. Since my links on this page (due to the dark backgrounds) are light in colour, I was hoping to make the tabs darker... but I just can't figure out what attribute to change.

Flash in 4.7 doesn't render

in 4.7 i am trying to put some flash objects into the template but the flash will not render when I am on another page except the frontpage.

Text in Search block

Does anyone know how to get text to apear in the search box and when clicking on it, it dispaears. Like the site below:

http://breakerdesign.com/

The code from the sites seems to be this

onblur="if (this.value == '') {this.value = 'live search';}"
		onfocus="if (this.value == 'live search') {this.value = '';}" 

How would I add this in phptemplate. I imagine I need to over ride the search function...

Removing CCK fields from <?php print $content ?>

Hi,

I am using Content Creation Kit (CCK) to create all the fields I need and I want to arrange them separately in my node views. So I am recalling them like this:

<?php print $node->field_example[0]['view']; ?>

The problem now is that these fields are then duplicated by <?php print $content ?>

How can I prevent this from happening?

Thanks,

Alex

Drupal Templates?

Hello Fellows

I have a question i have installed a drupal 4.7 version and i m already using the 4.6 version
but i m having a tough time finding good templates for drupal does anyone knows any website selling or free templates for drupal
please do let me know i realy want to change the look of my websites

Thanks

Nodevote recall

Hi,

Using nodevote.module, how can I recall the number of stars an item has as a separate phpTemplate item, so that I can place it individually in the node.tpl.php file, i.e. not underneath the content... (Also I want to remove the 'Vote Result' title and border).

Thanks,

Alex

Pages

Subscribe with RSS Subscribe to RSS - Theme development