This forum is for assistance with theme development.

Replace Text links "reply" "edit" ... in forum with buttons

I would like to replace the text links like "reply" "edit" ... with buttons.
My node-forum.tpl.php simply has this line:

<?php print $links ?>

How can I change this to get the buttons in?

Andre

Looking for help with page alignment issue

I'm a beginner in dealing with Drupal and themes, so any assistance someone could provide would be great (and I'm sorry if this is a dumb question, I couldn't find an answer elsewhere, and I'm also sorry if this has already been answered). I am using a modified version of the SpreadFirefox theme for my site, www.nonprofitcongress.org.

Making first theme

I've only just discovered Drupal and I want to make a theme for it. I have been working on a layout for a site for a few weeks now which can be seen at www.scottscorneroftheweb.com/test-layout I have read heaps of documentation and I understand that you need to insert section tags, but i cannot workout where drupal draws the information that these tags are calling on. I have mucked around with the demo on opensourcecms but cannot work it out. At this point I am very confused.

Creating sub-pages within a theme? (xtemplate)

Hello all,

I have been digging around trying to find a way to create a 'sub page' layout within my xtemplate theme. My client wants a more graphically heavy layout for the top page, and a lighter layout for the subpages. But, and I hope I'm wrong, the template engine seems to be oriented only around having one layout for all pages, period.

Surely there are others out there who use Drupal and have 'sub page' layouts!

Thanks for any pointers!
pb

Passing node content to page.tpl.php

My problem is this:

I have to include content (i.e. html) in node.tpl.php into a global $content variable if it is to be included in page.tpl.php.

Another way of stating the same problem is this:

The only node content that is being displayed is the content included in a global $content variable(passed from node.tpl.php to page.tpl.php).

So, the contents of the node file is not being included unless its content is passed in a global $content variable.

How to style links in the standard Menu Block

I am trying to style the standard menu. For example, I have taken the list of links and styled them to look more like pushbuttons by adding a box and a background. The problem is that the text that comprises the actual links is styled according to the standard a tag styling. I need to style the links in the menu differently from other links. From what I see in the html, there is no way to identify the anchor tags other than the active one is set to the "active" class. Is there a way to add a standard class designation to the anchor tags in the menu list?

Pages

Subscribe with RSS Subscribe to RSS - Theme development