This forum is for assistance with theme development.

Need Theme Design

Greetings I am in search for a theme designer. I have 2 photoshop templates that I would like to base 2 theme off of. Thank You

Casey James
866 801 1910

5.0 beta primary link tabs display problem

I am playing with the 5.x beta with my custom theme. It is here on a temp site: www.memoryflix.biz. I have inserted the new primary link code in the page.tpl.php file. It took some fiddling to get them, along with the background image, to show properly. I used bluemarine page.tpl.php as the basis for the theme. Everything looked good in 4.7.4, as here: www.lifeonilife.com. My only problem is the tabs are now spaced too far apart. I have another theme that is doing the same thing. Looked fine in 4.7.4, but now there are spaces. From that theme, it seems it's the size or padding or margin of the button_over image, but nothing in the css that I change is squashing the space. I even dropped the background image to a 1px width. I realize that the new primary link code is using navlist. My css has navcontainer. I tried changing all the navcontainers to navlist and that really messed things up. So I left the new code as is and put it in
<div id = "navcontainer"></div>
I just want to get rid of the spaces. I didn't want to put this in as an issue because I THINK it's got to be the css, but if anyone thinks it worthy to be an issue I will post it there. I'm a newbie who has discovered custom theming and Dries' post said newbies could contribute to the testing of 5.x beta. I'm definitely in the "dangerous" category. I lived life as a tester for six years, testing against Oracle databases and SAS. Never want to see that life again, but I'll gladly volunteer to test if anyone wants to give me some use cases, or I can just try and break things myself!

Strip images using preg_replace

I'm creating a text only theme and would like to remove all images tags from the html output. I'm also thinking that I may want to use the alt text to present to the user instead.

I know this is done with preg_replace within template.php, but could do with some help.

Cheers
Mark

CSS Background Help Needed

Hi All

Something simple for a css pro but unfortunately im stuck.

I would like to edit the Newsportal theme to include rounded corners on the headers, primary links, menu and footer but im unable to figure out the html and css to allow multiple background images.

I know that they can not simply be written one after the other so how could I write something like

Theming by taxonomy when multiple taxonomies are used

I'm theming successfully right now on the basis of taxonomy terms, using the following as my node.tpl, based on advice elsewhere in the forums:

<?php 

$terms = taxonomy_node_get_terms($node->nid);
rsort($terms);

/**
* Check to see if the taxonomy term matches your query and load
* a custom page-termname.tpl.php layout file 
*/

if ($terms[0]->name == 'Exclusive articles') {include 'node-stories.tpl.php'; 
return; }

if ($terms[0]->name == 'Columns') {include 'node-columns.tpl.php'; 
return; }

...etc.

This is working GREAT for me. Nodes matching different taxonomy terms (a taxonomy I've called "type of story") look completely different from each other - which was the intent.

I'm hitting a snag when I create and apply another taxonomy (called "industry") to the same nodes. Now, when I categorize my nodes by industry in ADDITION to "type of story"), my node.tpl - as written above - isn't able to tell which tpl.php file to use to render the node, and just uses the default.

I have a feeling that it should be simple to pull the "type of story" taxonomy out of the taxonomy array and continue themeing nodes on that basis, but am not familiar enough with Drupal and PHP to know how to do it. Could someone offer guidance on how to rewrite my node.tpl to continue themeing by "type of story" yet still allow me to categorize my nodes by other taxonomies?

Display User List custom Page

Hi, I want to trasform the output of my User Profile List Page.

this is the User_Profile_tpl code I use:

Pages

Subscribe with RSS Subscribe to RSS - Theme development