Skip to content
samthomson edited this page May 11, 2014 · 1 revision

Disclaimer

Flot is still at the early stages of development, don't expect bells and whistles yet.

Getting started

  1. Download flot and extract the files into your web directory (www, html)
  2. Browse to start.php (mysites.com/start.php)
  3. It should tell you it needs write permissions for the web directory, and it's main folder flot_flot. Once you've met these prerequisites it will allow you to enter an email and password as a login. Make sure you remember these, as I haven't programmed 'forgot password' capabilities yet.
  4. Done, you should now be presented with a default home page, created by flot. You can login to create more pages and update the homepage, but you'll probably want to make a theme.

Theming

/flot_flot/themes contains the default theme 'html5' (basically it's html5bootstrap)

Change template.html as you like, use the following swapins for flot to generate your pages from

{{item:title}} {{item:keywords}} {{item:description}} {{item:content_html}}

{{flot:theme_dir}}

{{menu:[menuid]}}

You can make as many templates as you like (within a theme), just add more .html files to the correct theme dir as you like, and put in the above swapins.

menus

when logged into the site (/flot_flot/admin/) you can click the menu tab to view all menus you've created. Click add a menu, then drag page from the right, to the left (the menu you're making). Drag them up and down to change their order, or click '~submenu' to make a submenu for that item. Copy the generated menu swapin from the bottom of that menu edit page {{menu:[menuid]}} and paste it into your theme, it will spit out a ul li formatted list. Style it as you like.

Clone this wiki locally