Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Discuss > Web Design, Templates, and Themes

Nav in Page Layout Template?

User crythias
Date 8/12/2005 2:51 pm
Views 2244
Rating 42    Rate [
|
]
Previous · Next
User Message
crythias
Here's a question: Has anyone tried to put navigation in the Page Layout Template?

I don't know why, but it just came to me that WobjectProxy could be redundant if a reconfigured 3 over 1 page template included a Navigation above one of the position loops.

Maybe I'm too early in the morning.  This couldn't possibly help anybody, could it? :) :) :)
--
Maintainer of an unofficial WebGUI FAQ Please contribute questions or answers!
www.gwy.org

Back to Top
Rate [
|
]
 
 
crythias

For 24 hours, a one over three with Navigation. It's rudimentary, because I didn't clean up the rest of the style template to use the whole page. There is a caveat to using a 1 over 3 page layout: you can't skip over a position. A blank article with Display Title No is a great placeholder.

The Poll under the Vertical FlexMenu is placed without WobjectProxy, and any content can be click-and-dragged under the FlexMenu. Further, the Navigation itself is NOT in an Article, and will be in force in each page where the 1 over 3 with navigation page layout is used. If another navigation is desired, it can be placed in a copy of the page layout style and chosen without incident.

What I found out: you should put your Navigation ABOVE the <tmpl_if session.var.adminOn> tags or else drag-and-drop will be a bit flaky.
--
Maintainer of an unofficial WebGUI FAQ Please contribute questions or answers!
www.gwy.org



Back to Top
Rate [
|
]
 
 
crythias
Here's a question: Has anyone tried to put navigation in the Page Layout Template?

I don't know why, but it just came to me that WobjectProxy could be redundant if a reconfigured 3 over 1 page template included a Navigation above one of the position loops.

Maybe I'm too early in the morning.  This couldn't possibly help anybody, could it? :) :) :)
--
Maintainer of an unofficial WebGUI FAQ Please contribute questions or answers!
www.gwy.org

Back to Top
Rate [
|
]
 
 
hnchuong
I don't understand what you mean. By the way, talking about WobjectProxy, I've come up with very interesting usage of  WobjectProxy macro (Or AssetProxy in 6.3). This way, I can control the components on the part belong to style template without change the style:
- I create a page, call "Style components". You can protect this page so it only visible to Content Managers
- I put an article on that page
- I put a WobjectProxy to this article
- In the description of this article, I can put  many WobjectProxy to whatever wobject which you want to appear on your style, for example on the left menu panel
If you want to change the component appear, you just need to update the WobjectProxy macros in the article.
- You can nest the articles (for example the WobjectProxy point to an article, and within this article is another WobjectProxy macro which point to something else) to have some intersting effects.
- If you can somehow change the parameter of WobjectProxy macro depend on current page, that would be a very powerful mechanism to WebGUI



Back to Top
Rate [
|
]
 
 
crythias
OK :) I seem to have the ability to say things without spelling it out, so here goes...

One of the potential frustrations (and the original specified intention of WobjectProxy) of WebGUI is the ability to place content below a menu (usually a left-hand side menu).

Usually (as I have seen it), one makes a style template that has a header, a horizontal menu of some sort, a vertical menu of some sort, colors, and the <tmpl_var page.content>, which usually is in a box (table cell or div) that is to the right of the vertical menu and below the horizontal menu. Nearly all designs are like this in some fashion.

It can be done with a Wobject Proxy in the style, with planning, or it can be done as I have suggested: put the vertical navigation over position1_loop of a copy of the 3 over 1 (or side by side) page layout template.

The beauty of this is that you can now drag and drop Wobjects below the vertical menu. It also allows one more thing that has been a struggle: one merely needs to change which page layout template to use to change the style of the vertical menu, and possibly, with the 1 over 3, the horizontal Navigation menu as well. In case I didn't make this clear enough, what I'm saying is the header is a box on top of and independent of, tmpl_var page.content.

I think some will see the benefit of this right away. With the Navigation macro inside the page Layout template, it becomes very nice. One doesn't have to copy or change the entire style to choose which navigation(s) to use on a page. One only has to use the active style and choose a page layout that has the navigation in the format that they want to use.

Does this clear up anything?
--
Maintainer of an unofficial WebGUI FAQ Please contribute questions or answers!
www.gwy.org

Back to Top
Rate [
|
]
 
 

Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Re: Site paid for by advertizing by Klaus - Fri @ 02:27am

Smoke Test for WebGUI (Stable) (2008-11-21) by botaction - Fri @ 12:37am

Re: Site paid for by advertizing by pwrightson - Thu @ 10:59am

Re: Site paid for by advertizing by JT - Thu @ 08:58am

Re: Regelmäßiger Termin für Usertreffen in der Rhein-Neckar-Region by Klaus - Thu @ 06:11am

Smoke Test for WebGUI (Stable) (2008-11-20) by botaction - Thu @ 12:00am

Smoke Test for SVN (2008-11-20) by botaction - Thu @ 12:00am

Re: Improving page layouts by fdillon - Wed @ 08:38pm

Re: Improving page layouts by knowmad - Wed @ 08:25pm

Re: Site paid for by advertizing by knowmad - Wed @ 08:07pm

Re: SSL Configuration? by knowmad - Wed @ 07:51pm

Re: The Death of the Collaboration System by preaction - Wed @ 07:39pm