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

Grouping routes in Silex

Inside a Bolt extension, I've got lots of routes bound to an instance of the App, like this: $this->app->post(Extension::API_PREFIX . "session", array($this, 'login')) ->bind('login'); $this->app->delete(Extension::API_PREFIX .…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
1
vote
1 answer

Simple (I hope) BoltForms questions

How can I change the text on a submit button? I vaguely remember the option that it is possible to direct users to a page after submission. Is that documented?
Evert Albers
  • 121
  • 6
1
vote
1 answer

Routing: Choose template dependent from URL

I want to provide a printer friendly/text only version for a specific content type. So I need to render the same content type with different templates dependent from URL Example: article/slug should use article.twig, while article/slug/print should…
user2735442
1
vote
2 answers

SimpleForms - email not send

SimpleForms is not sending any emails. I turned off the test mode, and did not change the mail settings in the config.yml file: # by default, mail is sent using PHP's built-in mail function. In general, it's advised to use SMTP for sending mail #…
user2735442
1
vote
1 answer

Trying to retrieve file from request with Silex/Symfony2

I'm retrieving a POSTed file with: $this->app->post(Extension::API_PREFIX . "profile/picture", array($this, 'post_profile_pic')) ->bind('post_profile_pic'); public function post_profile_pic(Request $request) { $response =…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
1
vote
0 answers

Request object properties are empty, yet request is made

Creating a bolt extension and trying to access request variables. I have set up an endpoint GET /api/session, which for now should just return the request: public function initialize() { $this->app->get("/api/session", array($this,…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
1
vote
2 answers

DB query returns only first matching result

// Get all categories $query = "SELECT name FROM bolt_taxonomy WHERE taxonomytype = :taxonomytype AND contenttype = :contenttype"; $map = array( ':taxonomytype' => 'categories', ':contenttype' => 'news', ); $categories =…
babbaggeii
  • 7,577
  • 20
  • 64
  • 118
1
vote
2 answers

Bolt Extension Repo Currently Unavailable

I am running Bolt CMS locally on my machine using XAMPP. I just upgraded to version 2.0.1 today and everything seems to be working great. The only issue I am having is installing extensions. On the view/install extensions page, I am seeing this…
chesjon
  • 21
  • 6
1
vote
1 answer

Print autor-name of record

On my Bolt 2.0 webpage I have a News-Content type. Now I would like to show the name/alias of the autor of the record on the page. I have tried to use {{user.username}}, but this gives me the actual user and not the one that created the record.…
Botnic
  • 163
  • 9
1
vote
1 answer

Create overview page of pages with specific order

I use Bolt for a local radio station. We've created the content type 'Broadcasts'. When I create an overview page I can see all pages in that section. They are sorted by the date they where created in the system. But I want some other sorting. The…
user4279145
1
vote
2 answers

Embedding a pdf into a webpage

I'm trying to embed a pdf into a page and I'm using the 'file' field in contenttypes.yml file: type: file extensions: [ pdf, doc, docx, ppt, pptx ] The field appears in the content editor and it evens insert some code into the page.…
openTankist
  • 157
  • 1
  • 12
1
vote
1 answer

Contenttype with a repeatable section

I am building my first Bolt website and I have been having trouble adapting contenttypes to my design. On one page I have a list of various video and pictures each followed by a short blurb and a link, with each photo/video and blurb formatted…
cyreb7
  • 316
  • 1
  • 4
  • 11
1
vote
2 answers

Using SwiftMailer before a redirect

I have an issue regarding the use of SwiftMailer before a redirect. If I allow the controller making the request to return then emails are sent fine. For example: function foo() { // ... $message = \Swift_Message::newInstance() …
diggersworld
  • 12,770
  • 24
  • 84
  • 119
1
vote
1 answer

Get current record (slug) in bolt extension

How I can get the content type and the current slug from a bolt extension? (php). Something like this $this->app['content']['current']['slug'].
1
vote
1 answer

NGINX+Bolt CMS - static content calls returning 404 errors

I decided to try out Bolt CMS on my web server, which has happily run several Wordpress sites for a few months now through PHP-FPM. The site's front end works apparently fine, but the administration section of the site has problems. Every call to…
eltopo
  • 11
  • 1