RE: [FreeTrade] Navigation between modules and layout.

2000-08-18 Thread Leon Atkinson

> > One more quick question, is it correct to have on navigation module call
> > others to load into itself?
> > What I mean is can I have 4 nav modules that are all called by one nav
> > module?  I am trying to simplify the maintenance and have more
> small files
> > instead one on really big one in some cases.
> As far as I know, there is no problem with this.  However, it's probably
> closer to the Freetrade design if the calling is all taken care of by
> the different layout modules.

Actually... :)  FreeTrade does this out of the box (so to speak).  Notice
that there's a side nav module that loads an admin nav module.  Yes, this is
a good way to keep things maintainable.  And, BTW, it's not wrong to
reference
a nav module from a screen.  An example might be an icon that links to the
stock quote for the store's parent company that you want to appear on three
"about us" pages.

Leon




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-17 Thread Shannon -jj Behrens

> Great;
> One more quick question, is it correct to have on navigation module call
> others to load into itself?
> What I mean is can I have 4 nav modules that are all called by one nav
> module?  I am trying to simplify the maintenance and have more small files
> instead one on really big one in some cases.
As far as I know, there is no problem with this.  However, it's probably
closer to the Freetrade design if the calling is all taken care of by
the different layout modules.  

-jj

-- 
if (shannon - jj) * behrens == webEngineer["CLEAR INK®"]:
print "imagination is the only real medium(sm)"



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-17 Thread Shawn

Great;
One more quick question, is it correct to have on navigation module call
others to load into itself?
What I mean is can I have 4 nav modules that are all called by one nav
module?  I am trying to simplify the maintenance and have more small files
instead one on really big one in some cases.

Shawn
- Original Message -
From: "Shannon -jj Behrens" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Thursday, August 17, 2000 6:02 PM
Subject: Re: [FreeTrade] Navigation between modules and layout.


> > OK, let me make sure I've got this now.
> >
> > The layout module calls one screen module and numerous navigation
modules.
> >
> > Each navigation module is self contained, ie, a navigation module does
not
> > call info from a screen module.
> > So if I want a navigation module that has a bunch of links to
departments,
> > the links should all go in the navigation module, not into a separate
screen
> > module that the nav module would call.
> >
> > So any screen module called from a link will always show up in the
location
> > that is specified by the layout used.
> >
> > So if I want a link to a screen to display that screen in a location
> > different than the one specified by the layout I have used, I have to
tell
> > that screen to use a different layout module via the ScreenInfo module..
> >
> > Am I correct?
> Fabulous.  You are completely correct.
>
> -jj
>
> --
> if (shannon - jj) * behrens == webEngineer["CLEAR INK®"]:
> print "imagination is the only real medium(sm)"
>
>
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:http://www.working-dogs.com/freetrade/
> Problems?:   [EMAIL PROTECTED]




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-17 Thread Shannon -jj Behrens

> OK, let me make sure I've got this now.
> 
> The layout module calls one screen module and numerous navigation modules.
> 
> Each navigation module is self contained, ie, a navigation module does not
> call info from a screen module.
> So if I want a navigation module that has a bunch of links to departments,
> the links should all go in the navigation module, not into a separate screen
> module that the nav module would call.
> 
> So any screen module called from a link will always show up in the location
> that is specified by the layout used.
> 
> So if I want a link to a screen to display that screen in a location
> different than the one specified by the layout I have used, I have to tell
> that screen to use a different layout module via the ScreenInfo module..
> 
> Am I correct?
Fabulous.  You are completely correct.

-jj

-- 
if (shannon - jj) * behrens == webEngineer["CLEAR INK®"]:
print "imagination is the only real medium(sm)"



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-17 Thread Shawn

OK, let me make sure I've got this now.

The layout module calls one screen module and numerous navigation modules.

Each navigation module is self contained, ie, a navigation module does not
call info from a screen module.
So if I want a navigation module that has a bunch of links to departments,
the links should all go in the navigation module, not into a separate screen
module that the nav module would call.

So any screen module called from a link will always show up in the location
that is specified by the layout used.

So if I want a link to a screen to display that screen in a location
different than the one specified by the layout I have used, I have to tell
that screen to use a different layout module via the ScreenInfo module..

Am I correct?

Shawn


- Original Message -
From: "Leon Atkinson" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 5:04 PM
Subject: RE: [FreeTrade] Navigation between modules and layout.


> > What I have done is to modify the "with_side_nav" to include a couple of
> > other navigation modules for the bottom of the screen the right side
etc.
> > Each of these navigation modules calls a "Screen" module by name for
> > inclusion into the page.  Is this correct?
>
> I won't say it's completely wrong, but it's not as the system was
intended.
> In general, you should only ever run one screen module.  You should
probably
> put everything inside those navigation modules.  If you need to break
stuff
> up further, either make more navigation modules, or write functions that
> provide the output your need and put them in an include module.
>
> Leon
>
>
>
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:http://www.working-dogs.com/freetrade/
> Problems?:   [EMAIL PROTECTED]




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-16 Thread Shannon -jj Behrens

> So, the nav modules should contain all the info and not actually call any
> screens.  What if you want a top nav module to load info into a side nav
> module, instead of the center screen that is called by the layout.  How do
> you get around that?

Shawn, please be careful when you use the word screen.  Screen should
only be used to refer to screen modules, lest we all be left in
confusion.  Navigation modules (for instance the top_nav module) should
not control the layout of anything.  Hence, your question confuses me. 
If you need to change the position of the screen module relative to the
overal page wide table, use a new layout module.  No offense, but you
should probably read Leon's article before continuing on this thread of
questions.

-jj

