logo       

Re: testing 0.8 alpha: msg#00001

Subject: Re: testing 0.8 alpha
On Tue, Mar 02, 2004 at 08:06:19AM -0500, Matthew Leingang wrote:
> Hi guys,
> 
> I've installed two sites lately based on the 0.8 alpha distro.  It seems to
> work well.   Some bugs I've found, however, are:
> 
> 1.  Extra question marks in the config_setup.php script URLs so that after
> completing a step, the script starts from the beginning (I'm guessing this
> one was caught already.)
> 

Haven't seen this.

> 2.  Backend.php doesn't work because it doesn't load the right classes.  I'm
> in the middle of tracing through the code to see which classes are
> necessary.  
> 


thanks.
> In composing this e-mail I've answered the second question, too:  I found
> that all you need are the four lines from modules/story/index.php:
> 
> AddClassRequirement("story_base",$_PSL['moduledir'] .
> "/story/Story_base.class");
> AddClassRequirement("story","story_base");
> AddCl
> assRequirement("story",$_PSL['moduledir'] .
> "/story/Story.class");
> AddClassRequirement("story_plugin_i",$_PSL['moduledir
> '] ."/". $_PSL['module']['Story'] ."/Story_plugin_i.class");
> 
> 
> 
> Now that that's done, I'm interested in adding a photo album module, perhaps
> based on http://photoframe.sourceforge.net/.  I think it's a good candidate
> because it's a single file with a lot of functions and variables to deliver
> its content.  So configuration could be handed over easily from a block
> options menu, etc.
> 
> But *how in fact do I add a module?*  I'm still a little scared by the
> prospect, since I haven't contributed since the pre-"everything is a block"
> days.  :-)
> 

Short answer - Just return all output like "return $content".  Don't 
display any output directly.

index.php for the basic module public access.  Ideally the only one.

Blocks should be another php file similar to index.php and called via a 
module block option.  This way we don't have to register new block types 
for each new module.

admin.php - any needed administration functions - This is the basic 
layout for internal modules.

also see:

http://sourceforge.net/mailarchive/forum.php?thread_id=3940749&forum_id=153

Joe

> --Matt
> 
> -- 
> Matthew Leingang
> Preceptor in Mathematics, Harvard University
> leingang-c2Vpf+SSmYbWs/AcZQh2Cw@xxxxxxxxxxxxxxxx
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Phpslash-devel mailing list
> Phpslash-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/phpslash-devel


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe