Plugins are the foundation for adding new features to OctoberCMS by extending it.
Questions tagged [octobercms-plugins]
315 questions
0
votes
1 answer
Query multiple relationships in model october cms
Hi I'm trying to make an combined query with October CMS active record implementation to filter out user selected input.
The are four models a Color, Series, Department and Product with the relationships as follows:
The Product model
public…

adam
- 618
- 2
- 11
- 31
0
votes
1 answer
October CMS : Create one article / page for every user
For a project I'm working on, I need customers to be able to create an account on a website (using Laravel if possible) and to be able to create one page for them with few easy steps to present their company.
Best would be to have a platform with…

Zero
- 443
- 1
- 7
- 23
0
votes
1 answer
How to make plugin components function available as Rest API in OctoberCMS?
In one of the components of my plugin, I've got a function which reads user input (using Input::get()), creates a Model and saves it to the database. The data is submitted to this function via a html form. Now I want to allow users to add new data…

B Faley
- 17,120
- 43
- 133
- 223
0
votes
1 answer
Octobercms attach multiple files
i'm trying to attach multiple files to a form and then send those files to an email address, i've successfully managed to create the form and make it attach the files, the problem i'm having is that i'm only getting one file on my email address,…
0
votes
2 answers
Building a eloquent query belongsTo for octobercms
I'm working on a report widget for OctoberCMS and need to build in some conditional statements for my query.
I have a table (user_access_log) that contains records for the user id, ip address, and time stamps.
My access log model is this:
/**
*…

Larry B
- 11
- 1
- 7
0
votes
2 answers
file upload not working front end in october CMS
When I am adding {% component 'fileUploader' %} on front end it not working, as I can see in page view source of that page it seems related js and css file is not being added while it showing in admin and working fine in admin section.
Is there any…

Ravi Shankar
- 1,559
- 1
- 11
- 15
0
votes
2 answers
OctoberCMS translation language change error using ajax
First install OctoberCMS using composer and git and then install translate plugin with two language English and Spanish. But I have an error with the localePicker. When I choose a language, I get the following error;
AJAX handler 'onSwitchLocale'…

Mitul Koradiya
- 318
- 2
- 5
- 19
0
votes
1 answer
OctoberCMS Rainlab.Builder- Error on "hasOne" relation to same model
I'm developing an October CMS Plugin for managing animals (with rainlab.builder).
Animals have a couple of fields and relations. Every animal have a father and a mother animal. But when I try to safe my animal the following error appears:
Event…

Lukas Rotermund
- 419
- 4
- 14
0
votes
1 answer
octoberCMS | extra actions during creation into plugin created on "Builder"
Imagine that I have a Plugin Gallery that was made on Builder, and after creation of Slide I want to do some extra actions...
Imagine that I want to create another Slide with some changes to another plugin... (After redirect to /update/:id)
So as I…

Ivan
- 514
- 5
- 21
0
votes
1 answer
OctoberCMS: How do i hookin / customize the signon of the Backend Authentication form and application flow?
I have a particular authentication flow that must occur for Backend Users on my OctoberCMS web app. The process involves 2-factor authentication.
Initially, I thought of a direct hack into 'backend.auth.extendSigninView' event to alter the login…

David Lundquist
- 690
- 7
- 19
0
votes
1 answer
Octobercms disable translations on a different domain
I'm trying to build a website which can be accessed through the main domain, which will use the main theme. But can also be accessed through different domains which are saved in the database, these will use a different theme.
The problem I am having…

Jasper de Vries
- 73
- 6
0
votes
0 answers
How to access request data from onStart() method?
I have created page with form in OctoberCMS with two functions onStart() and onSave():
title = "my page"
url = "/blog/new-post"
layout = "octaskin"
is_hidden = 0
[survey]
==

Nick
- 9,735
- 7
- 59
- 89
0
votes
0 answers
user_id with value null OctoverCMS
I have extended the Rainlabs User plugin, to create a new table to list items created by each user, but the value stored after the save for the user_id is NULL.
Here my code :
Model Item.php
public $belongsTo = [
'user' =>…

badaoui220
- 29
- 1
- 5
0
votes
2 answers
OctoberCMS plugin extend search filter with custom query
I have created one plugin call it as "Property" and in which in listing, I am showing multiple address fields into one column which will combine multiple fields of address like postcode, street type, street number etc ..
And I am able to show them…

Mittul At TechnoBrave
- 1,142
- 3
- 25
- 70
0
votes
1 answer
OctoberCMS adding backend administrator fields with validation
I want to add few more fields in my backend administrator by creating my own plugin called as Users. Here is what I have done so far to create few new fields.
plugins\technobrave\users\Plugin.php

Mittul At TechnoBrave
- 1,142
- 3
- 25
- 70