Questions tagged [octobercms-backend]

275 questions
4
votes
1 answer

OctoberCMS login with multiple websites in same browser

I have been using OctoberCMS and I found this very useful indeed. However, I have come across one strange thing which I want to share with you guys. I have two different websites in my local server, lets say it website1 and website2 and the…
Mittul At TechnoBrave
  • 1,142
  • 3
  • 25
  • 70
4
votes
1 answer

October CMS - custom fields

What is the easiest way to achieve a feature like custom fields in OctoberCMS (something simmilar like: https://craftcms.com/features/custom-fields or https://www.advancedcustomfields.com). If it is not possible how do you design complex layouts…
Mdt
  • 121
  • 6
3
votes
1 answer

How select multiple colors in october cms

I'm developing a shopping cart system using October cms platform. Some product items will have multiple colours. But using default colorpicker, I don't know how to select multiple colors. I searched all over the internet but I didn't get an answer…
Thanooshan
  • 598
  • 12
  • 23
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…
3
votes
1 answer

OctoberCMS Validation issue for required but dependent field with asterisk

I am using OctoberCMS and I have used Builder plugin to create one of my plugins called as Properties which works fine so far. The Thing is, I have 2 fields called as authority and auction_date. authority is a drop-down field which has options like…
3
votes
1 answer

Octobercms Backend List Timeout

i'm working with backend and having around 100k records in the table. The problem is, when im loading this list, request times out because it takes longer than 30 seconds to load and also if it manages to load (increasing timeout) the list is not…
Ivan Zhivolupov
  • 1,107
  • 2
  • 20
  • 39
3
votes
2 answers

Change the page where backend users are redirected after login

By default the user is redirected to the dashboard. How can I change that so that the user is redirected to my plugins page?
dragontree
  • 1,709
  • 11
  • 14
3
votes
2 answers

OCTOBERCMS Dropdown options dependent on selected value on other dropdown

I'm stuck with this problem and i can't figure out how to solve after some time searching for a example. The two dropdowns options are table dependent on their values. I have the one table with 'area' values (nested with simple tree working ok) with…
JLongo
  • 49
  • 2
  • 7
2
votes
1 answer

How to get the default price of the product with different prices from different date periods from the period closest to today?

my sqlfiddle eample Hello there, according to the above sqlfiddle example; I have a table A where the products are listed and a table B with different prices for different periods associated with these products. Here I show these prices according to…
2
votes
0 answers

OctoberCMS: How to use deferred binding when attaching relationship?

I have a model X that has a many-to-many relationship with the Word model. In the controller of the X model, I have a custom form widget which submits a wordId via ajax, and save that relationship: public function onAddWord() { $wordId =…
B Faley
  • 17,120
  • 43
  • 133
  • 223
2
votes
1 answer

October CMS belongsToMany/hasMany relation to self

I followed the excellent answer given here: October CMS relation to self But was left with one problem; it's a one-way relation. In my case I have a "domain" which can have many domains. However, although "domain A" is linked to "domain B" and…
Jan-Pieter
  • 21
  • 2
2
votes
1 answer

How to perform a unit test for a backend controller

I wish to test if my backend controllers perform properly via unit tests so I don't have to manually check them when changing things around. Unfortunately on everything I try I get a 404 not found. My phpunit.xml
Tschallacka
  • 27,901
  • 14
  • 88
  • 133
2
votes
1 answer

OctoberCMS: set multiple models in one API endpoint

I build backend with OctobderCMS for mobile app and need to have API for the app, i have around 15 models and want to have 2 API endpoint for these models, One endpoint for 2-3 models and the other enpoint for the rest of the models. Can i make…
2
votes
2 answers

How to filter blog posts with multiple categories in octobercms?

In October CMS how to filter blog posts with multiple categories? I'm using RainLab Blog plugin. The plugin only allows filtering with one category. I want a combined result. Please help.
Midhun Babu
  • 119
  • 1
  • 10
2
votes
1 answer

Get & register the logged-in user ID October cms

how can I get & register the logged-in user ID in a table, with October cms thank you in advance!
1
2 3
18 19