This forum is for assistance with theme development.

Link Underline below images

I'm trying to get rid of the underline below links and images, using box_grey, and it has a { text-decoration: none; }
but there are still underlines, most annoyingly under the logo image in the header. Am i missing somthing? Thanks.

Theming comments

It's a cool feature to style admin comments in a different way that normal uses (like thinkvitamin.com does). If a user uploads a picture as part of their profile will that show up in forums or comments?

Also is there anyway to theme comments based on role or something?

I suppose if there isn't I could always edit the comment theme function in theme.inc (I'm guessing its there) to spit out that user's role as a class in the comment. Then I could make admin comments look different via css. What do you think?

costumizing a page template / accessing node fields

Hi, I'm having problems costumizing a page template. In particular it is a template use to display on a page
a single image node; I've put it in a file image.tpl.php.

The problem is that when, in the script, I call print $content , I get displayed: image, title, description.
Is there any way in which I can handle every field of the node separately within the template?

isnt the $content variable a structured variable?

I tried $content->title, $content->image, but I don't get anything.

Primary Links Disappeared after modifying page.tpl.php

I modified my template to display the primary links in the header section. It works great on my development system but after I upload the entire template with css templates to my site, they do not show up. I verified that all template files uploaded correctly. When viewing the rendered pages source, the primary links section is missing.

Can anyone help?

My code:

Help resolving Javascript conflicts

I have been trying to use some javascripts that use the window.onload event and apparently the script and some core drupal js are in conflict. I know that drupal's js files have the addLoadEvent(); function, but nevertheless my scripts do not work. I am sure it is a conflict between the two because the Admin > Settings menu does not work when I have the script installed, but it does when I remove the scripts. Moreover, the Nifty Corners script works outside the Admin > Settings. I tried including drupal.js and utilizing the addLoadEvent(); function.

markup not working for flexinode content

For some reason entering an <h2> tag within a flexinode text area does not give me the desired result. I end up with the text wrapped in <p> tags instead. This is despite using the 'full html' input format. Works sweet with 'page' content type but not with the 'Press Release' content type I've created. Any help appreciated.

Cheers
Matt

Pages

Subscribe with RSS Subscribe to RSS - Theme development