Plugins are the foundation for adding new features to OctoberCMS by extending it.
Questions tagged [octobercms-plugins]
315 questions
1
vote
6 answers
How to change which partial is rendered in OctoberCMS component?
By default, OctoberCMS plugin components render the partial default.htm. Is it possible to override which partial will be rendered? For example ...
Plugin file structure
├── components
│ ├── example
│ │ ├── default.htm
│ │ ├──…

frthjf
- 251
- 3
- 13
1
vote
1 answer
OctoberCMS Static Pages plugin menu external links unable to open in new tab
I have used OctoberCMSs' Static Pages plugin, everything seems to be working but as I have created static pages as well as menu and able to show them up front.
The only thing is not working for me is to open the links as External Tab..
I have put…

Mittul At TechnoBrave
- 1,142
- 3
- 25
- 70
1
vote
2 answers
jQuery Repeater doesn't work in a partial generated with ajax
In a form consisting of several steps generated in ajax within a single page, I have to use jquery.repeater in an intermediate step.
The form code specific to the repeater is in a dedicated partial
But jquery.repeater does not work, nothing happends…

pat-och
- 345
- 3
- 17
1
vote
3 answers
OctoberCMS plugin show all the validations at once
I am using Builder plugin to create plugins and did field validations in my model in one of my plugins which works fine.
Let's say I have a validation something like this in one my plugin call it as Team.
Model File:…

Mittul At TechnoBrave
- 1,142
- 3
- 25
- 70
1
vote
1 answer
Octobercms: how to localize path?
I have a multilingual website. The localization plugin seems to translate only the content, but leaves a path in the default language. How do I change a path to the selected language?

qwaz
- 1,285
- 4
- 23
- 47
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…

Mittul At TechnoBrave
- 1,142
- 3
- 25
- 70
1
vote
0 answers
OctoberCMS: How to extend System\Models\File and add a new field to it?
I need to add an extra column to the system_files table. I'd prefer not to change this table, so I decided to add a new table with one column and then extend the System\Models\File model with a hasOne relationship. I therefore created a new table…

B Faley
- 17,120
- 43
- 133
- 223
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
1
vote
2 answers
October CMS AJAX actions - plugin
What could be the problem if I get this error when I try to call an AJAX action?
Invalid handler name. The correct handler name format is: "onEvent"
I am trying to use contact form plugin and it's not working because of this AJAX call error. I…

The50
- 1,096
- 2
- 23
- 47
1
vote
2 answers
How to access and execute specific php file in OctoberCMS when creating a backend plug-in?
I would like to be able to serve a php file that is not encumbered by the OctoberCMS backend theme for use in a new window. (A standalone page)

David Lundquist
- 690
- 7
- 19
1
vote
2 answers
OctoberCMS error in frontend - frontend is not accessible firing error "Default value for parameters with a class type hint can only be NULL"
all
I am new to OctoberCMS, i have installed already built project into my Ubuntu 16.04 system with PHP5.6 and apache2. I have successfully setup and run project backend after very hard trying. but problem is when i open any front-end URL then this…

VASIM SETA
- 155
- 1
- 9
1
vote
1 answer
OctoberCMS: Extending plugins using nullable trait
How should traits be added to an existing model while extending plugins?
I tried the following with RainLab.User plugin:
UserModel::extend(function($model) {
$model->implement[] = 'October.Rain.Database.Trait.Nullable';
$model->nullable[]…

B Faley
- 17,120
- 43
- 133
- 223
0
votes
1 answer
When i publish my Django CMS page with a ManyToManyField it's just be displayed in edit page
When i publish my Django CMS page with a ManyToManyField it's just be displayed in edit page.
This is my model code:
class ProductCarrossel(CMSPlugin):
title = models.CharField(
verbose_name='Título do Carrossel',
…

Daniel Oliveira
- 13
- 2
0
votes
0 answers
How to get the translated file from the Model
I have created a translatable model like following in a Custom Plugin Developed by me in OctoberCMS with Translate Plugin
public $implement = [ \RainLab\Translate\Behaviors\TranslatableModel::class];
public $translatable = ['image'];
public…

Chatura Dilan
- 1,502
- 1
- 16
- 29
0
votes
0 answers
How to register custom Blueprint macros in OctoberCMS & WinterCMS
I have like this service provider where I try add custom Blueprint macros to use in migrations:

Andreas Hunter
- 4,504
- 11
- 65
- 125