Questions tagged [octobercms-plugins]

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

315 questions
36
votes
2 answers

OctoberCMS Ajax Sort in the frontend

I am looking for the best practice in sorting a list in the frontend using ajax. So I have a component that loops through all the items. Then a sidebar with checkboxes to filter using Ajax. Each checkbox will be a category and will live a filter…
ServerSideSkittles
  • 2,713
  • 10
  • 34
  • 60
12
votes
2 answers

How do I provide output to console when seeding or migrating tables?

I have a plugin in october and i'm creating the neccessary tables and seeding them per the docs. I wish to provide console output when doing that so I can debug the process i'm setting up and catching any eventualities. How can I output information…
Tschallacka
  • 27,901
  • 14
  • 88
  • 133
8
votes
1 answer

Using a front end editor with static pages plugin

Im really new to ocms, I have installed static pages and its working really good. I want to edit the fields from the front page (in context editing) with one of the plugins, this for example: https://octobercms.com/plugin/netsti-editor I have…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
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

OctoberCMS translate plugin with SEO plugin doesnt translate SEO keywords for CMS pages and Blogs

I am using OctoberCMS SEO translation plugin https://octobercms.com/plugin/anandpatel-seoextension and it works as per my expectations .. but I have a query with Translate plugin https://octobercms.com/plugin/rainlab-translate . Please see my couple…
Mittul At TechnoBrave
  • 1,142
  • 3
  • 25
  • 70
3
votes
2 answers

Export a list of users in OctoberCMS to CSV

I have read tutorial about using the import and export functionality in OctoberCMS. But with the rainlab-users plugin, these guidelines don't work. I also tried to install the plugin vojtasvoboda-userimportexport, but it exports all users, not…
Strij
  • 29
  • 4
3
votes
1 answer

Access child model from parent controller

I am having trouble accessing child model repeater field to load without user action, I use RelationController in parent model controller this is what I did in parent controller class WartaRutin extends Controller { public $implement =…
3
votes
2 answers

OctoberCMS 401, 402, 403, 503, 400 error code handling

I just need to ask is octobercms has only capable of setting two types of errors ??? 404 [by creating a page with /404 url ] 500 [by creating a page with /error url ] how can we set 400, 401, 402, 403, 503, 400 etc ??????
Zakir hussain
  • 621
  • 3
  • 12
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 does not create index

I am creating some database tables in my OctoberCMS plugin, and in these tables I want to use some indexes. The problem is that these indexes don't get created, de tables get created without the indexes. Schema::create('table', function ($table) { …
2
votes
0 answers

Having an issue with OCMS snippets

Currently, I'm trying to turn a navbar partial into a snippet, and have certain buttons or etc be editable via front-end without much effort.I've set up the snippet and posted it to the content section of my homepage. The pages plugin itself…
2
votes
1 answer

OctoberCMS - How to access properties of a component in a function inside of the php section?

Is it possible to access the properties of a component e.g. blogPosts in the OnStart() function? If so, how? title = "Blog Category" url = "/blog/category/:slug/:page?" [blogPosts] categoryFilter = ":slug" postsPerPage = 3 == function onStart() { …
creg
  • 154
  • 3
  • 13
2
votes
2 answers

Dynamically grab latest post OctoberCMS Blog plugin

I asked this question in the October forums but 12 hours later the post still says "unapproved" and I don't believe it's visible. Here's a copy-paste: What I want to do is grab the latest blog post and display it on the homepage of the website. I…
Firearrow5235
  • 196
  • 2
  • 13
2
votes
1 answer

OctoberCMS scope not applying

So the scenario here is that i'm trying to create a simple scope in OctoberCMS that will allow me to filter a query with the builder plugins list component. In my model I have defined the scope as such: public function scopeFirst($query) { …
Henry
  • 25
  • 4
2
votes
2 answers

Class does not exist octobercms

I'm new in october cms and I want to push a job in queue but when I writing bottom code in my controller, I got error for class not exist ! I already create my class in classes folder of plugin ... Queue::push('\Mori\News\Classes\Insta',…
1
2 3
20 21