Creating new default theme: problem with blocks/regions

Hi.

I have a problem with my new custom theme that I set to be a default one, after reinstalling drupal it fails to put blocks into my custom regions.

Random picture

anybody know a good way to randomly pick a picture from a file and display it into a mini panel (or block) i know there are some scripts but i just can seem to find one.

How to change the layout of a particular section in page as per the value selected by Editor?

I have a homepage whose requirement is to show a carousel or a 300x300 image with headline and deck as my feature or hero content.

The editor will add either add images for carousel or add one 300x300 image, headline and deck. Editor also select from drop down box either "Carousel" or "300x300".

Now I have to create my homepage as per the value selected by editor.

How to achieve this kind of requirement?

- Aravindan N

why the override code can't work.

function mytheme_preprocess_page(&$vars)  {
if (arg(0) == 'taxonomy' && arg(1) == 'term' && is_numeric(arg(2))){
echo 'test';
   $vars['theme_hook_suggestions'][] ='page--company'; 
}
}

i want to the tag/vocabulary use the page--company.tpl.php template. i put the above code into my theme's template.php file. but it can't work. on the term page. it can output test. but it doesn't in invoke the page--company.tpl.php. it use the page.tpl.php. what't wrong with my code?

Zen theme columns (sidebars) streching to 100%

I read some discussions from this forum. I was impressed that, in ZEN theme. the column(sidebars) height can't be streched to the full height. It is bind with block height. If I want a sidebar with full height in ZEN theme, what is the easest way to do. Any update on full height sidebar?

Appreciate your help.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x