This forum is for assistance with theme development.

Adding code output as Primary Link

On my site at http://demo.petitcodiac.org/en/node I have teh Primary links act as the top horizontal menu. I also have, on the right, the clickeable "language choice" ('francais' if the site is viewed in english, and 'english' if the site is viewed in french).

The code I use to make the Francais or english option appear is :

Is there a possibility to put some php in the title of a block ?

Everything is in the title...

Is there a possibility to put some php in the title of a block ?

Any help woul be great :)

Thank you.
Matt

Hide primary menu titles (displaying images in menu instead)

During redesigning our website with drupal 5.1 I suffered a setback: I tried to replace the primary links (menu) with css classed images. Well, since I'm used to this procedure, it took me just a short time to figure out the well structured css. No probs at all - used Gimp/Photoshop to draw my desired "3D-menu-pills".
But, I couldn't find out how I'd get rid of the bothering menu titles. So I started Google to "find out" how it works. After a while I realized that there're no articles at all 'bout that topic!

Where is the original Garland image ?

Hi,

Where is the original Garland work, I mean the image made of "base.png" + all the slices recomposed ?

I guess that the team/artist who made Garland originally worked with a full colored image, and added layers of alpha channels to get all the gradients and blended looks !? Is it possible to get that original file ? I think it would help to make modifications to Garland or at least to understand it better !

Thanks...

Custom Theme Functions

If my theme requires the use of a few special custom functions, where should I put them? I need to get two custom variables from a few functions, one for a common stylesheet (to be included in subtheme styles) and one to place some theme controls in my html.

I would like to assign the variables in my template.php file with a few small custom functions.

Adding my own adaptative images ?

Hi,

How do I add images to Garland so that they are automatically "blended" according to the new color scheme ?
I tried adding my picture to the slices array but I don't think this is the place to put it ? (I got bad result anyway)

Is there a specific portion of the file (color.inc) where I should put the path to my own pictures (those that need to be colored depending on the theme) ?

Thanks !

Pages

Subscribe with RSS Subscribe to RSS - Theme development