-- 
if (shannon - jj) * behrens == webEngineer["CLEAR INK®"]:
print "imagination is the only real medium(sm)"



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-16 Thread Shawn

So, the nav modules should contain all the info and not actually call any
screens.  What if you want a top nav module to load info into a side nav
module, instead of the center screen that is called by the layout.  How do
you get around that?

Shawn


- Original Message -
From: "Leon Atkinson" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 5:04 PM
Subject: RE: [FreeTrade] Navigation between modules and layout.


> > What I have done is to modify the "with_side_nav" to include a couple of
> > other navigation modules for the bottom of the screen the right side
etc.
> > Each of these navigation modules calls a "Screen" module by name for
> > inclusion into the page.  Is this correct?
>
> I won't say it's completely wrong, but it's not as the system was
intended.
> In general, you should only ever run one screen module.  You should
probably
> put everything inside those navigation modules.  If you need to break
stuff
> up further, either make more navigation modules, or write functions that
> provide the output your need and put them in an include module.
>
> Leon
>
>
>
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:http://www.working-dogs.com/freetrade/
> Problems?:   [EMAIL PROTECTED]




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




RE: [FreeTrade] Navigation between modules and layout.

2000-08-16 Thread Leon Atkinson

> What I have done is to modify the "with_side_nav" to include a couple of
> other navigation modules for the bottom of the screen the right side etc.
> Each of these navigation modules calls a "Screen" module by name for
> inclusion into the page.  Is this correct?

I won't say it's completely wrong, but it's not as the system was intended.
In general, you should only ever run one screen module.  You should probably
put everything inside those navigation modules.  If you need to break stuff
up further, either make more navigation modules, or write functions that
provide the output your need and put them in an include module.

Leon




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




Re: [FreeTrade] Navigation between modules and layout.

2000-08-16 Thread Shawn

Hi Leon;
Yes I ordered the second edition, it was very hard to find but I know i
won't regret it.

What I have done is to modify the "with_side_nav" to include a couple of
other navigation modules for the bottom of the screen the right side etc.
Each of these navigation modules calls a "Screen" module by name for
inclusion into the page.  Is this correct?

I will read the FreeEnergy info tonight.

Shawn


- Original Message -
From: "Leon Atkinson" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 3:25 PM
Subject: RE: [FreeTrade] Navigation between modules and layout.


> > I have a question about how the navigation between modules works.  I
> > understand the layout and navigation and screen modules work.
> >
> > I have created my layout with a top banner screen, then a top navigation
> > screen, then left, center and right side screens with a footer
> > screen below.
> > I have reworked the layout module to suite me and it works great.  But
how
> > does the top nav screen know which of the other screens I want it to
> > activate.  Right now the top nav screen opens new categories in the
center
> > screen, how does it know to do this and not open the category in the
left,
> > right or even footer screen?
>
> First, go read this article (if you haven't):
> <http://www.zend.com/zend/art/free-energy.php>
>
> FreeTrade uses the FreeEnergy templating system.  When you say "footer
> screen",
> you make me nervous that you're not using the modules properly, so allow
me
> to
> explain.  A layout module will use include() to branch to one or more
> navigation
> modules and one (and only one) screen module.  It knows which screen
module
> to
> show because it's submitted as a form variable (like SCREEN=welcome).  And
> actually, it chooses a layout module based on an entry in the ScreenInfo
> array.
> The placement of navigation modules is hardcoded into the layout module,
so
> if
> you're using with_side_nav, you always get modules/navigation/page_top at
> the
> top of the HTML page.
>
> Does that answer your question?  Because you might also be asking about
how
> to
> make a proper URL for an anchor tag.
>
> >
> > By the way, you'll all be happy to know I ordered Leon's book this
morning
> > (dammed hard to get in Canada) and should get it next week, then I won't
> > pester you all quite so much.
>
> Hopefully you ordered the second edition, which has been available for all
> of
> a week.  You'll recognize it by the purple spine (the first edition was
> orange).
>
> Leon
>
>
>
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:http://www.working-dogs.com/freetrade/
> Problems?:   [EMAIL PROTECTED]




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]




RE: [FreeTrade] Navigation between modules and layout.

2000-08-16 Thread Leon Atkinson

> I have a question about how the navigation between modules works.  I
> understand the layout and navigation and screen modules work.
>
> I have created my layout with a top banner screen, then a top navigation
> screen, then left, center and right side screens with a footer
> screen below.
> I have reworked the layout module to suite me and it works great.  But how
> does the top nav screen know which of the other screens I want it to
> activate.  Right now the top nav screen opens new categories in the center
> screen, how does it know to do this and not open the category in the left,
> right or even footer screen?

First, go read this article (if you haven't):


FreeTrade uses the FreeEnergy templating system.  When you say "footer
screen",
you make me nervous that you're not using the modules properly, so allow me
to
explain.  A layout module will use include() to branch to one or more
navigation
modules and one (and only one) screen module.  It knows which screen module
to
show because it's submitted as a form variable (like SCREEN=welcome).  And
actually, it chooses a layout module based on an entry in the ScreenInfo
array.
The placement of navigation modules is hardcoded into the layout module, so
if
you're using with_side_nav, you always get modules/navigation/page_top at
the
top of the HTML page.

Does that answer your question?  Because you might also be asking about how
to
make a proper URL for an anchor tag.

>
> By the way, you'll all be happy to know I ordered Leon's book this morning
> (dammed hard to get in Canada) and should get it next week, then I won't
> pester you all quite so much.

Hopefully you ordered the second edition, which has been available for all
of
a week.  You'll recognize it by the purple spine (the first edition was
orange).

Leon




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:http://www.working-dogs.com/freetrade/
Problems?:   [EMAIL PROTECTED]