ZenphotoCMS Forum
Simple plugin authoring how to? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Simple plugin authoring how to? (/thread-2942.html)



Simple plugin authoring how to? - syrupcore - 2008-05-23

Hi,

Building a site that is 98% photos and a single page of text. I didn't really want to roll in an entire CMS for a single page but the site is for my girlfriend and FTP is a foreign word. I wrote a pair of pages to manage the text - one to display it, one to edit/update it (php/mysql). It all works fine but I haven't moved it live because there's no password protection yet. Then it occurred to me that the easiest way to password protect it would be to make it a tab in the ZP admin.

Thing is, I'm not such a great php developer and I don't really have a clue about where to start (the plugin architecture page on the site left me with more questions...).

Is there a good tutorial around that might hold my hand for a bit? Or, has some one already authored an extension like this that I missed?

Thanks,
Will




Simple plugin authoring how to? - acrylian - 2008-05-23

I am working on a CMS plugin right now that will feature a news section, too. It will be called "Zenpage" and hopefully will be out soon.
In the meantime I could recommend a very easy to use CMS called Website Baker www.websitebaker.org.




Simple plugin authoring how to? - syrupcore - 2008-05-25

Thanks for your reply acrylian. I haven't had a chance to dig in but I might just modify the source - I'd really like to avoid a CMS for a single page of text!

A "Hello World" plugin would be a great addition to the ZP docs. Maybe if I figure out wth is going on, I'll try to write something up.




Simple plugin authoring how to? - acrylian - 2008-05-25

[i]Thanks for your reply acrylian. I haven't had a chance to dig in but I might just modify the source - I'd really like to avoid a CMS for a single page of text! [/i]
Exactyl this is why I started that cms plugin...:-)

And what is a "hello world" plugin?