Questions tagged [octobercms-plugins]

Plugins are the foundation for adding new features to OctoberCMS by extending it.

315 questions
1
vote
1 answer

October CMS SimpleTree backend form

Im trying to implement a parent/child relationship using the Simple Tree Trait. I've attached it as sad in the documentation In the back end I used the form builder to add a relatioship field to make a parent element selectable, the fields.yaml…
adam
  • 618
  • 2
  • 11
  • 31
1
vote
1 answer

October cms error: [SQL Server] There is already an object named 'user_groups' in the database

New to October CMS. I setup the CMS on IIS with SQL Server, and have gotten this error several times. This time, while following a tutorial on how to create a plugin, the error appears again. The error seemingly has nothing to do with the creation…
1
vote
2 answers

Does not contain a definition for 'file_src' October CMS

I am currently working at October CMS plugin development, I have a problem with file upload. I put the fileupload type to file_src. When I go to to resource it shows an error like this : model/resource fields: name: label:…
Ansaf Ans
  • 91
  • 3
  • 12
1
vote
3 answers

October CMS PHPUnit Route Testing

I'm trying to write some tests for an October CMS plugin's custom routes using PHPUnit, but running into some errors getting the tests to run correctly. Each test passes when run individually, but when run as a group, the first test will pass and…
mindlis
  • 1,546
  • 11
  • 17
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
2 answers

If user belongs to group in October CMS - User plugin

I'm trying to filter the users from a specific user group in a component in PHP. First, I'm search for a specific user based on a keyword, next I want to test if this user belongs to one specific group 'mygroupcode'. Ideally these two statements…
chocolata
  • 3,258
  • 5
  • 31
  • 60
1
vote
1 answer

OctoberCMS Routing Plugin Unresolvable dependency resolving

I'm currently working with OctoberCMS and am creating a plugin which has a custom page with a widget which shows a grid As you can see in this image this grid can be managed and can be saved with the "Save changes" button. This will send a POST…
StefanJanssen
  • 446
  • 1
  • 7
  • 18
1
vote
1 answer

Insert multiple image using Repeater with mediafinder in OctoberCMS

I'm creating a new Plugin using the Builder Plugin and adding a repeater with media finder.The problem is to insert repeater value in the database. Bellow have attached the screenshot of the error. What is the problem? Thanks.
Mitul Koradiya
  • 318
  • 2
  • 5
  • 19
1
vote
1 answer

Get next and previous subpage link in pages october cms plugin

I've a structure like this in the backend of october cms (static pages plugin) Page -subpage 1 -subpage 2 -subpage 3 I want to be able to link between the child pages to go to the next and previous one (if such exists). Could not find anything…
adam
  • 618
  • 2
  • 11
  • 31
1
vote
2 answers

Get plugin version number octoberCMS

I was wondering if it is possible to get the plugin version number in an octoberCMS plugin, and how this is done. i've been looking for this on google but can't seem to find anything on the subject. I'm trying to get the number in a controller, but…
1
vote
2 answers

How to rollback plugin's migration in OctoberCMS?

I has created plugin with one migration. My version.yaml is 1.0.1: First version of user 1.0.2: - Added new fields to User model - alter_table_users_add_contact_fields.php My updates directory contains one migration file…
Nick
  • 9,735
  • 7
  • 59
  • 89
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
1 answer

Calling additional seeders in OctoberCMS fails with class not found error

I have seeder classes that I confirmed they could run individually, and I'm trying to run them from another seeder class in the same namespace. I'm getting an error saying that the class run from another seeder is not found. I'm using OctboerCMS…
kanji
  • 729
  • 9
  • 14
1
vote
0 answers

FacebookFeed October CMS plugin return errors

The message I got "could not authorize request. please check your facebook AppID, page id and secret!". How can I fix it?
1
vote
2 answers

how to installing plugin on octobercms

I installed octobercms on uwamp as localhost and I'm on windows but I don't know how to install plugins for octobercms, I can't find something like download and then upload to plugin file or something like that.
Bynd
  • 675
  • 1
  • 15
  • 40