Questions tagged [octobercms-backend]
275 questions
1
vote
1 answer
How to remove `created_at`, `updated_at` from insert query (when create a model record)?
There is a backend page with a form with two fields (fake_uid, auth_key). When I create new record an error occurs and tells the following:
Column not found: 1054 Unknown column 'fake_uid' in 'field list' (SQL: insert into 'fakes_list' ('fake_uid',…

Eugene Starosvetskiy
- 123
- 1
- 10
1
vote
0 answers
How can I allow uploading large files in OctoberCMS?
Although I've set max file uploads and max post size to 2 GB in php.ini, I'm receiving this error when uploading media:
File is too big (541.02MiB). Max filesize: 256MiB.
How can I change max filesize?
This is the result of…

Behiry
- 575
- 5
- 20
1
vote
1 answer
On Octobercms inject CSS from Partial
I try to inject Javascript and Css from partial using this:
function onStart()
{
$this->addCss('assets/css/style1.css');
$this->addCss('assets/css/style2.css');
$this->addJs('assets/js/javascript1.js');
…

Charis
- 117
- 2
- 4
- 12
1
vote
1 answer
How to customize backend authentication page of October CMS?
I'm trying to customize the backend of October CMS. I'm using a plugin called Backend Skin: it hallows to customize October backend recreating folder structure inside your theme. So the core is not touched.
I have succesfully load a new css that act…

AleCss
- 121
- 1
- 1
- 5
1
vote
1 answer
Multiple Trigger on single Field in fields.yaml (OctoberCMS)
I'm currently trying to add a trigger to a form with multiple trigger on single field.
In my case when select intetnal it triggers contenttype and than it shows video or article based on selection. And after doing all things when I will select…

Ashish Detroja
- 1,084
- 3
- 10
- 32
1
vote
1 answer
making model relationship to user, user can only access its own data
i have 2 main models and some child models with relationController to main models, now i need to add user id to both main and child models so user can only access its own data since users data stay on the same table.
i create belongsToMany…

Isral Bustami
- 137
- 13
1
vote
2 answers
Show Thumbnails in Backend Model Columns
I'm using OctoberCMS with Laravel.
I use File Upload / Media Finder to attach an image. I'm trying to add thumbnails to the Backend Model columns.
I tried following these…

Matt McManis
- 4,475
- 5
- 38
- 93
1
vote
2 answers
Error uploading file 'FontAwesome.otf' in October CMS
When I upload .otf file in October CMS it pops up an error as below:
Error uploading file 'FontAwesome.otf': Only the following file types are allowed: jpg, jpeg, bmp, png, webp, gif, ico, css, js, woff, woff2, svg, ttf, eot, json, md, less, sass,…

Midhun Babu
- 119
- 1
- 10
1
vote
0 answers
Octobercms : Using rtl language as part of the url
I'm trying out octombercms for a project. As shown in the attached screenshot, I'm trying to create a static page using "Rainlab.Pages" plugin.
Content language is going to be Hebrew (which is rtl). When I try to save it shows an error "Invalid url…

EastSw
- 927
- 1
- 9
- 28
1
vote
2 answers
how to define getName[field]Options() method in octobercms
I got an error when trying to use
get*field*Options() method
to
field: name[field]
I tried to use:
getName[field]Options() method but it return an error.
How can I make this work?
fields.yaml
temakebum[tema]:
…

Isral Bustami
- 137
- 13
1
vote
0 answers
Refresh page after update $hasMany relation
I have a form model with $hasMany relation manager in backend (display with relation_render method).
When i update the relation model, i update too a parent model attribute
public function afterUpdate() {
// update related model
…

pat-och
- 345
- 3
- 17
1
vote
2 answers
Making a deep related field searchable in OctoberCMS
My my columns.yaml file for the Invoice model I have the following column:
transaction[user][email]:
label: Login email
type: text
searchable: true // doesn't work!
Unfortunately, the searchable bit doesn't work and I understand that…

Joseph
- 2,737
- 1
- 30
- 56
1
vote
1 answer
Extending backend lists object
how could I extend the list items which are displayed in backend?
I am trying to use this function:
listExtendRecords($records)
The thing is that I need to recreate the same object $records, but I want to add my custom data to it. For example my…

The50
- 1,096
- 2
- 23
- 47
1
vote
1 answer
Use geolocation plugin in october cms
I have try to install geolocation plugin in october cms
but i am getting errorenter image description here

pranav kumar
- 41
- 4
1
vote
3 answers
October CMS disallowed file types
I'm trying to upload a .pptx file to the media library in October CMS and I'm getting an error because the filetype is not allowed. I have tried using the following suggestion from Stackoverflow:
'fileDefinitions' => [
'assetExtensions' =>…

Wittner
- 583
- 5
- 21