Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am working on a theme for page.tpl . It prints the $title variable on all pages. This is fine for most pages as the variable values are exactly what our theme calls for. However we we navigate to the edit user profile page, the $title variable is just the user's name. I would like to to be something like edit user profile, or edit username's profile, or some other custom information. How do I edit this information for the user module or possible another module down the line? Thanks in advance for all the help.
Ok I am stumped, I admit it... and I need some quick advice...
Without building a tpl for the whole CCK input form how the heck do I control the WIDTH of an input for imagefield?
Why the blazers wont it obey my CSS? No matter what selectors I use I cannot set a witdth, this is a pain as the 'Browse' button does not fit within in my center column. Everything else is fine, the form looks great, but this dang image field input is driving me nuts.
I am developing a theme for drupal 4.7x... (actually I am porting a layout from openwebdesign.org).
Currently I try to theme the navigational menu through block.tpl.php where I define different styles for each of the different block-types. So if the "user-block" (the user's navigation) is created, I use a different layout as if I display e.g. the calendar-block, the loginblock or whatever. This point is clear to me so far.
Now, as indicated, the problem is the nav-menu. how can I change the actual html output of the menu-module? I supposed to find a function in menu.module, but I did not yet find what I am looking for.
To become more precise: the menues are currently output as:
But, using my own wanted css-definitions, this collides with the css-definitions of drupal.css (as I suppose). So I wondered, if it would make sense to change the html output something like:
I have found this page that explains how to have an optional css file configurable by visitors. http://drupal.org/node/59895
since I want users to chose between high-contrast and normal colors, I am very much keen on getting it to work. I have tried it on my website but it didn't work for some reason. may be there's something I am not getting?
has anybody been able to get it to work? if so any examples? and, if not, do you know of a similar hack that would produce similar results?