Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: How many page scripts do we need?: msg#00031

cms.phpslash.devel

Subject: Re: How many page scripts do we need?

On Wed, Apr 23, 2003 at 11:22:15AM -0500, Joe Stewart wrote:
>
> With the -dev modules, you really don't need all the different
> scripts. GET variables can trigger the module and page to use.
>

A variation is to use the existing phpSlash structure and assign
sections for the modules.
Otherwise the modules always have the same blocks as the home page.

A side note - We've been able to apply arguments to getStories like
max and section. What would be the best way to pass these arguments
as block options?

> For instance they could be called something like:
>
> index.php?module=Story&page=admin
>
> How far should this go? All the way to only index.php? and
> backend.php?
>
> The entire admin/ directory can go.
>
> I'd like to eventually replace the about page with either a block or
> story. It's pretty bad now that it can't be modified through the admin
> interface.
>

What else cannot be done through the web interface that maybe should
be? Assigning pages to navbar items comes to mind for me.

With module sections, there is a lot of flexibility in the page that
is presented.

- a different header for some sections. ( header block)
- different arguments to the modules for some sections. (module block)
- multiple module blocks per page.

These are probably the major things I've had to do in the scripts.

- different skins for different sections (page block)

- You can do other weird things like make an entire section a static
page using blocks. (page column)

Joe



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


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

Home | 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

Navigation