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
0
votes
1 answer

updateSingleValue() returns false, yet inputs are correct

I'm using updateSingleValue like this: $updated = $this->app['storage']->updateSingleValue('suggestions', $id, 'votes', $value); The $id and $value are set correctly (even if I set them to correct integers manually), and there definitely exists a…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
0
votes
0 answers

Unable to install Bolt 2.0 on Qnap NAS

I'm trying to install Bolt 2.0 on a Qnap NAS which latest firmware comes with PHP/5.3.29. I've read Bolt requires at least PHP/5.3.3 so I guess I've to wait for a Qnap update. I'm wondering if the error is related to the outdated PHP version or does…
Darnisha
  • 1
  • 1
0
votes
1 answer

Add more YAML files to Bolt Theme

By default Bolt themes allow you to have one YAML file (config.yml) for access in theme files. I use a large amount of arrays for use in my themes, and for organizational purposes wanted to see if there's a way I could add more YAML files for use in…
taylor
  • 509
  • 1
  • 9
  • 22
0
votes
1 answer

Bolt: saveContent updates values but doesn't actually save the record

I'm trying to create new content with: // Get suggestions template and update with values $content = $this->app['storage']->getEmptyContent('suggestions'); $content->values['title'] = $title; $content->values['description'] = $description; // Save…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
0
votes
1 answer

Capturing POST data with Silex/Bolt

I'm trying to create a Bolt extension to be able to login via a REST endpoint. But I can't capture the values from the request. use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; public function…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
0
votes
1 answer

Is there a way to change the permalink structure in Bolt 2?

My current blog is on Blogger and my articles have a structure like /YYYY/MM/slug.html. Would it be possible to change the permalink structure for specific Contenttypes? It is also the default for Wordpress. If not possible, what is the preferred…
sebastien
  • 418
  • 4
  • 7
0
votes
1 answer

Bolt-CMS Adding images to the images folder of your theme

I am enjoying how much freedom I have in adjusting bolt to fit my own design needs. However, I was wondering why, when I add new images to the images folder of my theme, it doesn't accept them into the database. Even using the bolt backend it tells…
0
votes
1 answer

Bolt CMS with load balancing

I'm trying to implement Bolt CMS in a setup where servers with content are placed behind load balancer (haproxy). Is it possible to publish content from Bolt to external servers? Or is there another solution where Bolt can be used in similar…
Martin
  • 1
  • 1
0
votes
2 answers

Upload Files to custom location before date folder

I have built a custom contenttype with an image field in Bolt 2.0. image: type: image If no folder is specified the uploaded file goes to a folder named by the year-month Result: 2014-11/myFileName.jpg With the tag upload I can change…
Botnic
  • 163
  • 9
0
votes
1 answer

How to install the Bolt beta with CLI

Well, the title says it, it's a SSH question actually: how can I install a Bolt Beta from the CLI? My guess would be - for the current latest Beta: curl -O https://github.com/bolt/bolt/archive/v2.0.0-beta4pl3.zip unzip v2.0.0-beta4pl3.zip chmod -R…
Evert Albers
  • 121
  • 6
0
votes
1 answer

how to simply check if record has a specific category in bolt/twig

I nedd to check if record belongs to specific category "dogs". Is there some simple twig statement to do so? something like {% if 'dogs' in record %} or {% if record.category == 'dogs' %} I cannot really find my way trought this, thnx
lexislav
  • 9
  • 4
0
votes
1 answer

List entries using Twig and exclude latest (for exmple 5)

I'm using Bolt cms for my new website and I want to display an overview of entries (news items). That list must have all the entries except for the latest 5 items. I'm fairly new with it, so I'm not familiar with all the possibilities Twig has. I…
user4279145
0
votes
1 answer

Bolt CMS - Identifier "rootpath" is not defined

After moving a working bolt installation from my local machine to another server, I keep getting errors, no matter what I do. Moving was done via copying all but contents of files, vendor and app/cache folders and then running composer update which…
ToBe
  • 2,667
  • 1
  • 18
  • 30
0
votes
1 answer

Can I stop submit if required fields are not filled

I understand that Bolt does only browser based validation but this is inadequate for real world cases where a fuzzy red border won't stop bad user input. Is there any way to actually enforce that required fields are filled before submission or just…
Chukky Nze
  • 720
  • 3
  • 13
0
votes
1 answer

Page binding overrides url hooks

In a custom extension I have created a few URL hooks as follows: namespace MyExtension; class Extension extends \Bolt\BaseExtension { public function initialize() { // audio sample management $this->app->match("/foo",…
diggersworld
  • 12,770
  • 24
  • 84
  • 119