This forum is for assistance with theme development.

Theme Menu Links

How do I get access to links in, say block.tpl.php? What I want to do is spit out something along the lines of:

		<ul id="nav">
			<li id="nav-link-1"><a href=<?php print "$link['url']"; ?> <?php print "$link['description']" ?></li> 
		</ul>

I'd probably preface this with something like

Dumb contact question

This is probably really dumb, but hey, never hurts to ask. much.

How is the contact form title capitalized on drupal.org? On my sites, running 4.7.2, it's lowercase "contact" at the top. I'd like to capitalize it, or otherwise change the page title, without getting into the module itself, obviously.

I assume there's something I can do in template.php, but I'm not good enough at this yet to know what it is.

Add banner graphics that are not in blocks (phptemplate)

Hi,

I am currently working with the Spreadfirefox theme and curious how I would go about adding side banner graphics to the left and right of the layout without inserting them into blocks. Also is there a way to display them only on certain pages.

Thanks,

Ivan

How do I get rid of 'add new comment'

I want to get rid of the 'add new comment' link, but not the link section itself. I also need comments to work with forum posts, just not with pages.

I tried administrator > settings > content types > page (configure) > and set 'Default comment setting' to disabled, but this did not do the trick.

Does anybody have any idea of how I would accomplish this?

formatting primary links & sidebar: what sets, and what is the hierarchy of menu, block-content, a:visited, sidebar?

I am trying to format primary links. I also want to format the text in sidebars. (both are links)

I've found that these settings in style.css affect either primary links, sidebars, or both:
--menu
--block-content
--a:visited
--primary links
--sidebar-left

However, I can't tell their hierarchy. Moving the primary links section to the end and styling them does not override the setting of links that came earlier in style.css

What is the hierarchy of these?
and more importantly,
in what file is the hierarchy set?

How do I remove the "|" in the menu?

Hello!

I am new to drupal and I have started hacking away at the templates. I have to say I wish I had dedicated more time to drupal a couple of years ago.

Anyways, I was wanting to know how I remove the "|" in the menu? I know that I probably have to create a template.php file and so something there. I am using 4.7 version of drupal. Any help would greatly be appreciated.

Thanks,

Brett

Pages

Subscribe with RSS Subscribe to RSS - Theme development