Let topics have topic from other module as parent
yched - September 13, 2008 - 00:08
| Project: | Advanced help |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
(Not sure this is doable easily, or even that it's a good idea to begin with)
At some point, CCK will need a 'field types' page. All 'core' field types will provide a child page describing the specifics of this field type (what it stores, info on the available settings, etc...)
It would be cool if contrib field modules like date or filefield could provide their own 'field description' topic as children of CCK's 'field types' topic.

#1
They can. Just use modulename%topicname -- and this is documented.
Note that I didn't extensively test this feature, so it may break down somewhere but I did do some basic testing of it.
#2
Hm. Always embarrassing :-/
#3
Automatically closed -- issue fixed for two weeks with no activity.
#4
We're trying this out and I ran into a bug in the code that keeps it from working. Attached is a patch to fix it.
#5
Changing status.
#6
Oops, I see another issue #323867: parent module%topic format does not work, but that isn't a patch so I'll mark it a duplicate.
#7
same patch from me, and tested..
#8
Just a note, CCK Advanced help is broken until this is fixed.
#9
Patch works for my own module + submodules (not at drupal.org for now), too. Without patch module%topic didn't work.
#10
Thanks Karen! Sorry about taking a bit to get to this; I only do advanced help passes every now and then, and this came in right after I released 1.1.
#11
Automatically closed -- issue fixed for two weeks with no activity.