I have written needle functionality into a custom module as per the docs in the MultiHook module. After moving my needle files to the MultiHook /pnneedleapi/ directory and refreshing the MultiHook->Needles admin, it worked: nice and easy! Thanks for integrating this functionality!
Question: how should these files be distributed?
After seeing the other needle files in the MultiHook directory, I was wondering if they should be submitted to the NOC for inclusion within the MultiHook distro. On the one hand this could lead the MultiHook module to become overburdened with extras that some end-users don't need.
On the other hand, including these files within the (whatever) module distro might lead to confusion for those who don't have the MultiHook module installed.
On the other hand (ok, so that's 3 hands...shoot me!) To offer these as a separate download alongside the given module seems stringy and not very "incorporated".
Thanks for any comments on this,
- John
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
How to distribute MultiHook needles for .8?
-
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
I guess, if it going to be a popular module, than inclusion to MultiHook may be the way to go..
Including them with the your distro would be the way to go, if it is a less popular module. Yes, cross module 'pollination' can lead to some confusion, especially with weak install docs.
The third option, of separate download does seem 'stringy'. I would suggest avoiding this. I would hate to go and download separate files for a single install.
/me shoots John, the three handed freak...
--
David Pahl
Zikula Support Team -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
I wrote an integration for this to scan for and render 3rd party needles. Any (available) module that contains a ../pnneedleapi/.. directory will be scanned for file-pairs (ie, needleName.php and needleName_info.php) which are then used for the needle.
The MultiHook module did get a few changes here and there, but nothing major. Most notably is the addition of the MultiHook_admin_collectthirdpartyneedles() function. I can't remember what all files I wrote in, though, so maybe I'll just upload the whole thing, as a patch version, to the NOC. Let's see if this thread turns up any interest.
:)
Edit: If this can be adopted, then my original question is moot. ;)
edited by: alarconcepts, Jul 07, 2007 - 04:18 PM -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
I submitted the 3rd party needle integration to the patch tracker under Patch to allow 3rd p…be scanned and used. I also included a more detailed document on how to create 3rd party needles.
Enjoy!
:)
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
