Questions tagged [octobercms-plugins]

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

315 questions
0
votes
1 answer

Change all translations inputs together

I'm using this pluginn http://octobercms.com/plugin/rainlab-translate. What is the best way to use this to translate all fields (from the backend) together instead of one by one?
user7477874
0
votes
2 answers

Get combined post from different categories using OctoberCMS RainLab Blog

I'm using Rain Lab Post in October CMS. I have no problem using the blogPost component and get post from a single category. E.g. This is a partial where show the last 5 post from a category [blogPosts] pageNumber = "{{ :page }}" categoryFilter = "{{…
PolloZen
  • 654
  • 6
  • 12
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

OctoberCMS : Prepare a URL for front end

I have a component and I would like to prepare some URL. The component display a list of categories, with a anchor tag for the category page. The category page can be selected in the component properties. After, the URL option is the slug. For…
Félix Desjardins
  • 3,223
  • 3
  • 21
  • 36
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 can I add a post to RainLab.Blog using my plugin?

I want to take information from the RSS feeds and transfer it to the RainLab.Blog. I have already created my own plugin I don't understand how to trigger the action of the RainLab.Blog
Only Best
  • 11
  • 2
-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
2 answers

How to export PDF from back-end edit/update view using DynamicPDF plugin in OctoberCMS

I am going to use DynamicPDF plugin to export to pdf some fields from backend on update/edit view of my plugin in OctoberCMS, can someone help me? on plugin controller i have this call:
azvm
  • 41
  • 1
  • 8
-1
votes
1 answer

how and where to record data in a session on octobercms

I would like to record the data of a form in a session I find in the documentation that I have to use: Session::put('key', 'value'); but I do not know where to place this piece of code. knowing that my form is located in the form_commun_1.htm…
Fati Alami
  • 51
  • 11
-1
votes
1 answer

OctoberCMS translate YAML default texts

As an example I have a translatable model: class Settings extends Model { public $implement = [ 'System.Behaviors.SettingsModel', 'RainLab.Translate.Behaviors.TranslatableModel' ]; public $settingsCode =…
Josef Zoller
  • 921
  • 2
  • 8
  • 24
-1
votes
1 answer

is there a way to show data in repeater field form after repeater is extended?

i did this in plugin.php boot function to addfield in repeater field WartaRutin::extendFormFields(function($form){ if(!$model instanceof Kebaktian) return; if(!$form->model->kebum) return; if(!$form->isNested) return; …
-1
votes
1 answer

Which values to use in the component when building plugin in OctoberCms?

I just build my first plugin with OctoberCMS Builder Plugin. I'm having trouble when I try to show the plugin data on the front-end. I have created a component, but there is some code missing in the component.php and default.htm. I don't know…
-1
votes
1 answer

Specify uploaded filename

I'm uploading an image using the rainlab builder plugin. Say for example the file is called "my_image.jpg" This will get uploaded to storage/uploads/public/56f/809/658/56f809658.jpg This isn't very seo friendly so I want it to keep it's original…
Mr Pickles
  • 39
  • 3
-2
votes
1 answer

User Record Ownership - October CMS

How I set or create that admin user can see only record which he created, or in which he is owner, like in this record this user is selected like owner.
Nikola
  • 207
  • 1
  • 4
  • 17
-3
votes
1 answer

How i can use plugin vars october cms in func 'onStart'

I have plugin user in October cms. I can use {{user.name}} in page, but how i can use it on function onStart
1 2 3
20
21