WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Crazy template idea
noname8:
Has anyone tried to make a WebsiteBaker template that lists all the page conent, but each one in a hidden div ?
So that the whole page is fully loaded and no page refresh is needed anymore. Clicking the menu links would only show/hide specific divs that contains specific page.
It would be crucial that backed would work just like before and gets no harder - also newly added pages are shown in the template
fischstäbchenbrenner:
This would be no problem - but ask Google, what it thinks about hidden content.
Argos:
Indeed technically no problem, and also no problem for Google. It's done all the time with jQuery toggle/visibility functions.
noname8:
This would be test to be used with extranet only - no seo needed, but superfast page load is needed
ok i think i know the jquery part, but how about the php part in the template to loop & echo all the content ?
Building the nav and making the [wblinks] to work will be a huge problem also
Bug:
Idea:
Keep the page structure as you would do with a normal site, use showsection droplet as base idea to ask for the content, make the menu react with the section number that is used in showsection droplet.
Do not turn on sections so that pagenumbers and section numbers will have the same number, showmenu refers to page id and you need to refer to section id
It will be hell to alter the showmenu2 module but somehow you will have to change it to not go to another page but in stead show / hide sections or change the needed section number
Navigation
[0] Message Index
[#] Next page
Go to full version