This forum is for assistance with theme development.

can i add a header in blix?

Is there some code or a module so I can just add a header block to the blix theme since there's no header?

Not quite understanding how .tpl.php and .css fits together.

Hi Everybody

I want to develop my own theme which will be very simple. I planning to modify "pushbutton" and changing the colours and borders, but the basic structure is fine (Logo and title at top, menu on left, text in main area). Yes - it's a simple site (and my first). Does this sound like the right approach?

I have so many questions. Sorry if they are a bit basic, but that's where I'm at.

Uploading PHP to fileshares

I'm editing my theme on a fileshare by downloading files onto my PC and re-uploading new files onto the fileshare. When I tried to upload my page.tpl.php file, it morphed into page.tpl.php.txt. I'm fairly sure that it was a PHP file-type before the upload and I included php in the list of accepted file extensions. This strikes me as a bug and is seriously hindering my progress. Anyone have any ideas? Thanks.

dreamweaver extension wish list

Hi friends,
After accouncing ¨dreamweaver extension¨ project response from the drupal community, developers and designers was tremedous.

http://drupal.org/node/188455 ,http://dreamweaverdrupalthemeextension.blogspot.com

I would like invite drupal community to contribute your wishes for the extension.

with best regards

sherif

Sortable Table - Issues with Table Header

Hi!

I have been working on a outputting a view as a customized table with the Drupal theme_table (http://api.drupal.org/?q=api/function/theme_table/5) method.

My data is being written correctly but I'm having issues with the Header. I generate the table by overriding the method that render my view. The table is created using the following code:

	$table = array();
	foreach ($nodes as $i => $node) 
	{
		//Get the node
		$node = node_load($node->nid);
		
		// If this customer node is a premium customer we should include the company image in the table
		$logoObj = null;
		if(is_premium_customer($node)){
			$logoObj = theme('image', $node->field_logo_low_resolution[0]['filepath']);
		}
		
		//Create a linked title object for this customer
		$companyTitleObj = l($node->title, 'node/' . $node->nid);
		
		//Get the links of taxonomy terms assosiated with this node
		$taxonomyCategoriesLinks = get_taxonomy_categories_link_list($node);
		
		//Generate the table array
		$table[] = array($logoObj, $companyTitleObj, $taxonomyCategoriesLinks);
	}
	
	// Create the header for the table
	$tableHeader[] = array(
		array('data'=>"Logo"),
		array('data'=>"Company Name"),
		array('data'=>"Categories")
	);	
	return theme_table($tableHeader, $table);

I get the following warning message when loading my list:

help recreating class="odd"/"even" on custom userlist

hi

can someone help me with php im not very gud with it. anyway my theme supports a class="odd" and class="even" theming where odd contents will get a darker background while even will get white. i know this cause in my birthdays page layout which i did not customize it shows the effect. i would like to duplicate this on my custom userlist. im thinking maybe create a variable x and start with 1 then if check if the variable is odd or even then create an enveloping class that would say div class="odd" or even depending on the result then increment the variable x.

thank you

Pages

Subscribe with RSS Subscribe to RSS - Theme development