WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • OnePage demo template
  • Print
Pages: 1 [2]   Go Down

Author Topic: OnePage demo template  (Read 31637 times)

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: OnePage demo template
« Reply #25 on: October 12, 2015, 02:03:15 PM »
What you are suggesting is just not possible..

The call $op->page_content() gives all content for all pages into a one-pager template.
If the class would generate separate sections you would get a full website section(2) output in that call.

Doing it the way you are suggesting you should use something like globalBlocks for all blocks/sections in your template and create the menu hardcoded.

You are making a mistake in thinking you need a content section for the full screen images.
In this template these images are backgrounds, set by CSS, not set as content.
The output of the onepager class does generate a perfect output to do exactly what you want.
You just need to remove the .wrap and .container from the template/index.php and understand the CSS included in your template and modify it with the correct id and class selectors.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: OnePage demo template
« Reply #26 on: October 12, 2015, 02:56:33 PM »
Thank you Ruud, I guess I understand what you mean, but I don't realy know how to achieve this with css I tried what you said and gave all my pages it's own css id so that the image is shown but it is shown as a background to a whole content. And when I do that I lose the content that should be in those three columns.


Oh, ..I guess I will have to pass on that one, just can't figure it out. ;)




Thank you


R


Logged

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: OnePage demo template
« Reply #27 on: October 12, 2015, 03:14:38 PM »
Ok, I actualy did it with a simple, not realy good but working method. I put the html from the template into the wysiwyg section and I can now do exactly what I wan't and it's working as I need. I just have to be careful not to delete the divs out of the wysiwyg area, hehe ;)




Thank you


R
Logged

Offline quinto

  • Posts: 103
    • http://www.clubnumeric.org/
Re: OnePage demo template
« Reply #28 on: December 07, 2015, 02:39:48 PM »
thanks a lot Ruud it's a very elegant way to make a "new design" one page site without changing anything in the content, WB is a very very flexible CMS, one time again WB amazed me :)

Logged

  • Print
Pages: 1 [2]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • OnePage demo template
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2