Questions tagged [octobercms-widgets]

32 questions
3
votes
1 answer

Octobercms: How can I make a repeater field jsonable because I am creating this repeater field into a different plugin

How can I make a repeater field jsonable because I am creating this repeater field into a different plugin and I have created my own plugin. for example: I want to add a repeater field in rainlab.user plugin model but I want to do this by my own…
1
vote
1 answer

October CMS datetime picker has a max date of 2020

I am trying to add an event using proevent in October CMS and the date-picker has a default range from 2010 to 2020 and I cannot change this option. When I inspect the HTML I see the below code:
1
vote
1 answer

How do you update a backend form after adding a relation using the relationRender in OctoberCMS?

I have 2 models Booking and Attendee with a Many to Many relation I also have a BookingAttendee pivot model - so I can make use of the afterCreate methods that these have. In the backend form for a Booking where I want to add attendees - I'm using a…
1
vote
1 answer

Save october CMS formWidget data to database table

I have a plugin and I have included a FormWidget to that with some fields. those are in a partial. When i click create I can see the fields from the partial via the FormWidget but I am not sure how I can save values form those fields to db. What…
1
vote
0 answers

Trigger events in field not working with belongsToMany relation fiels

I Have the following fields plan: label: Plan tab: account type: relation required: true placeholder: Select Plan emptyOption: No Plan Selected business: label: Select Business …
1
vote
2 answers

OctoberCMS backend main menu having sub menus of different plugins into it

I have one requirement in OctoberCMS which I want to implement backend (Admin side) and here below what I want to implement. I am using Builder Plugin and I already have created so many plugins which are showing at the top of header with their…
1
vote
1 answer

OctoberCMS: How to check if a js file has been already included by another widget

I have got two Report Widget classes both of which use highcharts.js library. So both of them should include highcharts.js before being rendered. Therefore they implement the loadAssets method: public function loadAssets() { …
B Faley
  • 17,120
  • 43
  • 133
  • 223
0
votes
0 answers

Is there another way to apply a layout in October CMS?

I have a layout file which I am accessing and editing through the back end then CMS then layouts. When I apply this layout to the home page with the URL of / the changes are not appearing on the front end. When I apply this layout to all other pages…
0
votes
0 answers

Is there a way to make a controller show behaviours in Otcober CMS?

I want to modify a plugin's controller behavior but when I open the builder and select the plugin ProEvents then go to GeneratedDates controller I am being presented with a blank page like below. There is one thing I have noticed. The same page on…
0
votes
1 answer

How to hide Builder item in October CMS backend menu?

I'm beginner with october CMS. How am I able to hide Builder item from top menu in backend for specific user? When I disable all permissions of new administrator until the Builder one - create and edit plugins, I see not only my plugins, but Builder…
0
votes
1 answer

October CMS. Backend Widgets. Events. How to listen/catch the onAddItem?

How I can listen/catch the data-request="formVideo::onAddItem" in a Plugin.php's boot() method? In a backend, there is a Repeater widget and it has a button ( https://i.stack.imgur.com/546YC.png ). I need to catch the event of this button in a…
0
votes
1 answer

Error adding custom widget to a form in October CMS

I've created a new custom widget in a plugin trough artisan command. php artisan create:formwidget --force DavideCasiraghi.Movies Actorbox But when I'm trying to load it into my fields.yaml file I get this error. Unknown control type:…
Davide Casiraghi
  • 15,591
  • 9
  • 34
  • 56
0
votes
2 answers

Octobercms Builder Richeditor how to change bold tag by the regular ?

I'm using October for my backend and a Vue.js app for rendering. My problem is that bold text saved in my database with Builder / Richeditor is not rendered as bold in my Vue.js app.

Duis convallis purus. suspendisse lobortis…

0
votes
1 answer

How to add title to and avatar in octobercms

I noticed that if you click on the avatar in the backend you can add a title an description but when I do it does not save either I Have looked through the documents but can not find a method to save this information and how to access this…
user2033464
  • 143
  • 1
  • 10
0
votes
1 answer

Eager Loading of Relation data in OctoberCMS

I am using a form that has a relation field inside. Although this is fine when few items are in the relation it gets quite slow when there are a lot. I wish to eager load some of the relationships to improve response times but I find it hard to find…
paishin
  • 258
  • 1
  • 5
  • 15
1
2 3