Questions tagged [octobercms-plugins]

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

315 questions
0
votes
1 answer

register permissions october cms

I need help with registering permissions for a plugin. My plugin is 'event' and model is 'event' 1 How to define feature name in permission key. acme.blog.access_categories //I don't know how to define this feature name 2 I need to create a…
Dapk
  • 203
  • 2
  • 10
0
votes
2 answers

Robots.txt and Sitemap.xml on OctoberCms

I'm using OctoberCMS to create and manage my website, everything is working as it should. However, I'm having trouble creating the Robots.txt file and the Sitemap.xml file from my site. The octobercms works with the folder named "themes" I can not…
Crazy
  • 346
  • 1
  • 4
  • 17
0
votes
1 answer

Retrieving an input value october cms

I wanna retrieve input value from 'term' field. ( 'term' is a $belongsTo relationship so retrieved value should be an integer like 1,2,3.. ) I tried this code but didn't work. What am i missing? $termid = Input::get('term_id'); YAML…
Dapk
  • 203
  • 2
  • 10
0
votes
0 answers

How to render a partial after backend list filter by octobercms

With octobercms, I want to do statistics after data filtering. So I useing the list filters, after filter, The lists data is changed, But the partial not render, So I want to know how to render a partial after backend list filter?
0
votes
0 answers

How to create temporary welcome page after registration?

I am using User plugin in october cms. I have allowed user registration only after user activation. But, when users register on signup page,a flash message appears that- an activation mail has been send. But user remains on the signup page. Is there…
0
votes
2 answers

How to send mail using OctoberCms?

How to send Email in octobercms after form submission? i created a mail from backend mail template in octobercms the mail code is contact::form. // $data has name and email $to = System\Models\MailSettings::get('abc@gmail.com'); …
rameez.hashmi
  • 29
  • 1
  • 12
0
votes
1 answer

OctoberCMS - Overridden Blog Component (Rainlab Blog) Multiple Usage in Same Page

I am new to OctoberCMS and I am stuck now, I am facing issue to use my custom blog posts component (which overrides Rainlab blog posts) in the same page multiple times. Say I have created an alias of default blogPosts to postLists and I defined my…
0
votes
1 answer

only one image from query

i am starting with coding in octobercms. i already make a lott but i get one problem that i dont get it solved.. maybe somebody works also with the Mall plugin? I use this code to display a collection of images in my octobercms system. I use the…
Michael
  • 9
  • 3
0
votes
0 answers

How fix "The requested URL was rejected" on backend octobercms

I'm using octobercms in my hosting, and my website (theme) is working normally, the problem is being in the backend. I can access the backend correctly, however, when I try to register, update or delete any record I have the following return: The…
Crazy
  • 346
  • 1
  • 4
  • 17
0
votes
1 answer

How to implement the Location function of User Plus+ Plugin from Rainlab?

I've implemented the Country Select Form and State Select Form in my frontend from the Location Plugin. The values get populated according to the backend settings of Location. But if I click on register, the country and state are not saved. first i…
user10938426
0
votes
2 answers

In October router, how to name endpoint, and get URL with the name

When I give a name to my endpoint defined in my plugin's routes.php and try to access the endpoint by browser, it throws an error showing like; Function name must be a string /path/to/my/src/vendor/laravel/framework/src/Illuminate/Routing/Route.php…
kanji
  • 729
  • 9
  • 14
0
votes
0 answers

Octobercms - How to fetch data based on input in backend form and update rest of input fields

I am trying to implement two part form at backend where user will provide some key in input field VideoId and based on provided key some api call will be fired (by click on fetch button If I can put or on field focus out event). The result of api…
Natwar Singh
  • 2,197
  • 4
  • 26
  • 42
0
votes
1 answer

registerMailPartials() and registerMailLayouts()

I want to register my own e-mail layout at octobercms. Template registration works great. However, the use of registerMailLayouts and registerMailPartials methods does not work. I have no errors or the expected result. In the…
asde
  • 3
  • 1
0
votes
1 answer

Extend User plugin backend form in Octobercms

I extended the user plugin to include extra form fields: UsersController::extendFormFields(function ($form, $model, $context) { $form->addTabFields([ 'mobile' => [ 'label' => 'Mobile', …
Ya Basha
  • 1,902
  • 6
  • 30
  • 54
0
votes
1 answer

is possible update data with one request?

I have a component for my plugin in OctoberCMS. I show my repeater's data with a table with an edit and delete button. For example when I clicking the delete button for one item data-request="onDeletePackage" is calling and PHP deletes this item and…
ehsan
  • 209
  • 1
  • 4
  • 13