logo       

[bug] theme_help does not catch all "sections": msg#00997

php.drupal.devel

Subject: [bug] theme_help does not catch all "sections"

Project: Drupal
Version: cvs
Component: theme system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: magico
Updated by: magico
Status: active

I'll try to explain better. In the "administer > configuration >
modules" we have a list of all modules present in the system. When we
enter a specific module we can see a help for this module on the page
top.

For example for blog module we have the following description on the
top "A weBLOG is a running journal of a users ideas. Enter the minimum
word count for a single entry, and the text displayed on the entry
submission form". This description is set on the "blog_help" method
when the passed $section is "admin/system/modules/blog".

[?php
case 'admin/system/modules/blog':
$output .= t("A weBLOG is a running journal of a users ideas.
Enter the minimum word count for a single entry, and the text displayed
on the entry submission form");
break;
?]

Now I just want to apply this to themes. I can se a list of themes
under the "administer > configuration > themes", but when I enter into
the configuration of a theme the system does not call myTheme_help with
a $section like "admin/system/themes/myTheme", so I can set also a
description for it on the top of the page.

I hope that this clarify my initial post, if not I'll try to send some
code as soon as possible.

magico



Previous comments:
------------------------------------------------------------------------

February 26, 2004 - 12:00 : magico

let's assume the module 'xpto'.
from 'xpto_help' I can catch the section 'admin/system/modules/xpto'

now let's assume the theme 'wyz'
from 'wyz_help' I'm unable to catch the section
'admin/system/themes/wyz'

------------------------------------------------------------------------

February 26, 2004 - 19:46 : Anonymous

This is very much unclear... Please provide code examples, or better
explanation.

--
View: http://drupal.org/node/view/6070
Edit: http://drupal.org/project/comments/add/6070





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise