History: BookStacked
Preview of version: 8 (current)
- «
- »
The BookStacked theme for Tiki Wiki CMS Groupware uses color and other design cues from the MIT-licensed BookStack wiki software (https://www.bookstackapp.com/). Since the underlying HTML is different between the two software platforms, Tiki configuration changes can be made to further emulate a BookStack website.
Optimize page content width for reading in large displays
To limit the width of "book pages" for good readability (lines not too wide) as the original BookStack does:
- Create a category "Bookpage" at tiki-admin_categories.php.
- On tiki-admin.php?page=category, for the item "Categories to add as CSS classes to body", add the category "Bookpage".
- Then assign to the "Bookpage" category each wiki page that is a BookStack page. (The only effect of this currently is to limit the widths of the page title and content, etc. to 940px in screens over 1400px wide.)
About the sticky side menu
The BookStack app's side menu stays in view when the page is scrolled. This limits the display of menu dropdowns to the width of the side column, so Tiki's Smartmenus feature, the dropdowns of which extend horizontally, should not be used with the BookStacked theme, if the side column menu has dropdowns. The default vertical Bootstrap menus' dropdowns extend vertically so work well with this theme.
Organizing the wiki content as books and pages
Presumably, a Tiki structure will be used the for each book in order to get the navigation links at the top of the pages (which perhaps could be styled to be more similar to the original but this isn't done yet). Or there could be one "Books" structure and then each book would be a branch within this structure.
Emulating the BookStackapp top page ("Books")
There is no out of the box solution to emulating https://demo.bookstackapp.com/books as this is beyond the scope of what a Tiki theme does so the solution for this involves site configuration. Ideally, Tiki would offer a display of wiki structures as shown on https://demo.bookstackapp.com/books. For this, each structure would have to have an image, description and activity reports associated with it along with the title that it currently has. Also there would need to be a way to display this perhaps be means of a "Structures" module whose parameters might include which structures to display or which not to, whether to display them as a simple list or as a vertical array of cards or as rows of cards as shown on the original page.
Simple method without a tracker
Since this isn't coded at the present time, such a page could be created by hand in a wiki page, in the simplest way just by listing the links to each book's (structure's) top page. This listing could be embellished by an image for each book, etc. This page would need to be edited by hand every time a new book is created or removed.
Using a tracker
Listing things in Tiki's wiki pages in a more elegant way usually means using a tracker to provide the information. In this scenario, there could be a "Books" tracker and each book would be a tracker item. There would be fields for the book title, description, image, wiki page (top page of structure), etc. Then probably PluginList, with a wiki template to provide the layout for each item, would be used to display the information on the "Books" page.
After this is set up, then the book author would create a new tracker item (could also be done via a form on a wiki page). I am not aware of a way to create a structure from within a tracker, though. If this isn't possible, then the first step should probably be to create the structure for the book, and then select it's top page in the tracker via the page selector field.
Displayed with wikitags
h1 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget link dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
[+] h2 heading
h2 Another h2
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa .
This is the content of the first tab
This is the content of the second tab
This is the content of the third tab
h3 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
h4 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
h5 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
h6 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
Horizontal rule=
-
bold text
italic text
- First numbered item
- Sub-item one
- Sub-item two
- Second numbered item
- Third numbered item
- Item One
+ Indented text - Item Two
- Item Three
- Item Three-B
- Item Four1
Row One, Column One | Row One, Column Two |
Row Two, Column One | Row Two, Column Two |
Displayed with wiki plugins
Blockquote produced with DIV plugin (type="blockquote")
This is the text of a blockquote. The text color and left border color have default values but these can be overridden in the theme stylesheet if they aren't suitable.
Quote plugin
{code caption="HelloWorld in Pascal" wrap=1}
produces:
program HelloWorld(output); begin WriteLn('Hello World!'); end. Long_line to check overflow: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{FANCYTABLE()} example:2
head one | head two | head three |
---|---|---|
cell one | cell two | cell three |
r2 c1 | r2 c2 | r2 c3 |
BIG RED
One more thing.3
Bootstrap elements
Navbar-dark bg-dark
Navbar-light bg-light
Buttons
Typography
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
Example body text
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
This line of text is meant to be treated as fine print.
The following snippet of text is rendered as bold text.
The following snippet of text is rendered as italicized text.
An abbreviation of the word attribute is attr.
Emphasis classes
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Maecenas sed diam eget risus varius blandit sit amet non magna.
Blockquotes
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Tables
# | Column heading | Column heading | Column heading |
---|---|---|---|
1 | Column content | Column content | Column content |
2 | Column content | Column content | Column content |
3 | Column content | Column content | Column content |
4 | Column content | Column content | Column content |
5 | Column content | Column content | Column content |
6 | Column content | Column content | Column content |
7 | Column content | Column content | Column content |
Forms
Inline form
Form with Bootstrap grid
Navs
Tabs
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater.
Pills
Breadcrumbs
Pagination
Disabled and active states
Indicators
Alerts
Warning!
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
Badges
(The label class has been removed in Bootstrap.)Badges scale to the parent element size. FYI
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Progress bars
Basic
Contextual alternatives
Striped
Animated
Progress group
Multiple bars
Containers
Jumbotron
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
List groups
- 14 Cras justo odio
- 2 Dapibus ac facilisis in
- 1 Morbi leo risus
Cards
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Card subtitle
Some quick example text to build on the card title and make up the bulk of the card's content.
Card link Another linkSome quick example text to build on the card title and make up the bulk of the card's content.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
Bootstrap elements
Note: A few items below still need to be updated.
Displayed with wikitags
h1 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget link dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
[+] h2 heading
h2 Another h2
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa .
This is the content of the first tab
This is the content of the second tab
This is the content of the third tab
h3 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
h4 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
h5 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
h6 heading
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa
Horizontal rule=
-
bold text
italic text
- First numbered item
- Sub-item one
- Sub-item two
- Second numbered item
- Third numbered item
- Item One
+ Indented text - Item Two
- Item Three
- Item Three-B
- Item Four4
Row One, Column One | Row One, Column Two |
Row Two, Column One | Row Two, Column Two |
Displayed with wiki plugins
Blockquote produced with DIV plugin (type="blockquote")
This is the text of a blockquote. The text color and left border color have default values but these can be overridden in the theme stylesheet if they aren't suitable.
Quote plugin
{code caption="HelloWorld in Pascal" wrap=1}
produces:
program HelloWorld(output); begin WriteLn('Hello World!'); end. Long_line to check overflow: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{FANCYTABLE()} example:5
head one | head two | head three |
---|---|---|
cell one | cell two | cell three |
r2 c1 | r2 c2 | r2 c3 |
BIG RED
One more thing.6
Bootstrap elements
Navbar-dark bg-dark
Navbar-light bg-light
Buttons
Typography
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
Example body text
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.
This line of text is meant to be treated as fine print.
The following snippet of text is rendered as bold text.
The following snippet of text is rendered as italicized text.
An abbreviation of the word attribute is attr.
Emphasis classes
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Maecenas sed diam eget risus varius blandit sit amet non magna.
Blockquotes
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Someone famous in Source Title
Tables
# | Column heading | Column heading | Column heading |
---|---|---|---|
1 | Column content | Column content | Column content |
2 | Column content | Column content | Column content |
3 | Column content | Column content | Column content |
4 | Column content | Column content | Column content |
5 | Column content | Column content | Column content |
6 | Column content | Column content | Column content |
7 | Column content | Column content | Column content |
Forms
Inline form
Form with Bootstrap grid
Navs
Tabs
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater.
Pills
Breadcrumbs
Pagination
Disabled and active states
Indicators
Alerts
Warning!
Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
Badges
(The label class has been removed in Bootstrap.)Badges scale to the parent element size. FYI
Badge PrimaryBadge Secondary
Badge Success
Badge Warning
Badge Danger
Badge Info
Progress bars
Basic
Contextual alternatives
Striped
Animated
Progress group
Multiple bars
Containers
Jumbotron
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
List groups
- 14 Cras justo odio
- 2 Dapibus ac facilisis in
- 1 Morbi leo risus
Cards
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCard title
Card subtitle
Some quick example text to build on the card title and make up the bulk of the card's content.
Card link Another linkSome quick example text to build on the card title and make up the bulk of the card's content.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros