Questions tagged [bolt-cms]

Bolt is a sophisticated, lightweight and simple CMS for PHP.

Bolt is a sophisticated, lightweight and simple CMS for PHP.

It is quick to set up, easy to configure, uses elegant templates, and above all, it’s a joy to use. Bolt is created using modern open source libraries, and is best suited to build sites in HTML5 with modern markup.

From a technical perspective: Bolt is written in PHP, and uses either SQLite, MySQL or PostgreSQL as a database. It's built upon the Silex framework together with a number of Symfony components and other libraries. Bolt is released under the open source MIT-license.

  • Bolt was created for developers who need a tool to create websites in an easy and straightforward way, while at the same time it should be pleasant to use for content-editors, without getting in the way at any time. To be more specific:

  • Front-end designers and developers who like to write clean markup, and who want to build websites where the CMS doesn’t dictate what the templates or website should look like. Developers who need a system that’s easy to set up and configure, that’s easy to manage and maintain, but is also flexible and versatile.

  • End users (read ‘editors’) that want to focus on producing and editing content, and not on clicking buttons in the CMS.

You can learn more about Bolt by visiting http://bolt.cm/.

Installation

Detailed instructions can be found in the Installation section in the documentation.

Resources

315 questions
1
vote
1 answer

Overwrite backend template in bolt.cms

I am trying to overwrite a template file located in vendor/bolt/bolt/app/view/twig/editcontent/fields/_block.twig (I want to replace the "block selection" dropdown). Regarding to #1173, #1269, #5588, #3768 and #5102 this is not supported by default…
Thomas Kekeisen
  • 4,355
  • 4
  • 35
  • 54
1
vote
1 answer

Replace '-' in slug array with '/'

So I've created my first website based on Bolt CMS and I can't fininsh one, last task. The task is to make simple routes: list of records from selected category - /realizations/cool-category list of all records - /realizations/ single record -…
bvrtsz
  • 46
  • 1
  • 5
1
vote
0 answers

BOLT CM - Exclude contenttype listing from routing

Is there a way to exclude contenttype listing from routing? Example I have a contenttype like this: pages: name: Pages singular_name: Page description: Create Page class: \Bolt\Extension\Animal\Translate\Content\LocalizedContent fields: <<:…
TheFlame
  • 57
  • 1
  • 7
1
vote
2 answers

Count page visits in Bolt CMS

I need to count webpage visits in Bolt CMS to make rating of pages. Something like in StackOverflow: I have contenttype pages with field visits. I know that I need to add in page template some code, but I don't understand how to increment field…
T.O.M.
  • 83
  • 9
1
vote
2 answers

using bolt cms for single page app

I want to use bolt as a headless cms. My plan is to create a template based on vue.js and load the content utilizing the bolt plugin jsonAPI. But I'm struggling with the theme and config settings. I want to disable all routing in the CMS and return…
ChristianMurschall
  • 1,621
  • 15
  • 26
1
vote
1 answer

How is BOLT cms echoing headings in aside?

I am new to bolt and i am trying to understand some of the code that comes in the default theme, i see the following code for the aside in my _aside.twig template: {% for ct in config.get('contenttypes') if not ct.viewless|default(false) %} …
Alexander Solonik
  • 9,838
  • 18
  • 76
  • 174
1
vote
1 answer

Bolt CMS access Bolt\Twig\TwigExtension from twig file

I try to use localdatetime in my template twig file, but I get an error that localdatetime does not exists: Unknown "localizeddate" filter. Did you mean "localdate" in "listing.twig" at line 51? However when I look into the code, the TwigExtension…
DelphiLynx
  • 911
  • 1
  • 16
  • 41
1
vote
1 answer

Bolt CMS: Can routing.yml Accept Paths with Percent Sign?

With Bolt CMS, I am trying to create routes for URIs like /information-d%27expédition but the percent sign (%) seems to be not accepted even if I tried putting the path value in quotes. Requesting that URI in the browser would just point me to the…
pragma
  • 73
  • 6
1
vote
1 answer

Why are these 'p' tags appearing on the frontend of Bolt entry?

Does anyone know why these 'p' tags aren't parsing correctly on the frontend of my Bolt installation? This was my first entry on a brand new installation of Bolt that I setup for testing purposes. I haven't changed any settings. It's kind of weird…
AJ Schmidt
  • 93
  • 2
  • 7
1
vote
1 answer

Is it possible to make a template with no ContentType to fetch arbitrary data in Bolt CMS?

I'm in the process of building an education site, with Departments, Courses, and Modules (all working out fine so far). I need to make a custom Timetable page that will fetch all Modules of all Courses and plot them into a weekly calendar. I've…
Slakinov
  • 191
  • 1
  • 6
1
vote
0 answers

Taxonomy not being saved - bolt cms

I'm using Bolt CMS and I have this contenttype 'nl_tours' and an English version of it called 'tours'. Those two are nearly identical and both have a taxonomy: [ categories ]. It allows me to create tours correctly but for some reason the taxonomy…
lvRoy
  • 31
  • 9
1
vote
0 answers

Bolt cms putting showcases online

I'm currently trying to get a showcase to be displayed on bolt, but the textarea and files are not displayed. What am I doing wrong? Here's the part of the code used for placing content on the page {% block main %} {% if app.request.uri ==…
John doe
  • 11
  • 1
1
vote
1 answer

Get content from a block

I´m currently building a website with Bolt as a CMS. But right now I´m struggling with getting the content out of a block. My contenttypes.yml: blocks: name: Blocks singular_name: Block fields: title: type: text …
1
vote
1 answer

Bolt trailing slash

im using bolt for a little time now and have never done anything with htacces files before. my question in this tread is, how do i put a trailing slash in a url generated by bolt. i was trying stuff out and looking things up on how to do this. but i…
B. Dionys
  • 916
  • 7
  • 34
1
vote
1 answer

Bolt CMS: Route no match, try next route

I'm having two contenttypes, but in both I don't want the contenttype slug in the URL. So both contenttypes should match /{slug}, but take the content from a differtent contenttype. So I though, I create two routes, if the first fails, it will try…
Timo002
  • 3,138
  • 4
  • 40
  • 65