Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module should allow theme maintainers to add documentation using Advanced Help in the same way a module maintainers can do this.
Comment | File | Size | Author |
---|---|---|---|
#6 | help_themes.patch | 20.89 KB | fgm |
#5 | help_themes.patch | 1.02 KB | fgm |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCurrently only modules are checked for help files, but this could easily be extended to themes.
Comment #2
thekenshow CreditAttribution: thekenshow commentedI agree – theme support is a terrific idea. I was thinking about documenting my experience with various aspects of the Zen theme and immediately wondered how to use Advanced Help for this.
Comment #3
stephthegeek CreditAttribution: stephthegeek commentedDefinitely +1. We make some complicated themes, would love to have a Drupally way to document things inside the theme itself :)
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedI was totally wrong
So there you go.
This only really allows overrides, though. Actually having help *for* a theme might be trickier, though not completely impossible. I'm not sure if what's in there is enough so not yet marking fixed, though if it is sufficient for folks, go ahead and do so.
Comment #5
fgmThis patch seems to add theme support. Use just as in modules: help directory in the theme, (theme).help.ini file, and pages.
Comment #6
fgmRevised patch includes revision of the help text.
Comment #7
Zach Harkey CreditAttribution: Zach Harkey commented+1 This is huge!
@fgm: Thank you! The patch works great.
Also, I hope it's ok if I change the priority of this feature request to major, because this really is a huge deal for theme developers.
This finally makes it possible for the theme to easily provide deluxe style guides, code snippets, image and graphic specifications, best practices, how-to videos, etc.
Comment #8
BrightBoldAnyone willing/able to port this patch to D7? I'd love to test it out by creating theme documentation, but all the new sites I'm developing are in 7. I agree that this will be an amazing benefit for theme developers and, more importantly, for content administrators who will be able get help on themes, so I'd love to help test and get it committed.
Comment #9
nerilka CreditAttribution: nerilka commentedsuscribe
Comment #10
fgm@nerilka: please no longer use comments to subscribe to issues on d.o.: click the "Follow" button on top of the issue instead.
Comment #11
esmerel CreditAttribution: esmerel commentedFunny that stephthegeek asked me about this very thing today. I bet she forgot that she's asked for it once already! =-)
Comment #12
fgmNow if anyone would commit that patch, or at least RTBC it so I can commit it...
Comment #13
jrabeemer CreditAttribution: jrabeemer commentedI scanned the code. There's only three lines of code change. The rest is text. I don't see any reason not to commit it.
Comment #14
fgmSimply drupal usage: I wrote the patch, so I may not RTBC it.
Comment #16
gisleCommitted for D6 (so far 6.x-1.x-dev only). Needs to be ported to D7.
Comment #17
gisleCommitted for D7 (so far 7.x-1.x-dev only).
Comment #19
fgmFixed at last, then, since it's committed to both 6.x and 7.x ?
Comment #20
gisleYes, it is committed to both, but so far only in the nightly dev snapshot.
I signed on as a new maintainer of this project yesterday, and there is a huge backlog of issues in the queue to look at. I am slowly working my way through it. Expect a new full release for both D6 and D7 in about two weeks time.
PS: A huge "thank you" for this and your other contributions to the Advanced help project.
Comment #21
gisleComment #22
gisle