Posted by rfay on August 2, 2009 at 2:53am
| Project: | Chaos tool suite (ctools) |
| Version: | 6.x-1.0-rc1 |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The attached (as both patch and tgz) is a coder's example module for Ctools. It provides example argument, context, content type, access, and relationship plugins, along with a demo panel and advanced help. It also shows how a module can provide a default panel. I hope it can be useful.
| Attachment | Size |
|---|---|
| ctools_plugin_example_module.patch | 68.07 KB |
| ctools_plugin_example_module.tgz | 14.01 KB |
Comments
#1
I've attached the .module file, which I've cleaned up for several style issues. You can use it as a guide for some things that need to be looked at.
* @param $variable* definition
#2
This is very useful, thx!
#3
Yes this is useful, and the explanation includes useful tips in general
#4
Here is another rev of the module that (I hope) addresses the issues in #1. Thanks.
#5
Ok, committed. Let's run with this and we can patch to refine it as we go.
#6
#7
Thank you so much!!!
#8
Automatically closed -- issue fixed for 2 weeks with no activity.