Questions tagged [octobercms]

October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. It allows developers to have full self-expression and the freedom to build web applications however they want. It is a productivity tool for building modern websites based on flexible patterns and principles rooted in simplicity.

October is a Content Management System (CMS) and web platform whose sole purpose is to make your development workflow simple again. CMS uses as a foundation . The platform is open-sourced software licensed under the MIT license.

1601 questions
7
votes
1 answer

Serve static assets with an efficient cache policy - Google PageSpeed Insights

I am using OctoberCMS and I have apache server and using AWS and when I do PageSpeed testing https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.rosterelf.com%2F&tab=desktop I am keep getting this errror saying Serve…
6
votes
2 answers

convert SQL query to query builder style

Im trying days to understand how I can convert a SQL query to a query builder style in laravel. My SQL query is: $tagid = Db::select("SELECT `id` FROM `wouter_blog_tags` WHERE `slug` = '".$this->param('slug')."'"); $blog = Db::select("SELECT * …
Wouter
  • 809
  • 7
  • 19
5
votes
1 answer

Ingresso API {"error_message":"You must support \u0027gzip\u0027 to use F13"}

The API url is =, i'm trying to implement: https://docs.ingresso.co.uk/#basic-booking-flow My Code for in OctoberCMS with GuzzleHttp\Client object. $credentials = base64_encode('demo:demopass'); $client = new Client(); $request_url =…
5
votes
1 answer

OctoberCMS or pure Laravel

I need to create a web app (product/estimates configurator) + ecommerce + website and I can't decide between Laravel or OctoberCMS + writing custom plugins. I need to create some static pages (October would be great for those) and a backend to…
Yuri Refolo
  • 245
  • 9
  • 17
5
votes
1 answer

Git deployment of October CMS site

I set up Git deployment for most of my sites and it work really well. I have recently started to work with October, and for main pages which I create myself, I would like to work locally and then use Git to deploy new and updated pages to the live…
Wittner
  • 583
  • 5
  • 21
5
votes
1 answer

October installation

I have installed october via console interface page. Backend works fine but UI gives error: The "Cms\Facades\Cms" extension is not enabled. I couldn't figure out whats wrong with it.Could anybody help?
Kisz Na
  • 372
  • 4
  • 11
5
votes
1 answer

Rendering a component partial from code in OctoberCMS

According to this section of the OctoberCMS documentation, it should be possible for me to set up a directory structure like this: pluginname ├── components │   ├── resumefilter │   │   ├── default.htm │   │   └── my-partial.htm │   ├──…
Joseph
  • 2,737
  • 1
  • 30
  • 56
5
votes
1 answer

how to create middleware in octobercms

I'm new to OctoberCMS but I have moderate knowledge about Laravel. In Laravel it is easy to create middleware and group more than one middleware. In OctoberCMS I can't find proper guidelines or a satisfactory answer yet. Does anyone know how to…
Binit Ghetiya
  • 1,919
  • 2
  • 21
  • 31
5
votes
1 answer

In OctoberCMS how do you find the hint path?

Mail::sendTo($to, 'OctoberCMS.PhotoElegance::mail.contactform', $params); When this line of code is called I get back an error which says the following: "No hint path defined for [OctoberCMS.PhotoeElgance] on line 112 of …
Usman
  • 136
  • 3
  • 17
5
votes
2 answers

My Octobercms pivot table gets the data that model table should get when i try to add to it

I have an annoying problem, using latest OctoberCMS build (318), where it tries to save the wrong data to the pivot table instead of model table. I have a model Businesses, and a model Openinghours: Model for Businesses: `public $table =…
Terje Nesthus
  • 810
  • 3
  • 12
  • 30
4
votes
1 answer

OctoberCMS: Cropping the original image on upload

Given the following code: $car= new Car(); $car->name = Input::get('name'); $car->photo = Input::file('photo'); $car->save(); I need to crop the photo (with offset) before saving it. I tried using the ImageResizer plugin but couldn't figure out how…
B Faley
  • 17,120
  • 43
  • 133
  • 223
4
votes
4 answers

Not able to create tables.

I'm new to October, and I came across an issue which I wasn't able to solve. When I create a plugin from the command line, and run plugin:refresh the tables in the database are not being created. The version.yaml is correct as per documentation.…
4
votes
1 answer

OctoberCMS login with multiple websites in same browser

I have been using OctoberCMS and I found this very useful indeed. However, I have come across one strange thing which I want to share with you guys. I have two different websites in my local server, lets say it website1 and website2 and the…
Mittul At TechnoBrave
  • 1,142
  • 3
  • 25
  • 70
4
votes
1 answer

October CMS - custom fields

What is the easiest way to achieve a feature like custom fields in OctoberCMS (something simmilar like: https://craftcms.com/features/custom-fields or https://www.advancedcustomfields.com). If it is not possible how do you design complex layouts…
Mdt
  • 121
  • 6
4
votes
4 answers

October CMS : Not able to create a Form Widget

I'm new to October CMS and learning to create a Form Widget. But I'm getting the following error : The partial '_field_actorbox.htm' is not found. /opt/lampp/htdocs/octobermovies/modules/system/traits/ViewMaker.php line 65 My widget folder name is…
pkdq
  • 191
  • 1
  • 14