We're now using phpwebsite for our sites to keep consistancy in layout and CSS. Now that everyone is sold on the concept I've been assigned to be the module maker/installer. I've installed and modifed the code which wasn't a big deal. I've hacked the themes into what they find desireable. I've hacked and modified certain modules. Now I have to convert some php scripts and/or create new modules. I've been looking at the starter scripts and the code all night and it doesn't look extremely easy like the other stuff. Is there a good place to start like a good dev shed article or something?
thanks
beckie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked in so many places for the howto like on the main phpwebsite.appstate.edu and on the main sourceforge site that i kind of lost track. i think this one was the one i missed because there it is... right in front of my eyes in the docs link above. i'll check it out tonight. thanks for the help. boo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
IF you don't plane on distributing- you don't have to go the module path. There is a reference doc on wrapping around HTML pages that states the minimum items needed to have any old php page work.
Just a thoughts- good intermediate step.
If you are going to look at one for example- I suggest the new Faq module by phpGirl.com, it is the cleanest I've seen so far.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Excellent! I took the advice of using an older module (I used jobs) and it came out great except there is a variable I must be messing up on. If I have both jobs and my new module installed it only shows the jobs box on the home page. Both are shown in the admin area and both are in the database. If I remove both then add mine it shows mine. It must be a variable mix up or something. Pretty neat though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We're now using phpwebsite for our sites to keep consistancy in layout and CSS. Now that everyone is sold on the concept I've been assigned to be the module maker/installer. I've installed and modifed the code which wasn't a big deal. I've hacked the themes into what they find desireable. I've hacked and modified certain modules. Now I have to convert some php scripts and/or create new modules. I've been looking at the starter scripts and the code all night and it doesn't look extremely easy like the other stuff. Is there a good place to start like a good dev shed article or something?
thanks
beckie
I shall asume you've read the HOWTO in the docs section of this site.
The only way I found to write a module was to rip apart someone else's module (make sure it works with the 0.8 series) and make it do something else.
You can always post here for help if you need some, or you can mail me if you so wish. I may take a while to answer with work being busy though...
--
Icerunner
I looked in so many places for the howto like on the main phpwebsite.appstate.edu and on the main sourceforge site that i kind of lost track. i think this one was the one i missed because there it is... right in front of my eyes in the docs link above. i'll check it out tonight. thanks for the help. boo
IF you don't plane on distributing- you don't have to go the module path. There is a reference doc on wrapping around HTML pages that states the minimum items needed to have any old php page work.
I did this with pretty good results, putting a contact list I wrote- example:
http://www.cahsalumni.com/1982/1982_ContactList.php
Just a thoughts- good intermediate step.
If you are going to look at one for example- I suggest the new Faq module by phpGirl.com, it is the cleanest I've seen so far.
Excellent! I took the advice of using an older module (I used jobs) and it came out great except there is a variable I must be messing up on. If I have both jobs and my new module installed it only shows the jobs box on the home page. Both are shown in the admin area and both are in the database. If I remove both then add mine it shows mine. It must be a variable mix up or something. Pretty neat though.
You need to make sure that you're giving it its own module entry in the database and telling it to display.
See:
https://sourceforge.net/docman/display_doc.php?docid=8200&group_id=33782#10.1
and also:
https://sourceforge.net/docman/display_doc.php?docid=8200&group_id=33782#7.1
--
Icerunner