Just trying to get a better idea of what your talking about for the plugin section of postnuke.com. Is this for pnrender plugins? xanthia plugins? module plugins? Are they hooks?
Would probably be a good idea to put this brief description at the top of the plugins section of the site.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- 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
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 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
- nestormateo responded to »Fillters in Clip« 24. 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
What exactly do you mean by plugin?
-
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
-
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
It does state this, "As PostNuke's templating system is based on Smarty, plugins are a vital part of both your module and theme templates. Our Plugins Database contains user contributed plugins for use in your templates." on the main extensions page.
The way I see it (which is in no official capacity, mind you) is that the extensions database holds only "full" modules under modules, and the same for themes and blocks.
Then that way, if you're in the modules section, you don't even have to wonder if something is a module or not; it is always a module if it's in this section. Or if you're in the themes section you're not left wondering whether an item called "StrikeOut" is a baseball theme or a text manipulator.
I think the plugins page could use a more pointed description, and maybe some obvious top-level category links to quickly navigate plugins by type: XTE, AT, modular, core, or whatever...
That's my marginal understanding of how it is laid out anyway...
edited by: alarconcepts, Jun 07, 2006 - 08:56 AM -
- Rank: Expert
- Registered: Dec 31, 1969
- Last visit: Oct 21, 2009
- Posts: 1437
So they are just pnrender/smarty plugins? Aren't these made to be generic and not module specific then? Where to people submit hooks to then? I guess I still think it needs to be explained a little better. What triggered this question was the googlespell "plugin" for pnforum. If its a pnrender/smarty plugin, it should be able to be used for all modules, right? Would seem more like a hook though. Hmmm.
I was thinking more when you click on the plugins link on the menu to our left right now. When I click on that link, it doesnt give any description. Obviously I dont see any information that is on the postnuke.com, because of the design structure of this site, I always go straight to community.postnuke.com.
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
MACscr
So they are just pnrender/smarty plugins? Aren't these made to be generic and not module specific then?
Depends on where they're placed. Some may be module specific, like some of the Pagesetter plugins I've used recently, others are more global in scope, and as such go in the Xanthia or pnRender plugins folder depending on if they're theme or pnRender based.
Quote
Where to people submit hooks to then?
Hooks are modules that enhance or link with other modules. "Censor" is a hook module, AutoLink is a Hook module. They have their own seperate management area where you define their information, but they affect other modules output via a "hook"
Wether it can be "Universal" or not depends on how it was coded. It may link in with pnForum functions, I haven't looked at it. It would definitly be a good idea to make it more global in nature,but that's a developer issue.Quote
What triggered this question was the googlespell "plugin" for pnforum. If its a pnrender/smarty plugin, it should be able to be used for all modules, right?
Quote
Would seem more like a hook though. Hmmm.
Definitly not a hook, it doesn't work like a hook does. Hooks perform their actions on the data post submission.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Helper
- Registered: Mar 30, 2003
- Last visit: Oct 21, 2009
- Posts: 683
OK, I'm still trying to wrap my mind around plug-ins.
Specifically, groupchecker.
How do I add this (or other) plug-ins? I see you can download something added to the core, but if I have a core in place already, is there some relatively fool-proof (especially in my case) way to add a plug-in without reloading the entire core, which could cause more problems that it solved. -
- Rank: Softmore
- Registered: May 22, 2004
- Last visit: Apr 03, 2010
- Posts: 451
Specifically groupchecker:
1.) Download the plugin.
2.) upload the PHP file (block.checkgroup.php) to "includes/classes/Smarty/plugins/"
3.) use the plugin in any pnRender template as such:
Code
<!--[checkgroup gid="1" ]-->
do some stuff now we have permission
<!--[/checkgroup]-->
By installing plugins in the "includes/classes/Smarty/plugins/" folder they become available throughout the site. I think you can also install them in "config/plugins/" with the same effect.
You can also install them in "themes/YOUR THEME/plugins/" but then they'll only be available to that theme...
hope that helps...
-J
--
Burnham Racing
Illinois Cycling Association -
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 20, 2010
- Posts: 524
erm... why did we get to have "plugins" and "extensions" and moved away from the easier designations "modules", "themes", "blocks" and "hacks"? -
- Rank: Team Member
- Registered: Jan 19, 2003
- Last visit: Apr 06, 2010
- Posts: 442
Extensions = Modules and Themes and Blocks
Plugins = Smarty plugins (in addition)
Hacks = not good
--
Guite | ModuleStudio
- Moderated by:
- Support
