This forum is for assistance with theme development.

Making secondary links appear on only some pages

Hi,

I would like to have my secondary links appear on one page only.

The page I'm working on is here: http://chris.threedd.com/drupal/. I'm using PHPTemplate.

The primary links appear in the top right, under the search box.

When a person clicks on "My Business" , some extra buttons are going to appear in the blue cube area. When they click on the other primary links those buttons will disappear. Is this possible? My thought is that it would probably done in the node.tpl.php file, but I'm not sure.

How do I wrap all comments in a single div?

Ok, this seems like it would be really easy, but it's throwing me for a loop.

At the bottom of a node, *if there are comments, I would like to wrap all of them in a div and insert a headline like so:

Background Image not working in Explorer 5.2 Mac

I have 2 background images coded using CSS on my site. It works on every browser except 5.2 Explorer Mac.

My css code is as follows ...

body {
background-image: url(bg_grid.gif);
}
#main {
width: 765px;
height: 600px;
background-image: url(bg_wtrmark.gif);
margin-left: 70px;
margin-top: 30px;
}

add "active" class to primary secondary menu in xtemplate

Hi all,

I use pushbutton theme for its very nice usability and standards complaints. As reported here http://drupal.org/node/24827 for phptemplate , I would like to insert an "active" class to the current link in the primary/secondary menu.

Then I will add some different CSS to highlight the current position of the user. (see http://www.ubuntulinux.org/ main navigation as example)

Trouble with Unvisited Links not behaving properly

I'm developing my school newspaper's new website using drupal, and things have been going great so far. However, one problem stumps me and all my local gurus. The website is www.morisy.com and the problem is unvisited links won't be set to the color i define them to be in the left hand column. Visited, hovered, etc. links all are white, but unvisited links remain blue. Any ideas? The style sheet is at http://morisy.com/themes/ricepudding/style.css

Relation between Drupal and theme/template development

Hi

- What is the easiest way for non-programmers/non-techies to manipulate/develop/modify/apply themes/templates in Drupal?

- What do you recommend PHP-templates or XTMPL-templates? And which template would be the easiest to modify
(example: Pushbutton or Grey Box)?

- In case which folder apart from the themefolder are relevant?

- Is it enough doing this using Dreamweaver?

- Does it matter if the SQL-database is "up and running", while working with themes?

Pages

Subscribe with RSS Subscribe to RSS - Theme development