I want to learn how to convert a bootstrap theme to a kirby theme?

Hello,
i want to learn a bootstrap theme like free bootstrap landing page jedy

to a kirby theme. if someone has the skill level to show the process of this template it woul be nice. is this difficult?

I think you should have a look at this post for building a one pager: http://getkirby.com/docs/solutions/one-pager

Then all that is left to do is build your templates/snippets according to the theme and integrate Bootstrap.

Edit: You may also want to have a look at the Kirby Bootstrap Starterkit by @NECKRHINOS Kirby Bootstrap starterkit

1 Like

Complete code, here you go: https://github.com/NECKRHINOS/physiotherapie-krech.de, a one-pager site made with Kirby and Bootstrap :grin: Not my best code but a perfect start I guess.

Hello,

didnt get physio app to work. the kirby bootstrap starter-kit works.

The repository link I posted doesn’t contain content, in case you haven’t noticed. Maybe that is why. The starterkit has demo content.

The repositories on my GitHub page which are sites I made for clients and friends (i. e. no starterkits) don’t contain content as that is theirs personally. I do provide the code of such sites for co-coders to get inspired by and to grab some ideas and code. As I grab snippets myself from articles, the internet and such for myself.
Except the starterkit for example, those repos are not out-of-the-box 1:1 pages for everyone to just download and use :wink: They’re for a: :bulb: “Aha! That’s how I can to do this or that…”

With templates and blueprints provided in such repositories it is very easy to adapt own content though.

Edit: Maybe I should write a disclaimer to the readme.md files… :yum:

Regarding how to build a one-pager, it’s basically just the home template’s if/else part that is important. Like in @bastianallgeier original article @texnixe posted: http://getkirby.com/docs/solutions/one-pager

I agree, because @NECKRHINOS uses the short php tags ("<? “) instead of the long tags (”<?PHP ").
Look at PHP: Description of core php.ini directives - Manual

Not every webserver allows this tag.

Change "<? " to "<?PHP " at every use!

Good luck!

Whoops right, what @HeinerEF said. Sorry, I’ll be converting all PHP short tags soon :wink: In the meantime, don’t forget that also <?= equals <?php echo .