This forum is for assistance with theme development.

Two columns for the frontpage, and only the frontpage.

Hi.

I would like to make a frontpage with two columns, and a custom node.

I know i have to change the page-front.tpl on my theme, but i am not sure what to modify.

Also i would like to make a custom view for the teaser on the frontpage, but also i have just modify the node-type.tpl file to modify that in all the pages, but now i would like to make it diferent only for the frontpage.

make a .tpl.php file specific to node/*/edit pages?

I was wondering if anyone could tell me what to name the page-____???____.tpl.php file so that it would modify all the node edit pages. I like to remove the blocks and sidebar content from these pages, and although I can do it by adding node/*/edit to the exceptions line for every block, I'd rather just do it once and take the sidebar regions out of it.

Creating new bonus for module views

Hello, i am new on drupal and i am starting to fight with the views module.

I would like to make a view with two columns using Panels and Views. But on the columns i dont want teasers and also i dont want a list, so i have installed the bonus pack and now i am trying to modify one of the options to match what i want.

This is the code that i am trying to modify, inside the file views_bonus.module,v 1.8

function theme_views_bonus_panels_twocol_list($view, $nodes, $type) {
  $teasers = true;
  $links = true;
  if (!module_exists('panels')) {
//    return theme('views_view_nodes', $view, $nodes, $type, $teasers, $links);
  return theme_views_view_list($view, $nodes, $type);
  }
  $content = array();
  foreach ($nodes as $count => $n) {
    $node = node_load($n->nid);
    if ($count % 2) {
      $section = 'right';
    }
    else {
      $section = 'left';
    }
   $content[$section] .= node_view($node, $teasers, false, $links);// original line i want to change


}

foreach ($content as $section => $output) {
$content[$section] = '<ul>' . $output . '</ul>';
}

I would like to change the content to show a cck field, also, the title, autor, date, and fivestar voting api.
I want to make a frontpage similar to this one, two columns, preview image and small text with data.

http://show.zoho.com/popular?filter=1

Something wrong in template.php - Overriding item_list

I don't know why this is happening:

I have this (theme_item_list) override in my template.php. The override works for some elements of my theme but doesnt work in code generated by module output. Any ideas?

More themes for Drupal 5.1

Hi everyone...pls share with us the themes you use and the modifications you made to them..lets showcase some of the best sites around....and if you guys have some special themes...it would be nice if you can share them with us to also try them out..

also why dont the wizkids train us on how to modify the themes..and make nice looking sites...

can not hard code images to the page.tpl.php file

why can't i hard code images into the page.tpl.php file?
i have made sure the file path is correct, it only allows me to display an image via css as a background

is this disabled in drupal?

Pages

Subscribe with RSS Subscribe to RSS - Theme development