Questions tagged [octobercms-plugins]

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

315 questions
1
vote
1 answer

Why october cms don't save attachments on db by upload images with amazon-s3?

I have a problem with AWS s3 and October cms. If I upload images or files from media page s3 works fine, but if I upload images from Object (System or Widget) is attachment_id, and attachment_type on the system_file table is empty. So, I cant fetch…
ev.werkz
  • 61
  • 8
1
vote
1 answer

How to view translated county in OctoberCMS rainlab.location plugin

I've rainlab.location and rainlab.translate plugins installed. I translated countries and states in backend, but I can't view them translated in frontend. This is the code I'm using (from documentation): {% set countryId =…
Behiry
  • 575
  • 5
  • 20
1
vote
1 answer

OctoberCMS: Three Way Complex Relationship

I'm trying to create a three-way relationship with a pivot table. What I have 4 models; Movie, People, PeopleRole, and MovieCast. I currently have a DB schema like so: movies_ ------------------- | id | name | |----|------------| | 1 | Fight…
1
vote
1 answer

October CMS (Rainlab Blog) - Next and Prev Post link from same category

I have a blog post page where I'm using the category as a hardcoded parameter in url. The url is like url = "/category1/:slug" I'm using blogPost component in this layout. I can get the nextPost and prevPost link using the following code in…
Akash K.
  • 627
  • 1
  • 14
  • 27
1
vote
1 answer

making model relationship to user, user can only access its own data

i have 2 main models and some child models with relationController to main models, now i need to add user id to both main and child models so user can only access its own data since users data stay on the same table. i create belongsToMany…
1
vote
1 answer

Builder plugin how to display items selected by another model class instead of all items?

I build my own plugin with octoberCMS Builder plugin. There are 2 different model classes category item inside the model class "item" I have a relation to model class category so each item can be linked to a "category". On my webpage, I would…
1
vote
0 answers

Octobercms : Using rtl language as part of the url

I'm trying out octombercms for a project. As shown in the attached screenshot, I'm trying to create a static page using "Rainlab.Pages" plugin. Content language is going to be Hebrew (which is rtl). When I try to save it shows an error "Invalid url…
EastSw
  • 927
  • 1
  • 9
  • 28
1
vote
2 answers

how to define getName[field]Options() method in octobercms

I got an error when trying to use get*field*Options() method to field: name[field] I tried to use: getName[field]Options() method but it return an error. How can I make this work? fields.yaml temakebum[tema]: …
1
vote
3 answers

High query overhead with Rainlab Translate for a dropdown menu

I have a model called Area which contains a list of area names that I need to populate a dropdown. The list is translated using the Rainlab Translate plugin. If I just do a straightforward Area::lists() then the list is not translated. However, if I…
Joseph
  • 2,737
  • 1
  • 30
  • 56
1
vote
1 answer

Extending backend lists object

how could I extend the list items which are displayed in backend? I am trying to use this function: listExtendRecords($records) The thing is that I need to recreate the same object $records, but I want to add my custom data to it. For example my…
The50
  • 1,096
  • 2
  • 23
  • 47
1
vote
1 answer

October CMS unable to load dashboard, attach project nor install plugin

I have just done a fresh installation of OctoberCMS. in the Backend, Dashboard shows the loader turning forever and I go to settings trying to attach project, the background blur, loader pops up for 0.1sec then nothing happen, background remains…
warmjaijai
  • 991
  • 4
  • 13
  • 30
1
vote
3 answers

How to stop slug generation in OctoberCMS

When I write non-unicode letters in OctoberCMS Rainlab blog title, it's converted to English letters such as this: موضوع جديد is converted to: modoaa-gdyd I don't want this, I want only to replace spaces with hyphen to be for…
Behiry
  • 575
  • 5
  • 20
1
vote
1 answer

Use geolocation plugin in october cms

I have try to install geolocation plugin in october cms but i am getting errorenter image description here
1
vote
1 answer

October CMS Static Pages plugin - hide / show pages in the backend based on user roles?

How can I hide some static pages based on the user's role? I defined the role of users with the name "blabla". Now I want to hide all the pages from these users, except for the page "blabla" in the "Static Pages" backend. How can i do this? sorry…
1
vote
1 answer

OctoberCMS plugin SEO Meta Og image

I've been stuck on this problem for a few days, so I thought its best to ask the community. So my problem is this, I'm trying to share a post. The post is generated dynamically. I'm using the addthis.com sharing toolbox. I also installed the SEO…