This forum is for assistance with theme development.

Gespaa alignment problems

Is anyone else having problems in durpal 4.6.1 with this theme? The imput boxes for uploading images go way over into side content. Sometimes text from the center overlaps the side. The settings page also has text imput boxes that go into the right side nav. I don't really have much experience at all with php or css so I'm unsure what exactly I need to tweak to stop it from making this visual mess.

Green Marinee IE problem

Hello, I´m having another problem with the greenmarinee theme on IE. The components inside the right sidebard appear a little compresed to the right. Could you take a look at http://poquer-red.com with IE and tell me if you view the same? Any solution?

Ty all, Simon.

Does anyone recognize this?

Does anyone have any idea what this could be?

a:1:{i:0;s:4:"t.53";}

I added an "image gallery" in flexinode which should generate a link to an image gallery. Because I am actually customizing the whole node, it is giving me the output in this format:

Flexinode + add image gallery => a:1:{i:0;s:4:"t.48";} = help!

In flexinode, there is an option to "add image gallery".

I have added an image gallery and now I am trying to creating a custom presentation of my new content type, and I'm trying to add logic to print out

When I just use the print $content this renders as a nice link to the relevant image gallery. But when I try to access the property directly, i.e. print $node->flexinode_14

how to access modules variables and functions to style generated content

Hello, I'm very new to drupal.

My problem follows: if I want to style with phptemplate the content generated by a module (ie. trackback module) I have to override the theme_something function (theme_trackback in this case)

To do this I _have_ to declare some stuff in template.php as described here
http://drupal.org/node/11811
and create a file called 'trackback.tpl.php' (is this right ?)

The fact is, which variables can I use within this file ? And what kind of object are them ?
I can guess the name of these variables from the parameters in the declaration:

function theme_trackback($trackback, $display_links = TRUE)

but are there others that I can use in the scope of the function ? And if yes, what they represents ?
The question is: where is the documentation for this ? (I know there are too many interrogatives :-)

For basic themeable functions I have a documentation which tell me what are the available variables at what time and the name of the function and function parameters (I mean something like this
http://drupal.org/node/11814)

The fact is that if a web designer with poor php knowledge wants to style htlm content generate by modules he has to:

1. go through all the php code of the module, find theme_* functions
2. write down the parameters and the variables used
3. look up this variables through all the module source code to see what they are used for

Is there a global variable for the path to the active theme's $directory?

The theme I am developing will have several custom icons/images that I am putting in a sub directory called "graphics".

But I can't figure out how do I address these images.

For instance, say I am making a custom template for taxonomy_context_term.tpl.php and I want to use some of my icons, I could hard code it in:

<img src="/themes/mytheme/graphics/edit.gif" />

Pages

Subscribe with RSS Subscribe to RSS - Theme development