Questions tagged [octobercms-backend]

275 questions
2
votes
0 answers

October cms blog plugin: How to update component when the button is clicked

description = "Display Blog list" [viewBag] snippetCode = "post-list.htm" snippetName = "Display Blog list" snippetProperties[heading][title] = "Heading" snippetProperties[heading][type] = "string" snippetProperties[heading][default] =…
2
votes
1 answer

OctoberCMS RecordFinder Create Record

Is it possible to create a new record using the Record Finder? Or if there are other form widget that's built for this feature? For example, in a Department, there are Officers. If an officer already exists in the database, the user can just select…
Wreigh
  • 3,215
  • 16
  • 37
2
votes
1 answer

Octobercms: how to add 'styles' and 'scripts' placeholders to combined assets?

How do I add {% styles %} and {% scripts %} to the combined assets array in October CMS?
qwaz
  • 1,285
  • 4
  • 23
  • 47
2
votes
2 answers

OctoberCMS backend redirect after login

I can't find solution to redirect user after login in backend. I try to add Event::listen('*', function() { print_r(Event::firing()); }); to the boot() method of my Plugin, and I see many events in backend, but not for auth or login. I even…
2
votes
0 answers

Compiling less in octoberCMS plugin

I am creating a plugin in OctoberCMS and i need to use less for some front-end & back-end use cases. The problem is that i have no idea how to import less files files in my plugin. As i understand it, normally something like this would be…
2
votes
1 answer

OctoberCMS Builder Plugin backend dropdown

I would like to create a plugin where to create Posts, each post belong to 1 Category. And there is a dropdown menu at the backend where you can choose which category the post belongs to when you are creating a post. However, I want the the options…
warmjaijai
  • 991
  • 4
  • 13
  • 30
2
votes
0 answers

How to save active tab state?

Is it possible to keep the currently active tab state so that the tab would stay active after page refresh? Didn't find anything in the docs.
dragontree
  • 1,709
  • 11
  • 14
2
votes
1 answer

OctoberCms record finder with dynamic scope

I'm using OctoberCMS based on Laravel and trying to get a list of products within a form via Record Finder. The use-case is that the record-finder must show available products based on dynamic condition. I tried to achieve this via "Scope" option of…
xyz
  • 405
  • 1
  • 6
  • 19
2
votes
1 answer

octoberCMS | Turf off backend redirect to secure protocol

I discovered that when I turn OFF the debugging mode on my application, /config/app.php The backend starts using secure protocol... And I have problems with that because on some websites it's works well: (and on that example I really don't know why…
Ivan
  • 514
  • 5
  • 21
2
votes
1 answer

OctoberCMS | Paste relation attibute into a hidden input

Imagine that I have a relation field, and I want to store that relation and also an atribute name of the chosen relation into a hidden input. Example: Into a relaion field I choose a project with name "Something Cool", I want to store "Something…
2
votes
2 answers

Backend\Controllers\Users must define property $relationConfig

I like to build a Plugin where Frontend User belongsTo BackendUser ( One to Many Relation ). For the backend User i want to display an partial with Relation Manager to add many Frontend Users to BackendUser. If i try dynamically define a property…
JBee
  • 23
  • 2
2
votes
1 answer

OctoberCMS - Creating file attachment in seeder

I need to create a seeder that will import data from a csv file. The csv file contains the path to an image file that needs to be attached to the model. In the documentation we find: You may also pass a string to the data attribute that contains…
2
votes
2 answers

OctoberCMS: How to prevent a form filed from being saved into database?

I've got a form fields definition file like the following: fields: pivot[hall]: label: Hall type: text span: auto pivot[booth]: label: Booth type: text span: auto booth_picker: …
B Faley
  • 17,120
  • 43
  • 133
  • 223
1
vote
0 answers

Property structure reorder in Octobercms

I am using Octobercms/Wintercms and I identified in the documentation (https://docs.octobercms.com/2.x/backend/reorder.html#configuring-a-behavior) that there is the possibility of reordering the records of a relationship, adding only one structure…
Crazy
  • 346
  • 1
  • 4
  • 17
1
vote
1 answer

Access protected property when extending controller in OctoberCMS

I am struggling with extending a Plugin in OctoberCMS. I need to access a protected property, so I wanted to create a new getter, that would return the value, but it always returns NULL Here an example code of the controller (I cannot extend it…
Asped
  • 3,083
  • 4
  • 31
  • 52
1
2
3
18 19