This forum is for assistance with theme development.

user control Panel...

hi,

I want to create something similar to user control panel on http://www.goingon.com left hand side bar....
My questions....

1) how is that block made? I mean custom drupal gives every content type below the create content, how to shoe it as its shown in going on?
2) how to get those tabs in the content categories? Say media has Photos, Audios and Videos tabs?

somebody must have done work on these.
Please help me

Suggest me a theme

Hi all

I am developing a site for software news,articles,tutorials, mainly it will center around JAVA ralated technologies.

Can any one suggest me a theme?

Actually im a java developer, not a designer so i don hav any idea, abt what combination of colors and wht
type of themes i should use

heres three site for ur reference

drupal_add_css within template.php, how?

Hey folks,

I am a bit stumped on this one... I want to add a css file, within template.php, only when a specific ckk node type is loaded. I know I need to use the drupal_add_css() but how to get template.php to only load it when the node type is being used.

Any tips or ideas on how to do this?

Question about $lists

I would like to modify my node.tpl.php file so that, instead of using $lists, I can specify which parts of $lists are actually used and in what order they appear.

I've searched on the topic, and I found these:

http://drupal.org/node/44708

http://api.drupal.org/api/HEAD/function/theme_links

phptemplate, custom regions, and custom css for blocks. Load order problem

I was attempting to rationalize the CSS for my site, which was getting a bit unwieldy.
Following the example of the views theme wizard, I thought it would be clever to place my block-specific css into its own little file.

In the top of my block.tpl.php I placed

if(file_exists( $css = path_to_theme() .'/block-'. $block->module .'.css')){ 
  drupal_add_css($css);
} 

So that
- When this block gets invoked
- If it has a custom css available
- That CSS is added to the list.

Sounds tidy? Pretty much the way that phptemplate does its thing?
No.

This worked perfectly when the block was in the left or the right but not when it was in a custom region for my theme.

Due to the order of operations in phptemplate.engine:phptemplate_page()
- left sidebar is pre-themed
- right sidebar is pre-themed
- Other standard page variables are pre-themed, including the '$styles' list
- Remaining custom variables (and the blocks that are to go in my custom region) are themed
-- page is rendered via page.tpl.php (which renders the $styles css tags)

The effect is that the $styles are compiled prematurely, and the drupal_add_css() I called in my custom region block never works!

:(

Arg.

Making the CCK fields into a table?

I currently have a lot of fields for one particular content type, and right now when it displays them it does it like so:

Item1:
value for item 1

Item2:
value for item 2

Etc...

Now I would love it if I could somehow make this stuff into a table, or at the very least get it to look like this:

Item1: value for item 1

Item2: value for item 2

Pages

Subscribe with RSS Subscribe to RSS - Theme development