Drupal API site doesn't have printer friendly version. I started to fetch into Acrobat this morning, and it is still running. It's about 340 pages now, and I am about to abort. Is there printed version of API somewhere? How others are doing?
Every time I see code example, I get stuck because I don't understand the param which are passed. Do I understand everyone is familiar with the API, and the only way to understand the code is to know the API? I am a noob and I would like to learn step-by-step. I did buy Pro Drupal Dev book. The 2nd chapter goes right into Module without any explanation of API.
Appreciate any suggestion.
I personally prefer having search over a printed version of the API. Also the API doesn't generally have usage examples, instead it provides the code of the function which is a bit backwards. I don't know about printing (but perhaps you could post a request to the documentation list for them to include a media="print" css file for the api docs - it shouldn't take someone that long to create).
The pro drupal book is great but isn't organized that well IMHO. If I were you I would start with chapters 8 and 9 where it deals with theming and blocks and work outward from there. At any rate with the current state of the documentation the best bet is to just try things. Figure out what you need to do, get as granular as possible, search drupal.org forums first, then the pro drupal book and API docs, then look at the code yourself and if you still can't figure something out this list will be very helpful. That's my order of reference anyway.
Also you'll save yourself a lot of headaches if you always try to find solutions using existing modules before trying to write any code. There's so much you can do without writing a line of php.
A-NO-NE Music wrote:
Drupal API site doesn't have printer friendly version. I started to fetch into Acrobat this morning, and it is still running. It's about 340 pages now, and I am about to abort. Is there printed version of API somewhere? How others are doing?
Every time I see code example, I get stuck because I don't understand the param which are passed. Do I understand everyone is familiar with the API, and the only way to understand the code is to know the API? I am a noob and I would like to learn step-by-step. I did buy Pro Drupal Dev book. The 2nd chapter goes right into Module without any explanation of API.
Appreciate any suggestion.
sander-martijn / 2007/08/22 / 01:26 PM wrote:
The pro drupal book is great but isn't organized that well IMHO. If I were you I would start with chapters 8 and 9 where it deals with theming and blocks and work outward from there.
Thanks. I will do that.
Figure out what you need to do, get as granular as possible, search drupal.org forums first, then the pro drupal book and API docs, then look at the code yourself and if you still can't figure something out this list will be very helpful.
Well, I asked 3 times on this list but I have received zero answer. It might have been my English issue, however. Basically I am frustrated with how images are handled. My image directory contains a couple thousands image files now. Browsing with FTP client is inconvenient. I don't want to certain images, such as logos, to be listed as image nodes, etc. etc..
I understand the question is too broad so I then rephrased the question. What I want as the first step is to hack CCK Image Field to have image to behave as hyperlink to the node when teaser, and pops up to the original image when it is displayed in the node. I open imagefield.module file only to realize I am too noob to understand this. I get stuck with expressions that O'Reilly PHP books didn't explain. Or, I see variable names that I can't find where it has been defined. I am just a musician :-)
Stefan Borchert / 2007/08/22 / 02:08 PM wrote:
I'm running a local copy of api.drupal.org (version 5). See http://drupal.org/node/26669 for a tutorial how to do this.
Ha-ha, I need to learn CVS first, then. What do you recommend for CVS Client on OSX10.4.x?
A-NO-NE Music schrieb:
Stefan Borchert / 2007/08/22 / 02:08 PM wrote:
I'm running a local copy of api.drupal.org (version 5). See http://drupal.org/node/26669 for a tutorial how to do this.
Ha-ha, I need to learn CVS first, then.
Another challenge :-)
What do you recommend for CVS Client on OSX10.4.x?
Uh, I'm not using OSX user but you could try: - http://www.maccvs.org/ (seems to be the better one) - http://cvsgui.sourceforge.net/download.html - http://www.smartcvs.com/ or even Eclipse (it has cvs integrated).
CVS isn't really hard to learn and certainly not if you're using a graphical client.
greetings,
Stefan
A-NO-NE Music schrieb:
Drupal API site doesn't have printer friendly version. I started to fetch into Acrobat this morning, and it is still running. It's about 340 pages now, and I am about to abort.
There are nearly 1.000 functions + files + constants + topics. So 340 pages isn't really close to the end :-)
Is there printed version of API somewhere? How others are doing?
I'm running a local copy of api.drupal.org (version 5). See http://drupal.org/node/26669 for a tutorial how to do this.
hth,
Stefan