This forum is for assistance with theme development.

Fancy theme 4.6: How to remove "Tab" image in the site slogan area

How do I get rid of the tab image that's in the way of my site slogan?
http://www.shamusland.org
TIA
-Shamus

Working with the navigation menu

Well my first menu question didn't even get a reply (lol) so hopefully this one will.

I'm looking to get an array of the top level menu items in the navigation menu. I tried using menu_get_menu_item() and had a look at the children array but it lists menu items which aren't even visible. Any ideas?

Thanks

Why would enabling secure pages module immediate drop connection to server?

I'm encountering a puzzling problem of a type I've never seen before.

I installed secure pages cvs from around June 10th.
Every time I enable it, I get
Could not connect to host
All I've done is check the box in admin--modules. I haven't touched any settings.

When I disable it, most of the time it's okay, but I got some strange error messages once.

This should not be a memory problem as I've disabled about 10 other modules, and it's not a blank page problem (per handbook)

can i contribute my design (theme) to drupal ???.....

hello their

i am very new to drupal, i went around drupal and understood how it works and how powerful it is. i also liked the way it supports the different theme engines.

i liked some of the ready made themes which drupal is offering like - summerholiday, meta-paper, k2 etc...

i would be intersted in knowing if thier is any way where i can help drupal by contributing my design of a theme.

since i have used drupal in one of my recent project and created my own theme for it, i am willing to create a unique theme to drupal (if their is a way)

Altering installed theme by an url?

Hi

I have setup a server for showing various Portal and Forum templates and themes. It works by altering the portal/forum and showing them below the menu that resides at the top of the screen. I have on there Joomla, Xoops, SMF, Tiny Portal and miniBB so far. It will take ages to load all the themes etc until there is sufficient choice. I would like to add Drupal to it too as it is such a nice looking portal. If there is a theme changing module maybe I can work out how to alter the themes myself but failing that does anyone know how to alter the Drupal theme from an url?

custom menu block not working

hi

i'd like to create a custom menu block for "left/right" navigation. i searched around any tryed something, but i cannot get working what i need.

normaly the menu goes inside a block named "block-menu". i tryed to customize this into a "block-submenu.tpl.php". so i added a function to

[templates.php]

<?php
function phptemplate_menu_tree($pid = 1, $all = FALSE) {
    return _phptemplate_callback('block-submenu', array('pid' => $pid,'all' => $all));
}
?>

and created the file

[block-submenu.tpl.php]

print "block block-$block->module" " id=" print "block-$block->module-$block->delta"; ">
		$menu = menu_get_menu();
		$output = '';
		
		if (isset($menu['visible'][$pid]) && $menu['visible'][$pid]['children']) {
	
		foreach ($menu['visible'][$pid]['children'] as $mid) {
		  $style = (count($menu['visible'][$mid]['children']) ? (menu_in_active_trail($mid)  ? 'expanded' : 'collapsed') : 'leaf');
		  $output .= "<li class=\"$style\">";
		  $output .= theme('menu_item', $mid);
		  if ($all || menu_in_active_trail($mid)) {
		    $output .= theme('menu_tree', $mid);
		  }
		  $output .= "</li>\n";
		}
	
		if ($output != '') {
			$output  = "\n<ul class=\"menu\"><li id=\"title\">$block->subject</li>\n$output\n</ul>\n";
			}
		}
		print $output;

Pages

Subscribe with RSS Subscribe to RSS - Theme development