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

Reply via email to