logo       

Re: Variables.class: msg#00017

Subject: Re: Variables.class
Hi Joe,

On Tue, 2003-07-29 at 07:14, Joe Stewart wrote:
> > Speaking of modules, how is the phpSlash modules code going?  
> Mostly stable.  There is so much flexibility that you can really screw
> things up.  Not sure how I like this part. 

That's the trouble when you give folks enough rope to hang themselves
on.  :)

> Sometimes the bugs have been pretty harsh and unforgiving.

How bad?  Just nasty errors or no errors or worse lost data?

> A few nice things:  
> Easily make a poll, etc on the front page instead of a list of stories.

Ok..  

> The about page can be a story or a block and not necessarily tied to text
> inside a template.

That's good..

> Sections can have different headers and skins.  

How did you set up the header customization?  I'm not even sure where to
start digging..  Is this just built into the standard classes now?  

> If you don't use the TopicBar, you simply don't have that block.  No worry
> about including the class, etc.

There was some talk a while back about making everything a block..  Just
depends on how you want to stack them..

> You can have different footers for the two or three column page.  This is
> important for all CSS pages ( no tables).

Hm..  We haven't incorporated that piece yet..  But can't that all be
done in the index1col -> index3cols templates?

This hasn't been released yet..  Just in the standard CVS module at the
moment, right?

Just trying to figure out where your going so that we can support it
with where we're going with BE at the moment.

> > > I think providing some of the basic common placeholder values to the
> > > template object when initiating it is a natural next step.  We couldn't do
> > > this till we had a slashTemplate class.  Now, we should be able to set
> > > things like rooturl, imageurl, etc. to be provided to all templates.
> > Is someone working on a slashTemplate class?  
> 0.7 includes the slashTemplate class that extends the phplib template
> class.  This allows us to override the set_file method to use absolute
> paths, parent skins, template directories in the module's own directory,
> and as suggested, some initial values for commonly used template
> variables.

Right..  Thought it looked familiar..  just too many files to keep track
of..  

> Previously, we were just using the phplib template class.  So we had keep
> up with the template directory and all variables everywhere.

So what needs to be done to allow template variables to be accessible in
any template?

Mike
-- 
Mike Gifford, OpenConcept Consulting
Free Software for Social Change -> http://www.openconcept.ca
Site Launch - Make Every Vote Count - http://www.fairvotecanada.org
The cruelest lies are often told in silence. -- Robert L Stevenson




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01


<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