This forum is for assistance with theme development.

Missing argument 1 for theme_help()

Hi,

i recently upgraded my Drupal 4.5.2 installation to Druapl 4.6.

I use PHP-Template for my self built template. After installing the latest version from the CVS, I put my own theme back into the themes folder and activated it via the admin pages.

Now I do get the following error above all pages:

warning: Missing argument 1 for theme_help() in *drupal*/includes/theme.inc on line 35.

The theme went perfectly smooth with my 4.5.2 installation. I allready looked at line 35 in 'theme.inc',

function theme_help($section) {
  switch ($section) {
    case 'admin/themes#description':
      return t('The base theme');
  }
}

but this didn't really give me the clue as I'm not a coder myself. So, where should I seek to solve the problem? Any hints are highly appreciated.

newbie css help

I'm using firefox with the excellent web-developer extension to modify the style sheet(s) for my website (http://www.dane101.com). I'm having trouble figuring out how to set style attributes for specific blocks and titles and lists and list items inside of blocks. I have some aggregator feed blocks in the right sidebar. When I hover over the title in one of these blocks it displays this information:

PhpTemplate - trying to create site but admin areas use the same style?

Hi all,

New to Drupal and it looks good. I am trying to create a custom site using XHTML, CSS and PHPTemplate. I know XHTML and CSS really well so no worries there.

What I need to know is when I create my site layout in say Dreaweaver I then add in the PHPTemplate place holders for the site and upload the theme. The site seems to be fine but the admin areas are unusable as there is no styling except bits of the site.

Is it possible to have a seperate theme used for the site and admin areas?

Thanks aftershock

What do we expect from a core theme?

I am trying to write a good theme which could be included and distributed with drupal 4.7. My question to you all is "what do you expect from a core theme?".

Please, share your thoughts with me...

Box Grey?

Has box grey been ported to 4.6 yet?

Frontpage - show nodes in a special way

Hi

We've been playing with Drupal for a couple of weeks and for our site we wish to achieve this way (not exactly, but the idea) of showing nodes on the frontpage: http://www.teetime.dk/

Basically on the frontpage we need to show 2 nodes with an image in one size, then 4-6 nodes with an image in another size and then e.g. 10 nodes only shown as a line of text.

We are modifying the Marvin template and really need some help here.

Any advice is very welcome - thank you in advance!

Pages

Subscribe with RSS Subscribe to RSS - Theme development