By carlmcdade on
I keep going over and over the Handbooks Module Guide's explaination of the node building mechanism. Nothing seems to match anything in the present Drupal system.
I keep going over and over the Handbooks Module Guide's explaination of the node building mechanism. Nothing seems to match anything in the present Drupal system.
Comments
Preview is the first op that
Preview is the first op that I see on node creation but there is nothing about this in the the walkthrough. As a matter of fact the controllers mechanism seems to work differently from the explaination.
Is anyone up to creating a better version of this?
---------------------------
Hivemindz CMSopdedia
__________________________
Carl McDade
Information Technology Consult
Team Macromedia
I should make a correction.
I should make a correction. The explanation fits but it is a little deceptive in comparison with the actual code. The ops list is longer in the code. so it just needs to be complimented a bit.
There is though a big hole in the explaination of the callback to nodeapi to piggy back the modules functions in. This is very important if one is to understand the concepts enough to write a module that does more than write a page.
---------------------------
Hivemindz CMSopdedia
__________________________
Carl McDade
Information Technology Consult
Team Macromedia
I can't get this to jibe.
I can't get this to jibe. This is what I get by following the flow of the code. It looks nothing like the flowchart.
http://hivemindz.com/hm/images/node_mechanism.gif
---------------------------
Hivemindz CMSopdedia
__________________________
Carl McDade
Information Technology Consult
Team Macromedia
So no one knows how op is
So no one knows how op is equal to
$_POST['op']['preview']
$_POST['op']['preview']
$_POST['op']['submit']
and still works?
---------------------------
Hivemindz CMSopdedia
__________________________
Carl McDade
Information Technology Consult
Team Macromedia