> How to get a "hello world" out of it? How to save "hello world" into
> Postgres?
cd into binarycloud/user/mod/simple_message/
take a look at simple_message.php
that's how to do hello world :)
the only requirements of a module is that is has teo functions:
-the module_name() function which _DOES_NOT_ output anything (for
getting db resultsets, other hoo)
-the module_name_print() function which, you guessed, it, is responsible
for printing if there's going to be anything printed.
> How to make sure that whoever sees "hello world" has permission to do so?
You will then need to set up your own page, copy /index.php, as it's a
simple page. you'll see the way to change what module you load (to your new
file in user/mod/yournewmodule/yournewmodule.php)
then you will need to edit
user/conf/file_permissions.conf and add that file under /index.php (you'll
see it at the top there)
> How to make sure that the user seeing "hello world" in fact has permission
to
> view all of "hello world" and not just part?
Now, that we don't do in r1. we will do that in r2.
> The questions begin to roll off the tongue with surprising ease...
>
> (slides finger up and down between lips, saying "e", so it sounds like
> EEBEEBEEBEEBEEBEE..)
heheheh.
:)
_a
|