Questions tagged [octobercms-plugins]

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

315 questions
0
votes
1 answer

RainLab blog - OctoberCMS - Show posts from specific category

I've found the following code in Posts.php - I think I essentially need to duplicate this and turn it into a public function limiting the category to a sepcific ID. Although that seems overkill? Can I query the current function on the front…
0
votes
2 answers

OctoberCms Backend not working in subfolder Apache

I am install a new project of the OctoberCMS in my VPS in a subfolder, example, /var/www/myCMS/ (here this my installation of the OctoberCMS). When I access my site by domain example: www.mydomain.com/myCMS/ I having a image of the welcome demo,…
Crazy
  • 346
  • 1
  • 4
  • 17
0
votes
0 answers

OctoberCMS display count number for Fields Repeater

I would like to know how you could display the numbering of your index in some place of the repeater, or, display a counter of how many repeaters added. To understand better, I currently have this repeater. My code is: tabs: fields: …
Crazy
  • 346
  • 1
  • 4
  • 17
0
votes
1 answer

October CMS - API with Upload File

I'm using October to create an API that is communicating with my mobile app. In this process I am sending an image that is in the format base64, until this part is not being problem, because I am converting this base64 image to JPG format, the…
Crazy
  • 346
  • 1
  • 4
  • 17
0
votes
1 answer

October CMS - Display only those records that are attached to the groups of the current user

I need to display only those records in the model that are attached to some groups. ("belongsToMany" Relations). (backend page of plugin list of Movies model) I want to get the groups of the current user and create a query. What I mean: I use…
0
votes
2 answers

October CMS - get the group code of current user?

I need to get the group code of the current user in backend, how can I do this?
0
votes
1 answer

October CMS Backend Model

Good day, I've created a plugin, a model, a controller, and a component. All that's missing now is the table in the database. As of 2017-12-18 1820 Taipei time, this URL does not have a document. So, does this mean I can just call this command? php…
Jon Abaca
  • 229
  • 2
  • 10
0
votes
1 answer

October CMS plugin models relations

I am using a messages plugin by Autumn. https://github.com/gpasztor87/oc-messages-plugin It has 3 models in it (message, thread and participant) and now I want to create a separate section for this plugin in backend. I created a plugin using…
The50
  • 1,096
  • 2
  • 23
  • 47
0
votes
1 answer

Octobercms: Locaion Plugin by RainLab

I'm trying to use the plugin to show all nationalities on front-end form, I'm able to pull the countries, but I'm unable to get the selected option by the client to be saved on the DB. When trying to access the data on the back-end forms I get…
Lindelwa
  • 27
  • 6
0
votes
0 answers

Link field to itself to create a Pivot Table to get a many to many relation

I'm currently building a Website with OctoberCMS and i have a Database Products with a list of Products. Those Products should be linked to other Products of the Same table. I have tried to achieve that trough a Pivot Table. Can it be done? My…
Lucas_Bo
  • 142
  • 1
  • 9
0
votes
1 answer

On octobercms static pages plugin render a group of fields with a repeater inside

On "content/static-pages/index.htm" i can see the saved fields that can be rendered on page: Then on partials i can use {{ data.section_color }} to render a field. Now i want to create a repeater field inside "meta/groups.yaml" like…
0
votes
1 answer

OctoberCMS: How to know whether user was logged in or registered in social login plugin?

I am using the Social Login Plugin to login/register with Google accounts. If user is registered for the first time, I want to redirect them to the "Edit Profile" page so that they can complete their profile info, and if they are not a new user and…
B Faley
  • 17,120
  • 43
  • 133
  • 223
0
votes
3 answers

Hide one of the October Rainlab Blog categories?

How to hide one of the October Rainlab Blog categories? One of the categories should not be displayed in the Categories List on page. I want to use one hidden category only for filtering and display special posts on HomePage. Any ideas?
Elisseii
  • 29
  • 9
0
votes
2 answers

October CMS media finder

I have recently created a plugin (using the 'builder plugin') where I have a field for attaching images (using 'media finder widget'). Everything is working fine - I can upload an image or choose one from the media library. After successful saving,…
0
votes
2 answers

How can I get the url of featured image from Rainlab blog plugin?

I need to know the url of a featured image attached in a blog post with Rainlab blog plugin in October CMS. The image is saved in a directory something like ".../storage/app/uploads/public/59f/112" I need to know it in the moment that I save the…
sandrita
  • 363
  • 1
  • 6
  • 17