This forum is for assistance with theme development.

Adapting Garland - bg-content.png absolute positioning?

I am trying to create a theme using Garland as the basis. I have managed to work out how to ensur body.png remains left aligned. But I need bg-content.png to stay in position (absolute?) but cant work out what the coding would be?
currently it is

/* Now we add the backgrounds for the main content shading */
#wrapper #container #center #squeeze {
background: #ffffff url(bg-content.png) repeat-x 50% 0;
position: relative;
}

any advice please

Thanks

Joe

site path and nodes

In my site, I want the url to be friendly show the grouping of nodes (Example http://www.abc.com/tools/) and tools would show a bunch of other pages. How is this done in drupal? Can I group these into a category and be able to use that in the url? and get something like (http://www.abc.com/tools/node/4) or similiar?

Thanks for the help.

Themes with Nav and Subnav

Looking for a Drupal 5x theme that has good support for pages and subpages with automatic navigation creation, either with dropdowns or something else...

I wanted the new/updated red mark next to the node's title in teaser view

As soon as a user is logged in, I want him/her to see right away on the front page what he has not read, or what has been updated since the last time he read it, without having to go look in "recent posts".

In node.tpl.php, I modified this section :

<?php if ($page == 0): ?>
  <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>  
<?php endif; ?>

To :

How to display the content of a node in a block ?

Hi !
I know it's possible to display the content of a block in a node with a module but I was wondering if it's possible to display the content of a node in a block ?

What I want to do is simple, my custom node type contents some custom fields related to the node and I want to display some of these fields in a block near the main content.

Do you know how I can do that please ?

Thank you.
Matt

Force a SELECT value for feedback form

On my site, I have a block that contains a message that links to a feedback form. The link name changes depending on what section of the site you are on.

For example, if you are on Environment Health News, you would see the link "Send us feedback on Environment Health News"

The Feedback does have all the choices the category field, but what I was wondering is if there is a way to select the category that matches the page the user came from?

Pages

Subscribe with RSS Subscribe to RSS - Theme development