hi
i am about new to zikula and I've learnt alot about it in recent months
but all I learnt , was from reading modules code and testing my idea to reach my goal
I've searched alot but found no complete documentation about zikula or postnuke
anyone knows a place than i can learn proffessional features of zikula like block developement or hooks?
the documentation in this site is really poor.
thanks to every one who can help me.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- 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
- 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
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
New to Block development
-
- Rank: Registered User
- Registered: Aug 05, 2009
- Last visit: Nov 09, 2009
- Posts: 3
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Hi Hosseingt!
Welcome to the community forums!
In fact, we need more hands on the documentation
Hooks is an undocumented cool feature that you can implement looking to other Hook modules too, but I guess that the Blocks development page is complete enough to build your own block, it's real simple and you can also check the existing Blocks...
In the other hand, Hooks are not a mystery...
You just register the functions that handle each purpose (display, edit, create...) and It got inserted/called from the respective places. If you build a create hook, you define the GUI function in charge, so, handle both cases:
* When the hook is called after creation/edition submit (you get your unique input parameters)
* When the hook is called from the edit/creation form, then you return the section that you want to insert in the other's module Item creation/edition.
It's just a matter to register your GUI method, Hook your module to Pages/News/etc and play
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Registered User
- Registered: Sep 18, 2009
- Last visit: Jan 12, 2010
- Posts: 43
Hi Mateo
I was wondering about the possibility of create blocks as well..
It is possible to create one by combining code from other ones?
Just as an example, on my site i'm working on, http://www.learnphoto.ca/onlinecourses/
I've got a variety of blocks:
-News
-10 latest weblinks
-5 latest discussion forum
Is it possible to combine them all into one block? For example, can i just take the code out of the latest weblinks and latest discussion forum templates and paste them into the news one so they all show together?
Or could i copy the Web_Links not available module, rename the folder something else(LATEST INFO for example) and put it the modules folder and then adjust the code in the templates?
Another unrelated question, how can i make the space between blocks on my left menu smaller or not there at all?
Thanks
Noel -
- Rank: Registered User
- Registered: Aug 05, 2009
- Last visit: Nov 09, 2009
- Posts: 3
thank you alot;
i made the block with your guides.
i have a new problem.
my module has some function that works correctly in admin mode..
but when i made a block and put in in my home page (user mode) it does not run correctly and SQL queries are not in right format
(for example 'select from where id=3' table name and fields are not in final query that i have made with dbutil )
is here right place for posting this problem? -
- Rank: Registered User
- Registered: Aug 05, 2009
- Last visit: Nov 09, 2009
- Posts: 3
I found it
sometimes all of the tables don't load into $pntable variable and some of dbutill functions that use $pntable cannot find table name and its columns so the query will bi like that i said
the solution is that we use
pnModDBInfoLoad('ModuleName');
to load data into $pntables
- Moderated by:
- Support
