This forum is for assistance with theme development.

Insert HTML if comment author = "name" ?

Hi,

I've seen some blogs where the comments made by the site owner are stylized differently than the other comments. I don't want to re-style *my* comments, but just make my name stand out.

What I'd like to do is have it so that when I make a comment or reply, that a <span class=""> appears before $author (and the tag would close after $author). If the author is not me, then that bit of html is not added.

Is there anyway to do this?

just to make sure i understand this from the top...

Ok, i am new to theming .. but it's got to be done by monday. I just want to make sure my understanding is correct on some issues:
I'll need to customize the look of the forum pages and the blog pages. So:

page.tpl.php is the file that governs the look of the entire page?

so i copy this to page-default.tpl.php and also copy it to page-blog.tpl.php and page-forum.tpl.php, and then by modifying code in those files i can get a different look to the blog and forum pages?

CSS only themes for 4..7

I'm trying to find a base theme to work with on for 4.7 , that does not use tables for layout. Can anyone suggest one?

3 column Fixed width

Maybe I just haven't been looking in the right places, but I can't find a Drupal theme for a 3 column, fixed-width layout. I'm looking for something simple I can start with and adjust to fit my desired look and feel. I like having both left and right columns, but I want the middle to remain a fixed width regardless of the browser window's size.

Thanks for any help pointing me in the right direction.

Odd problem with title link in IE

Hi,

I've noticed a strange thing on my new site with the titles. In firefox, you can easily click the title of a post to go to that node, but in IE, it is somewhat tricky. You have to have the mouse pointed about 2px above the title, otherwise it doesn't indicate that it is a hyperlink.

I haven't changed anything besides color and font-size for my titles, so maybe this is a common problem with an easy fix?

Any help is greatly appreciated!

$link customising

Hi

How can I customise the output of $links in my nodes (using 4.7 beta 4)? I want to be able to choose which links to display and where.

Searching turned up a lot of advice for 4.6 but here Ber says; "In 4.7/HEAD we return structured data for those links. Its very easy to change this in 4.7."

Can anyone point me towards this easy way? That'd be a great help.

Thanks in advance for you help.

Ed.

Pages

Subscribe with RSS Subscribe to RSS - Theme development