This forum is for assistance with theme development.

Cannot seem to print a singular field in a VIEW

Okay, so I am quite new to the Drupal community and I looking for some help before I slam my keyboard through my monitor. (Just a little frustrated...)

I have a view called news_view, which is a view that loads up all my news stories on one page. Its format is an unformatted list, and shows fields. I am looking to print a field manually. I created a views-view-unformatted--news_view.tpl.php.

Node Preview Template

I would like to only show certain fields on the front page node previews. Is their a template file I may create for this?

Also,

Is their generally a way or tutorial I may reference to figure out how I would vary / customize the node layouts depending on the page the user is on?

Site Logo problem

I'm having a problem with getting rid of a border on my Site Logo.

I'm using a global style in a Style Sheet for all images
Example:
a img {
border: 1px solid #fff;
}

But I cant seem to overide these settings on my Site Logo in the same CSS sheet

#Logo {Border:none;} or {Border:0px;} does not effect the image, I can only modify its position.
Ive tried .header__logo-image {Border:none;} But it gives me the same result as #logo

Any help to get rid of my border on just the site logo would be great.

How to remove gap between menu link? - Omega theme

Hi everyone,
How can I remove gap between menu tabs on this page http://hflyer.vdl.pl. I'm using Omega subtheme. I'm trying different css styles, remove margin and padding, but problem is still.

Sorry for my english:)
Highflyer

Render just the body of a particular node

I would like to render just the body of a particular node in my theme

Currently I am using the following scripting to include the desired node:

  $nid = 89; 
  print drupal_render(node_view(node_load($nid)));

However,

This renders both the title and the body, I just want to render the body of the node

How to render page with only the content in Omega

I'm trying to render a node with only the main content area. I'm close, but it still prints the sidebars.

  <?php if (isset($page['content'])) : ?>

    <?php print render($page['content']); ?>

  <?php endif; ?>  

Can I further break down render($page['content']); so that it does not include sidebar regions?

Thanks! I'm opening a node with lightbox and having it use a specific page--node--lightbox2.tpl.php.

Pages

Subscribe with RSS Subscribe to RSS - Theme development