Titles for Forum Members

I want to emulate the system in my old SMF forum. That is, next to members names and avatars, you see number of posts, a title based on number of posts, whether they are a moderator and any other custom title. This out of the box facility in SMF seems to be absent from Drupal's forum.

Does anyone know how to do that? Is a module required? I had a look and the only one I found if for D6 and I have D7: http://drupal.org/project/user_titles

Vertical Menu with Hover Effect on Existing CSS (Drupal Mayo Theme)

Hello,

I have a Existing CSS (Drupal Mayo Theme) that I would like to add a Hover Effect to it's Vertical Menu.

I have an example of how it should be http://www.learnwebdesignonline.com/css-tutorials/verticalmenu.htm, but I don't know where to start editing in the CSS...

Thanks All :)

/* $id$ */

* {
margin: 0;
padding: 0;
}
body {
font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', 'URW Palladio L', Baskerville, serif;
line-height: 1.5em;
font-size: 87.5%; /* = 14px assuming browser's regular font size is 16px */
}
ul {
margin: 0;
padding: 0;
list-style-type: disc;
margin-left: 10px;
}
ol {
margin: 0;
padding: 0;
margin-left: 10px;
}
a {
text-decoration: none;
}
a:hover, a:active, a:focus {
text-decoration: underline;
}
em {
font-style: italic;
}
/* p,a,strong,em,li,dl,dt { */
p,li,dl,dt {
margin: 6px 0;
line-height: 1.5em;
}
dd {
margin-left: 2.5em;
}
table {
width: 100%;
margin: 4px 0px;
}
h1 {
font-size: 1.4em;
}
h2 {
font-size: 1.3em;
}
h3 {
font-size: 1.2em;
}
h4 {
font-size: 1.15em;
}
h5 {
font-size: 1em;
}
fieldset {
border-width: 1px;
border-style: solid;
}
#site-name, #site-slogan {
font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', 'URW Palladio L', Baskerville, serif;
}

Different header image to different nodes?

Hi,

I'm trying to get different header images to different pages on my website but cant find a code or module that works =(

I have developed my site with Artisteer and are using Drupal 7.

Is there anyone who can help me with this?

Thanks =)

How work the naming of the template file the .tpl.php

Hi

I try to learn drupal. To do this, of course I read and watch video but I have at my disposal a complet web site and I try to understand how it work.

This site uses a custom theme and the theme there are tens of files "tpl.php". I know its files as a template, but what I do not understand is how work the nomenclature.

How to explain the name: "views-view-fields-product-panel-pane-1.tpl.php".

One thing I know is that if I change the name of this files the content changes so I guess the name is important.

Thank you for helping me

How to modify the home page

I just want to change the alignment of something by adding a class to the home page, but I can't figure out how to access the code for the home page. There is an index.php page which I would normally assume is the home page, but this doesn't appear to be it. I know I am missing something obvious, but help would be greatly appreciated!

Thanks!

Make variables available to ALL preprocess functions in a theme

I have the variable $url which contains an array of each part of the URL (i.e. http://example.com/sports/soccer results in: $url[0] = sports, $url[1] = soccer). I would like to make this variable available to all of the theme's preprocess functions, rather than having to set it in every one.

I've tried setting it in hook_preprocess(), but while that makes it available to all of my theme's templates, it's not available to the other preprocess functions. So is there a way to do this?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x