Re: embracing the future

Joe Stewart <[email protected]> Tue, 28 Oct 2003 13:23:56 -0600
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Tue, Oct 28, 2003 at 06:09:10PM +0000, Peter Cruickshank wrote:
> 
> But modules are (kind of) registered in the $_PSL['module'] array - that could 
> be used for building a list of directories to look for Block_render_* files 
> in? There may be other reasons not to distribute the block-rendering code 
> around the place tho. 
> 

maybe so.  It's another place that the config file requires editing.

> I'm still getting my head round the move to rending modules through the block 
> mechanism. Seems a great idea tho.
> 

all of us.  That's why I threw out a working example to see what direction
everyone can agree on.

The pages like about.php, poll.php, etc.  are kind of there
for compatibility.  They could be replaced in the menu with different
links.  However, each one of them requires changes for their
forms/arguments to work correctly.

The reason the block_render*.class files aren't needed as much is that for
a module block you can set the module and the php page called from the
module directory.  

There really is all kinds of weird stuff you can do.

> 
> What about getting rid of the option + maybe creating an identity block or 
> making the username available to the templates?
> 

We might be able to put a placeholder for the username in the logout menu
item.

> > > New query:
> > > Not sure if it's just my setup, but I checked the Remember Me box, and
> > > I've not been able to properly logout - when I click logout, I get the
> > > login form (as you'd expect), but when I go to other pages, I'm still
> > > logged in as god.
> > >
> > > ...
> >
> > What browser and rooturl?
> >
> > Mozilla/Netscape can set cookies it can't delete.
> 
> OK. It'll see if it stays a problem. (Mozilla 1.3.1 on Mandrake 9.1, rooturl = 
> //192.168.1.100/phpslash) - but I'm not consistently reproducing this 
> behavior, so best leave it for now.
> 
> ...

Might be the ip instead of a host name.  Also might be the attempt to make
all the browsers happy with different rooturl setups.  Mozilla is a little
more strict at deleting cookies than setting them.

Joe


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/