Questions tagged [octobercms-backend]

275 questions
0
votes
0 answers

Secure Site Backend URL with Random Key and NGINX

I'm using OctoberCMS and NGINX. I want to secure the site's Backend Signin url with a random generated key and NGINX sites-available. The only way to get to the Signin page is use the secure key in the url or bookmark it. Secure Key I have this…
Matt McManis
  • 4,475
  • 5
  • 38
  • 93
0
votes
1 answer

octoberCMS | share the code between layouts

On my default layout I have many AJAX handlers, but for my project, I need to create static pages with the same layout but with different variables (fields for client)... So as I understand I need to create different layout's that extends the…
Ivan
  • 514
  • 5
  • 21
0
votes
1 answer

October CMS Event Logging

Is there a way in October CMS to set log severity levels? Currently the system event log is turned on and working, but I would only like to log error, critical and emergency severity levels. As of right now its logging anything and everything. Which…
prola
  • 2,793
  • 1
  • 16
  • 15
0
votes
0 answers

OctoberCMS static page extra image field shows image real size

I successfully added an extra field in a static page layout. Now I can easily add an image to my static page. If I want to edit the page, the image that is choosen for this page is being presented in his own dimensions. That way I end up with a page…
0
votes
0 answers

How to access relations before create in model using octobercms?

Remember, first of all, this is related to octobercms (laravel) - http://octobercms.com I am doing something before creating an record.. My crud is already working with relations. My structure is this: Coupom coupom_categories Categories I want list…
0
votes
1 answer

How to call a function when a user logs into the backend?

I need to set some session variables when the user logs into the backend. A logical choice would be to listen for the backend.user.login event in my plugins boot() method, but for some reason it does not work (no sure if it is supposed to) …
dragontree
  • 1,709
  • 11
  • 14
0
votes
1 answer

Creating a Theme Customization File for October CMS

I am having trouble getting theme customization form fields to show up in the backend when I use a separate theme customization file. This is what I did. In my theme.yaml file -- I have the following code: form: config/fields.yaml. That works to…
Moshe
  • 6,011
  • 16
  • 60
  • 112
0
votes
1 answer

How to override OctoberCMS backend layouts?

Is it possible to override backend layouts? For example the backend main menu (/modules/backend/layouts/_mainmenu.htm)
dragontree
  • 1,709
  • 11
  • 14
0
votes
1 answer

backend list: sort and filter by field in HasMany relation

backend list: sort and filter by field in HasMany relation I have a two related Models with theatre productions and their performances: class Play extends Model { ... public $table = 'johar_theater_plays'; public $hasMany = ['playtimes' =>…
user783388
0
votes
1 answer

OctoberCMS call another plugin's data in current plugin's dropdown

I am new to OctoberCMS and i love the way it works. Currently i have created two plugins called as Products and Product Categories. I have created these plugins using Builder Plugin which is also a very good plugin to create another plugins with…
0
votes
1 answer

How do you add JS assets to a BackEnd formWidget in Child Form in OctoberCMS?

I am not sure if I am adding my JS assets correctly and would like some advice if I am not. In octoberCMS I have created a custom formWidget that uses the Google Maps API. I am using my formWidget inside a child form that is rendered via AJaX as a…
-1
votes
1 answer

How to get the SUM of a column based on the common value(id) in other column in octobercms

i get stuck here. Hope someone can help. i have a database that store the purchase done users on any project. here is my table in twig {% for paid_log in paid_logs %} …
kams
  • 45
  • 1
  • 12
-1
votes
1 answer

Is there a method to select or create options for dropdown in OctoberCMS backend forms?

I want to create a category field where the user can select one the unique values already typed or create a unique category their own. Is there any method to do this in OctoberCMS? I went through the form-field types and checked the dropdown…
Lasithds
  • 2,161
  • 25
  • 39
-1
votes
1 answer

How can I sort the featured blog posts in the top of the list in Octobercms

My request is simple. I want to keep my blog list ordered by created_at DESC but I want also to show the featured posts in top. Let's say that I have 4 categories : Gold, Silver, Bronze and Other ... I want to display the Gold posts first. Then the…
Zied Hf
  • 491
  • 3
  • 10
  • 30
-1
votes
2 answers

Why does OctoberCMS lack a visual editor Page & Post content?

As a Content Management System I expected non-developers could edit Page content in a visual editor. I'm unclear why this was not included. But Laravel and OctoberCMS is still slightly abstract for me, as I come from WordPress - like many. Note, I…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
1 2 3
18
19