This forum is for assistance with theme development.

Tweaking or overriding a module's output

Here's today's drama. Organic groups puts an XML feed icon into the $node.body (and syndicate puts its own).

(WHy isn't there simply a "node footer" template variable for all this stuff? It COULD have been "links" div, and thinks could be added to it with an array, but since it was named links and not node-footer, module writers seem to just tack on what they want whereever they want it).

Anyway, I want to move the XML and Feed icons out of a parent node completely , and place them in the footer (near a copyright) or the very bottom of the parent node.

html in node move menu

when i post html code i loose my menu, the menu going down so i dont know what is happening

the problem is with a node containing a

if i saw the homepage the menu go down:

http://www.tantascosas.com/drupal/

but if i saw the node page, everything is in their place:

http://www.tantascosas.com/drupal/?q=node/25

the article is with full html

Need Layout Help - Getting image to span from left sidebar into center content

I am in the process of creating my own theme[based on default theme] and I have an image that is set as the background of the left-sidebar. I want that image to span into the center "content" column but am having no success. The reason I need this is that you can see the width is 200px but the problem is if someone is using a resolution of 800x600 that is 1/3 of the screen so the center and right sidebar get squeezed down.

I modified a portion of my style.css file to look like this:

#sidebar-left {
  background-color: #fffffff;
  background: url("guitar.jpg") no-repeat;
  width: 200px;
  /* padding in px not ex because IE messes up 100% width tables otherwise */
  height: 97em;
  padding-left: 100px;
  vertical-align: top;
}

#sidebar-right {
  background-color: #ddd;
  width: 85px;
  /* padding in px not ex because IE messes up 100% width tables otherwise */
  padding: 10px;
  vertical-align: top;
}

and my page.tpl.php looks like this:

if ($sidebar_left) {

}

if ($mission) {
print $mission

}

print $breadcrumb print $title

template engines

I want to design my site in a phptemplate and have uploaded the phptemplate engine files to engine/phptemplate but is there anything else I need to do in order to make sure it works?

Also, is there any theme development kit available for phptemplate

Thanks

where does $primary_links get filled

I have just uploaded exactly the same theme (bonsai from afterdeathgraphics.com) to two different sites, both running 4.7 (but one on apache and one on IIS if that's relevant). Both sites have items in the Primary links which will appear as a block if switched on. However the theme has the following block of code :

changing colors in bluemarine

Hi, I've been messing around in the style.css files of bluemarine and I could change most of the things I need but there are some stuffs I really can't find:

I need to change the color of the text in the left menu to something like : everything (links) is grey, the link which I'm currently visiting must be black (ie if the current page is home then the link "home" must be black and not grey) and when I hover it must be pink. Visited links should return to their original state : grey.

I also need the links in the posts to be pink.

Pages

Subscribe with RSS Subscribe to RSS - Theme development