Loading...
 
Skip to main content

History: BookStacked

Preview of version: 9 (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.

 Page update coming
Some elements need to be added or updated for the lastest Bootstrap and Tiki versions.

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
A np^/npboxnp^/np
Box plugin:


Title
This is a box plugin's content.
  1. First numbered item
    1. Sub-item one
    2. Sub-item two
  2. Second numbered item
  3. Third numbered item
A Title Bar
  • 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

Being Green is not a trend, but a Lifestyle that should be normal to us all, everywhere. (Just like fashion)

{code caption="HelloWorld in Pascal" wrap=1}
produces:

HelloWorld in Pascal
Copy to clipboard
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
 Warning
This is a warning rbox.

Click me...

Click me and I'll quietly fade away (Fade plugin demo).

BIG RED

One more thing.3

Bootstrap elements

Navbar-dark bg-dark

Navbar-light bg-light

/btn-group > /btn-group > /btn-group > /btn-group > /btn-group > /btn-group >

Headings >

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 >

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
# 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
/example >
$

Inline form

Form with Bootstrap grid

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.

Pagination

Disabled and active states

Alerts

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

Basic

Contextual alternatives

Striped

Animated

Progress group

Title
Title
Title

Multiple bars

Jumbotron

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more

List groups

Cards

Tiki-logo
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere
Card 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 link
Tiki logo

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
Featured
  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros
TikiFest session
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

1

This is the first footnote.

2

This is a second footnote.

3

This is the third footnote.

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
A np^/npboxnp^/np
Box plugin:


Title
This is a box plugin's content.
  1. First numbered item
    1. Sub-item one
    2. Sub-item two
  2. Second numbered item
  3. Third numbered item
A Title Bar
  • 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

Being Green is not a trend, but a Lifestyle that should be normal to us all, everywhere. (Just like fashion)

{code caption="HelloWorld in Pascal" wrap=1}
produces:

HelloWorld in Pascal
Copy to clipboard
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
 Warning
This is a warning rbox.

Click me...

Click me and I'll quietly fade away (Fade plugin demo).

BIG RED

One more thing.6

Bootstrap elements

Navbar-dark bg-dark

Navbar-light bg-light

/btn-group > /btn-group > /btn-group > /btn-group > /btn-group > /btn-group >

Headings >

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 >

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
# 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
/example >
$

Inline form

Form with Bootstrap grid

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.

Pagination

Disabled and active states

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.

Oh snap! Change a few things up and try submitting again.
Well done! You successfully read this important alert message.
Heads up! This alert needs your attention, but it's not super important.

Badges

(The label class has been removed in Bootstrap.)

Badges scale to the parent element size. FYI

Badge Primary
Badge Secondary
Badge Success
Badge Warning
Badge Danger
Badge Info

Basic

Contextual alternatives

Striped

Animated

Progress group

Title
Title
Title

Multiple bars

Jumbotron

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more

List groups

Cards

Tiki-logo
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere
Card 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 link
Tiki logo

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
Featured
  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros
Tiki logo
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

Card with bg-light background

Person submitting the site as a Featured Tiki (must be a registered user at Tiki.org).

Card with bg-dark background

Person submitting the site as a Featured Tiki (must be a registered user at Tiki.org).

1

This is the first footnote.

2

This is a second footnote.

3

This is the third footnote.

4

This is the first footnote.

5

This is a second footnote.

6

This is the third footnote.

History

Advanced
Information Version
06:03 GMT-0000 System Administrator automatic conversion 9
View
Tue 28 of Nov, 2023 08:43 GMT-0000 Gary Cunningham-Lee Minor text change. 8
View
Tue 28 of Nov, 2023 08:37 GMT-0000 Gary Cunningham-Lee Minor text change. 7
View
Tue 28 of Nov, 2023 08:20 GMT-0000 Gary Cunningham-Lee Simplified a heading 6
View
Tue 28 of Nov, 2023 08:18 GMT-0000 Gary Cunningham-Lee Added info about further emulating the original website. 5
View
Sun 25 of Jun, 2023 04:56 GMT-0000 Gary Cunningham-Lee Fixed my typo. 4
View
Sun 25 of Jun, 2023 04:55 GMT-0000 Gary Cunningham-Lee More details added. 3
View
Sun 25 of Jun, 2023 04:53 GMT-0000 Gary Cunningham-Lee Content added and categorized. 2
View
Sat 24 of Jun, 2023 15:15 GMT-0000 Gary Cunningham-Lee 1
View
Show PHP error messages