Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2012, 07:43:43 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149571 Posts in 21093 Topics by 7536 Members
Latest Member: SpokaneDude
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Pages that remember last page content  (Read 1958 times)
Lotus

Offline Offline

Posts: 184


« on: September 18, 2008, 07:19:18 PM »

Is it possible to have a productcatalog where products are categorized on pages in level 3 pages where level 0-2 pages are categorys. When clicking on a level 0-2 page the content are frozen unil a level 3 page is viewed where level0-2 has no content but show the last level 3 page content until viewing another level 3 page. The menu therefore lives by its own.

Does anyone have a clue what I mean  cheesy
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #1 on: September 18, 2008, 10:04:33 PM »

It sounds like a challenge..

Does anyone have a clue what I mean  cheesy

Not really..

Ruud
Logged

Professional WebsiteBaker Developer
Lotus

Offline Offline

Posts: 184


« Reply #2 on: September 23, 2008, 01:51:06 PM »

Have a look at how the menu behaves at http://scandinavianphoto.se. They have products listed on level 3 or level 4 pages. The content is the same clicking in the menu until clicking on a page with different content. If WB could behave like this i would be happier..

« Last Edit: September 23, 2008, 01:57:24 PM by Lotus » Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #3 on: September 23, 2008, 02:04:25 PM »

This makes it clear what you want to do.

In "standard" WB this will be a problem to do.
WB builds his menu from the pages database. This means there has to be a page and a link to let it show in a menu.

The menu on the example page is completely built in a huge javascript.
You could do the same thing, but you would need to build the javascript menu by hand (and change it whenever you add or remove a page).

In WB you would use the pagetype "menu link" for menu items you don't want to show.
The effect will be that selecting that page from the menu, WB will automatically select and display the first page in the next level.

Ruud
Logged

Professional WebsiteBaker Developer
vyni

Offline Offline

Posts: 566


« Reply #4 on: September 23, 2008, 02:06:11 PM »

Hi,
this looks somehow similar to accordion-menu

Look out for it here in the forum, I think I read about it in the past, or google for it. - But this is propably producing headaches  cheesy

regards from Himberg, next to Vienna
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #5 on: September 23, 2008, 02:19:06 PM »

The accordion menu template can be found here.
http://www.websitebaker2.org/forum/index.php/topic,10314.msg61034.html#msg61034
Demo: http://websitebaker.at/wb-templates/template-accordion-wb.html

Unforunatly it is only a 2 level method.
Level 0 will be the "fixed" part. Level 1 the links.

Ruud

Logged

Professional WebsiteBaker Developer
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4750



« Reply #6 on: September 23, 2008, 02:34:35 PM »

Unforunatly it is only a 2 level method.
Level 0 will be the "fixed" part. Level 1 the links.

Yes.
In fact it's not the best choice for that purpose - but it shows a way and give some hope that Lotus could create it somehow.

The first thing to do would be to look behind the effect at the JS and the HTML output and then to look how this could be put together with show_menu 2.

But as Vyni said:
Quote
But this is propably producing headaches  cheesy

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Lotus

Offline Offline

Posts: 184


« Reply #7 on: September 23, 2008, 04:00:46 PM »

Yeah it really does givning me headache  smiley

Maybe a feature to add to WB3 Wishlist, but as it is so hard to explain I need a name for it. I will try to google a name for it.. thanx for trying to help me out..
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4750



« Reply #8 on: September 23, 2008, 04:38:01 PM »

Maybe a feature to add to WB3 Wishlist.

Hello Lotus.
I don't think, that this has something to do with the WB Version.

I also don't know how the WB3 Menu Structure will behave and if we will have to use show_menu/show_menu2 as for now or if maybe Ryan has another Idea for that.

But what I think: This could be worked out. It's a lot of else if level bla bla and it would take time, but I think that it is possible.

For Example: if you have the drop-down menus - in this case you're also first choosing the sup sup category before you select the desired page. So if you understand how the menu is working (the HTML Output) you will be able to reconstruct the sm_2.
But I know, it's not easy to do.

I remember that user Avoiler tried to port a similar thing to websitebaker.
I don't know if he is still around here, but you could send a PM to him  wink

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2088



WWW
« Reply #9 on: September 23, 2008, 08:29:41 PM »

Availors website says he is busy until nov 11.
So he must be pretty busy.

Ruud
Logged

Professional WebsiteBaker Developer
Lotus

Offline Offline

Posts: 184


« Reply #10 on: September 24, 2008, 09:20:24 AM »

I don't think, that this has something to do with the WB Version.

No i guess, but i was thinking that one could, in WB backend when making a page, make it as a page with no content just as easy as making a "WYSIWYG" or "Menu link". Just mark it as a "no content" and wen clicking on that page on the site nothing will happen unless you have subpages, then ofcource they will show.

Availor had some good stuff going on, thanx for the tip.
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4750



« Reply #11 on: September 24, 2008, 09:44:40 AM »

I don't think, that this has something to do with the WB Version.

No i guess, but i was thinking that one could, in WB backend when making a page, make it as a page with no content just as easy as making a "WYSIWYG" or "Menu link". Just mark it as a "no content" and wen clicking on that page on the site nothing will happen unless you have subpages, then ofcource they will show.


Yea, this makes sense now.

Thanks for explanation.

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!