This forum is for assistance with theme development.

Theming comment links

I'm trying to add divs around the links that appear at the bottom of comments ("edit", "reply", "post new comment" and so on). I realize that the function that creates these links is not one that can be themed directly, and I do not want to hack the core code as suggested in this thread so am trying to have a go at the suggestion in the last comment in that thread and use the _phptemplate_variables function in my template.php

Imagecache an View - how to use?

I've installed imagecache module and it works. But i want to use it at views, if i generate a view there is no field connected with imagecache module.

My current php code for that view at template.php

function phptemplate_views_view_list_og($view, $nodes, $type) {
$fields = _views_get_fields();

$taken = array();

maintaining hover state for menu item

This is what I want to do and I haven't a clue how. If you are at a page, say node/9

how to make that menu item highlighted the same way as the css a:hover property?

Any ideas?

I can't fix my Garland color problem

Hi all,

I'm new to this, and code-ignorant, so please humor me.

I installed Drupal fresh yesterday and wanted to change the color scheme in Garland (or any other theme, actually), but when I try I have the same problem that others have had: I change the colors and the preview changes, but when I click "save configuration" it tells me all is okay and saved, but then nothing changes in the actual site.

Following some of the other threads on this issue (http://drupal.org/node/110916 and http://drupal.org/node/92059) didn't seem to help ......... or perhaps I got lost in the explanations. Much of this is a new language to me. Several hours later, I'm still trying to identify my problem. This is what I know:

- Apache 1.3.39 (Unix) web server
- Php version is 4.4.4
- Safe Mode is OFF
- The memory I have available for php is 40M
- File system is PUBLIC
- I get the files appearing (about 17) in Drupal/Files/Colors/Garland#xxxxx
- If I change the configuration, only one Garland#xxxxx folder appears, not multiple such folders
- If I go to Site Building/Themes there is no screenshot for Garland, just a "?"
- The same behavior happens for the Minnelli theme
- I can't seem to change the colors for any theme that uses the color picker
- I have no errors in any Drupal log

Displaying custom module info

I just created my first module, but can't get the nodes to display in the conent area. The module is called team, and I have a node-team.tpl.php in the theme directory, but drupal seems to only be using node.tpl.php. Am I approaching this the right way? Can anyone point me in the right direction?

Pages

Subscribe with RSS Subscribe to RSS - Theme development