Questions tagged [octobercms-plugins]

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

315 questions
0
votes
1 answer

How do I send the user their password in October CMS?

I am using the User plugin on OctoberCMS and my site has a manual user activation (in which the administrator activates the user from the backend). After that, an email is sent to the registering front end user with the login information including a…
0
votes
1 answer

Which redirect (301 or 302) should we use for multilanguage website in OctoberCMS for SEO purpose?

I have a multilanguage website Built on OctoberCMS and I have added translate component like this on layout. [localePicker] forceUrl = 1 Now it is redirecting with 302 status code. so I want to know is it correct way of redirecting for SEO purpose…
Zakir hussain
  • 621
  • 3
  • 12
0
votes
1 answer

How to attach response headers from components in OctoberCMS?

I'm trying to attach response headers (like "Pragma: no-cache") to the response for frontend pages. If I'm the one instantiating the response object, I could just call header method on it as described in this October documentation. But, to do that…
kanji
  • 729
  • 9
  • 14
0
votes
1 answer

passing recordId in nested relationship to update form

i create nested relationship by this reference it works perfectly i can get to two level-deep in nested relationship but the i got i got stuck when try to update data of child of child model.. i dont know to pass parameter which is record id…
0
votes
1 answer

OctoberCms multiple different table in one request

thanks for your help I have 3 different tables, which I would like to display in one list with pagination, the 3 tables have different attributes table_1{id, title, description, ...} table_2{id, title, company, phone, ...} table_2{id, name, country,…
0
votes
1 answer

October CMS Blog Plugin - Custom Categories Page

I am customizing my Blog plugin and have partial overrides set up for the Post, Posts, and Categories components in my theme. Currently my custom items.htm partial that is called into the component's default.htm has the code shown in my…
0
votes
1 answer

Add slug to user (RainLab) OctoberCms

Is it possible to add a slug in the user table, if it's possible, then how do? I try to do it as usual, but it does not work with the table user class User extends Model{ use \October\Rain\Database\Traits\Sluggable; protected $slugs = ['slug' =>…
0
votes
1 answer

Save user profile details, October CMS

I have a profile(profile) table in relation with the user(user) table, now, at the frontend I would like to update the user information that I also update the user profile information, on octobercms how to do? thank you in advance Profile.php…
0
votes
0 answers

Assign each user to user's own plugin

I want each users to have their own database prefix so i come up with one user one plugin, so when one user login only one specific plugin activated user a with database prefix user_a_ and user b with prefix user_b_ and so on for each user So…
0
votes
2 answers

relationship between user and category OctoberCMS

how to establish a relationship between the user and the category? A category has more than one user, and a user belongs to a category I add category_id in the user table on the frontend I display the list of users with the plugin builder but I also…
0
votes
1 answer

OctoberCMS user.register event not firing?

I am listening to rainlab.user.register event but nothing seem to be happening. I want to fetch the registered user_id and do something with it e.g save it in another db. I am using jwtauth plugin to register users. User can as well register via…
wafutech
  • 481
  • 10
  • 30
0
votes
1 answer

Share Partials/Components between 2 Plugins

Is there a way to access partials from another component or another plugin? I have a modal component showing some sort of message. Now I have another component showing a complex form in a modal dialog. They reside in 2 plugins.
dark_982
  • 171
  • 2
  • 13
0
votes
0 answers

display all child model data in every parent model create form using relationController

I have implement relationController in the model that i build.. child model listed inside parent model form.. and it works perfectly but it doesnt meet my requirement.. the things is the child model listed is only the one related to parent model…
0
votes
1 answer

Add fileupload field to OctoberCMS backend using $widget->addFields?

Trying to add a form field with type fileupload and mode image to a certain page using a plugin in OctoberCMS backend but getting an error. Text, dropdown, etc types work fine. When I set the field's name to viewBag[photo] I get the error "Call to a…
0
votes
2 answers

October CMS - Translate Backend with RainLab Translate Plugin

On my application I have a custom plugin with a form of about 80 translatable fields. The form will be available in the backend (for admins) and in the frontend (for end users) with the same labels. I would like to use the Rainlab Translate plugin…