Questions tagged [octobercms-plugins]

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

315 questions
0
votes
1 answer

Displaying categories and thei subcategories in OctoberCMS backend form

I am developing a plugin using Builder plugin to display items and their categories and subcategories. Item model have $belongsTo relations with Category and SubCategory models, also Category has $belongsToMany relation with SubCategory, and I…
Ya Basha
  • 1,902
  • 6
  • 30
  • 54
0
votes
1 answer

OctoberCMS - Report for my booking using a chart or scoreboard

I'm quite new with octobercms so is there any documented or any guide in using scoreboard/chart in octobercms? I have to do a booking report using those two but for now I need some guide and help on how to start doing it. For example on how to put…
Snowball
  • 27
  • 6
0
votes
2 answers

Extracting October Static Pages MainMenu items for a Vue.js app

For building a Vue menu in October, I have the following code in a backend plugin. It is working fine to get the Static Pages pages in a JSON data, keeping the pages items indentation : $theme = \Cms\Classes\Theme::getEditTheme(); $pageList = new…
0
votes
2 answers

Extracting October pages indentation in JSON for a Vue.js app

For building a vue menu in October, I have a plugin that I want to extract the October pages structure in a JSON data keeping the pages and subpages indentation. Based on this post : How to get static page dropdown in OctoberCMS with get page…
Incremental
  • 27
  • 1
  • 8
0
votes
2 answers

How to properly send Html-mail with plain text alternative from octobercms?

I'm using october's mail fascade to send emails. In the docs is written: By default, the view given to the send method is assumed to contain HTML. However, by passing an array as the first argument to the send method, you may specify a plain text…
schmauch
  • 630
  • 1
  • 7
  • 10
0
votes
1 answer

How to save back-end data in two tables in october cms

I have two Tables Brands and BrandTimings, I want to save brand with pickup and delivery time, and I have a form which I m submitting with all data I m getting an error, I understand error but i don't know how to assign pickup and delivery time to a…
0
votes
1 answer

Passing Viewbag variable to Component from Theme settings

On Octobercms theme settings i use a yaml file: product_count: label: Number type: number span: left tab: Index default: 3 On index.htm page i use a partial featuredProducts of component with alias featuredProducts On component…
Charis
  • 117
  • 2
  • 4
  • 12
0
votes
1 answer

october cms linking another page into a page

I am trying to add link to static page `test ` when I click on test it clicked URL its not working correctly, it seems twig is not parsing static page…
Ankita Mehta
  • 442
  • 3
  • 16
0
votes
1 answer

OctoberCMS: Ajax Handler

I have created a plugin using Builder. There are 2 Models: Provider Location I am trying to create 3 independent filters on the frontend so users can filter the list of providers by name & their location. This is my Provider Model
0
votes
0 answers

Task Scheduled but callback is not triggered [octobercms & laravel]

I scheduled a task but it doesn't invoke given callback like following code public function registerSchedule($scheduler) { \Log::debug('Scheduling task'); $scheduler->call(function(){ \Log::debug('i\'m inside'); …
0
votes
1 answer

How to upload video from octobercms media to AWS s3 bucket using drivers plugin? Getting error File missing from Request

I had a issue while uploading video to s3. Getting File missing from Request. Apart from able to see s3 media in dashboard and able to upload image to s3 as well.
0
votes
1 answer

OctoberCMS Translate plugin redirect with hash

I am using OctoberCMS Translate plugin (https://octobercms.com/plugin/rainlab-translate) and its working as per my expectations. However, I have one custom requirement in which I am generating hash in url (i.e.…
Mittul At TechnoBrave
  • 1,142
  • 3
  • 25
  • 70
0
votes
0 answers

OctoberCMS include JavaScript vendor packages in plugin

I've created my own plugin in OctoberCMS. Some of my plugin's features make use of JavaScript, which can be put in author/plugin/assets/js folder and added to a plugin component by using the addJs function as described in the docs. You can even…
Jones03
  • 1,207
  • 2
  • 12
  • 30
0
votes
1 answer

Is possible to have multiple data requests in Octobercms form?

I have this data-request from Mailchimp plugin where I send form data to Mailchimp API.
0
votes
1 answer

october cms gallery - images rotated /upside down

I'm using the simple-awesome-gallery plugin so I can easily integrate a gallery in a rainlab blog post. But some images are rotated / upside down after the upload... but in the upload folder they are displayed correctly.. Does anyone know how I can…
user3346696
  • 169
  • 1
  • 4
  • 17