From: Don S. <do...@se...> - 2003-01-03 16:17:04
|
I'm a dunce or something. How do I get phpws or boost to see my module? Don. |
From: Matthew M. <ma...@tu...> - 2003-01-03 16:38:59
|
> I'm a dunce or something. > How do I get phpws or boost to see my module? Seeing as we haven't bothered to write much documentation, you are forgiven :) Create a mod_info.php file in your conf directory. Matt |
From: Don S. <do...@se...> - 2003-01-03 16:41:19
|
Eh I just saw the error. I was developing with my module code in my home directory and was sym-linking it in to the phpws mod directory. This was giving me "stat failed" errors in phpws/core/File.php on line 44 where it checks for direcotries or files. It doesn't like symlinks. So I'm copying things over for now. Is it possible to change that file to allow sym links? I realize I could do it on my own but there might be others in the same boat. Don. On Fri, 3 Jan 2003, Don Seiler wrote: > I'm a dunce or something. > > How do I get phpws or boost to see my module? > > Don. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-01-03 17:11:12
|
Hm well I installed my module via boost but when I come back to the "Modules" screen (logged in as a deity), I don't see my module listed anywhere. eek. Don. On Fri, 3 Jan 2003, Don Seiler wrote: > Eh I just saw the error. > > I was developing with my module code in my home directory and was > sym-linking it in to the phpws mod directory. This was giving me "stat > failed" errors in phpws/core/File.php on line 44 where it checks for > direcotries or files. It doesn't like symlinks. So I'm copying things > over for now. > > Is it possible to change that file to allow sym links? I realize I could > do it on my own but there might be others in the same boat. > > Don. > > On Fri, 3 Jan 2003, Don Seiler wrote: > > > I'm a dunce or something. > > > > How do I get phpws or boost to see my module? > > > > Don. > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: <ad...@tu...> - 2003-01-03 17:23:48
|
Boost should pick it up if you have your module directory and within that a setup directory with all the default files (I usually copy these from another module and edit them to my needs). Adam > I'm a dunce or something. > > How do I get phpws or boost to see my module? > > Don. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: <ad...@tu...> - 2003-01-03 17:26:58
|
Edit the admin_menu.tpl file in the users templates and add your module there. The syntax for the variables are pretty strait forward. (YOUR_MOD_ADMIN, YOUR_MOD_USER). The sym link stuff should work...I often symlink a module into the mods directory without a problem. Only thing I can say here is to make sure your permissions were set on the directory in your home directory to allow the web server access. Hope that helps! Adam > Hm well I installed my module via boost but when I come back to the > "Modules" screen (logged in as a deity), I don't see my module listed > anywhere. > > eek. > > Don. > > On Fri, 3 Jan 2003, Don Seiler wrote: > >> Eh I just saw the error. >> >> I was developing with my module code in my home directory and was >> sym-linking it in to the phpws mod directory. This was giving me >> "stat failed" errors in phpws/core/File.php on line 44 where it >> checks for direcotries or files. It doesn't like symlinks. So I'm >> copying things over for now. >> >> Is it possible to change that file to allow sym links? I realize I >> could do it on my own but there might be others in the same boat. >> >> Don. >> >> On Fri, 3 Jan 2003, Don Seiler wrote: >> >> > I'm a dunce or something. >> > >> > How do I get phpws or boost to see my module? >> > >> > Don. >> > >> > >> > ------------------------------------------------------- >> > This sf.net email is sponsored by:ThinkGeek >> > Welcome to geek heaven. >> > http://thinkgeek.com/sf >> > _______________________________________________ >> > Phpwebsite-developers mailing list >> > Php...@li... >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> > >> > >> > >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Don S. <do...@se...> - 2003-01-03 18:43:47
|
Eh you're right about the sym-link. While my code dir was 755, my home dir was 700. all apologies. Don. On Fri, 3 Jan 2003 ad...@tu... wrote: > Edit the admin_menu.tpl file in the users templates and add your module > there. The syntax for the variables are pretty strait forward. > (YOUR_MOD_ADMIN, YOUR_MOD_USER). > > The sym link stuff should work...I often symlink a module into the mods > directory without a problem. Only thing I can say here is to make sure > your permissions were set on the directory in your home directory to allow > the web server access. > > Hope that helps! > > Adam > > > Hm well I installed my module via boost but when I come back to the > > "Modules" screen (logged in as a deity), I don't see my module listed > > anywhere. > > > > eek. > > > > Don. > > > > On Fri, 3 Jan 2003, Don Seiler wrote: > > > >> Eh I just saw the error. > >> > >> I was developing with my module code in my home directory and was > >> sym-linking it in to the phpws mod directory. This was giving me > >> "stat failed" errors in phpws/core/File.php on line 44 where it > >> checks for direcotries or files. It doesn't like symlinks. So I'm > >> copying things over for now. > >> > >> Is it possible to change that file to allow sym links? I realize I > >> could do it on my own but there might be others in the same boat. > >> > >> Don. > >> > >> On Fri, 3 Jan 2003, Don Seiler wrote: > >> > >> > I'm a dunce or something. > >> > > >> > How do I get phpws or boost to see my module? > >> > > >> > Don. > >> > > >> > > >> > ------------------------------------------------------- > >> > This sf.net email is sponsored by:ThinkGeek > >> > Welcome to geek heaven. > >> > http://thinkgeek.com/sf > >> > _______________________________________________ > >> > Phpwebsite-developers mailing list > >> > Php...@li... > >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >> > > >> > > >> > > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Phpwebsite-developers mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >> > >> > >> > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------------------------------------------- > Adam Morton > Developer - Electronic Student Services > http://phpwebsite.appstate.edu > Founder - Appalachian Linux Users Group > http://alug.appstate.edu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-01-03 18:26:38
|
So the mod list is hard-coded into that template? Wouldn't it be best if the list of modules was pulled from the database? Don. On Fri, 3 Jan 2003 ad...@tu... wrote: > Edit the admin_menu.tpl file in the users templates and add your module > there. The syntax for the variables are pretty strait forward. > (YOUR_MOD_ADMIN, YOUR_MOD_USER). > > The sym link stuff should work...I often symlink a module into the mods > directory without a problem. Only thing I can say here is to make sure > your permissions were set on the directory in your home directory to allow > the web server access. > > Hope that helps! > > Adam > > > Hm well I installed my module via boost but when I come back to the > > "Modules" screen (logged in as a deity), I don't see my module listed > > anywhere. > > > > eek. > > > > Don. > > > > On Fri, 3 Jan 2003, Don Seiler wrote: > > > >> Eh I just saw the error. > >> > >> I was developing with my module code in my home directory and was > >> sym-linking it in to the phpws mod directory. This was giving me > >> "stat failed" errors in phpws/core/File.php on line 44 where it > >> checks for direcotries or files. It doesn't like symlinks. So I'm > >> copying things over for now. > >> > >> Is it possible to change that file to allow sym links? I realize I > >> could do it on my own but there might be others in the same boat. > >> > >> Don. > >> > >> On Fri, 3 Jan 2003, Don Seiler wrote: > >> > >> > I'm a dunce or something. > >> > > >> > How do I get phpws or boost to see my module? > >> > > >> > Don. > >> > > >> > > >> > ------------------------------------------------------- > >> > This sf.net email is sponsored by:ThinkGeek > >> > Welcome to geek heaven. > >> > http://thinkgeek.com/sf > >> > _______________________________________________ > >> > Phpwebsite-developers mailing list > >> > Php...@li... > >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >> > > >> > > >> > > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Phpwebsite-developers mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >> > >> > >> > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------------------------------------------- > Adam Morton > Developer - Electronic Student Services > http://phpwebsite.appstate.edu > Founder - Appalachian Linux Users Group > http://alug.appstate.edu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Matthew M. <ma...@tu...> - 2003-01-03 18:32:34
|
> So the mod list is hard-coded into that template? Wouldn't it be best > if the list of modules was pulled from the database? There is a tag that displays all the modules. Unfortunately, you are unable to sort them when they all spit out at once. For now, this is the best solution, but we will come up with something a little easier in the future. Matt |
From: Don S. <do...@se...> - 2003-01-03 18:37:57
|
*clenches teeth and shakes fist* You'd better! Anyway I got my mod recognized by the system. Now just to actually write working code. Don. On Fri, 3 Jan 2003, Matthew McNaney wrote: > > > So the mod list is hard-coded into that template? Wouldn't it be best > > if the list of modules was pulled from the database? > > There is a tag that displays all the modules. Unfortunately, you are > unable to sort them when they all spit out at once. > > For now, this is the best solution, but we will come up with something a > little easier in the future. > > Matt > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-01-08 18:39:51
|
Well here is my quandary: In order for someone to use a new module, they have to: 1. Download the mod code 2. Unpackage the code into the proper dir 3. Edit the users's admin_menu.tpl I had been hoping that Boost would provide for a way for phpWS to "see" all available modules from some "master list", say on the appstate site or something. Then Boost would download the code if needed and do the install and necessary menu additions. Is this a lot harder than I make it out to be? Don. On Fri, 3 Jan 2003, Matthew McNaney wrote: > > > So the mod list is hard-coded into that template? Wouldn't it be best > > if the list of modules was pulled from the database? > > There is a tag that displays all the modules. Unfortunately, you are > unable to sort them when they all spit out at once. > > For now, this is the best solution, but we will come up with something a > little easier in the future. > > Matt > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |