need help to get started.

chrysek

Joined: 2006-03-22
Posts: 19
Posted: Wed, 2006-03-29 14:19

Hello everyone, I do have few ideas for Gallery and I wanted to put them into actions, but I am not sure how to start it. Is there a frame or something that I could use? Any FAQ on that? Any help or pointers are greatly appreciated...

Thanks.

Chris

 
Dick Knod

Joined: 2006-02-18
Posts: 20
Posted: Wed, 2006-03-29 18:07
chrysek wrote:
Hello everyone, I do have few ideas for Gallery and I wanted to put them into actions, but I am not sure how to start it. Is there a frame or something that I could use? Any FAQ on that? Any help or pointers are greatly appreciated...

Thanks.

Chris

Frame what do u mean ?

 
chrysek

Joined: 2006-03-22
Posts: 19
Posted: Wed, 2006-03-29 19:08

I just wanted to find out how to get started thats all.. I wanted to create a simple module where for example you are logged in as an administrator or the owner of the gallery folder you then can hide pictures or remove permissions from some of them. So then to see what does show up or not you actually have to press on the guest mode and then all the images will be hidden. I wanted to write amodule where it will tell under every image if it is a hidden or private or whatever... I also wanted to write few other things, or at least try to write them, like for example to rotate multiple images at once rather than one by one.. then I wanted to go one step further and read data from images and see what orientation those mages are andmaybe rotate them automatically since such info is available in some cameras... I do now a bit of PHP language so I think I could manage the coding part but I am totaly new to gallery2 coding and that is why I wanted to learn how or whats needed to get me started. I did look at existing module code that people did write and I think I slowly am getting a grip but still I just want to learn more before I actually put my hands into this..

Thanks.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-04-02 04:10

run 'php lib/tools/creator/create-module.php' from the cmdline; click "developers" in the top here to find the little documentation we have. function getItemLinks in module.inc is where you add actions.