Questions tagged [octobercms]

October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. It allows developers to have full self-expression and the freedom to build web applications however they want. It is a productivity tool for building modern websites based on flexible patterns and principles rooted in simplicity.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

October CMS session deletes data after all PHP code is executed

I am having a problem where when i try to load data directly into the Session when the page loads, the data disappears on the next AJAX request. This led me to think that the session regenerates a ...
DEPSUT's user avatar
  • 1
0 votes
1 answer
33 views

How to create custom data type with custom form

I recently started working with October CMS. I found on the Internet a kind of solution to my problem link But I did not understand how I can adapt the solution to my own My form is actually a Mapbox ...
Alex Bulb's user avatar
0 votes
1 answer
33 views

October CMS - Tailor detail page twig not loop post slug

I have news and news detail page. But i can’t get detail page link. What is my wrong? Also I can’t open manually news detail page through direct link. I need community help immidently. I changed ...
Rustem Hesenov's user avatar
0 votes
0 answers
33 views

Move Settings Tiles around in October CMS

Some October CMS plugins create their own categories for the settings page. I have figured out how to rename them using my own language file: /app/lang/author/plugin/en/lang.php: <?php use System\...
sqwk's user avatar
  • 2,649
0 votes
0 answers
28 views

How to get the translated file from the Model

I have created a translatable model like following in a Custom Plugin Developed by me in OctoberCMS with Translate Plugin public $implement = [ \RainLab\Translate\Behaviors\TranslatableModel::class]; ...
Chatura Dilan's user avatar
0 votes
2 answers
56 views

How to target a specific relation in onRelationManageCreate method in OctoberCMS?

OCMS CURRENT BUILD 476 PHP v7.4.21 I'm working on an OctoberCMS plugin and I'm facing an issue with the onRelationManageCreate method in my Controller. I have multiple relations defined in my model, ...
MartinJuniorS's user avatar
0 votes
0 answers
34 views

Using Ajax in partials files in WinterCMS

In WinterCMS I have set up a component that will get an input from the user and insert the result into the database. I have this input set up in a partial file. Problem is the Ajax form doesn't work ...
KECW's user avatar
  • 1
0 votes
0 answers
66 views

How to register custom Blueprint macros in OctoberCMS & WinterCMS

I have like this service provider where I try add custom Blueprint macros to use in migrations: <?php namespace My\Plugin\Providers; use Winter\Storm\Support\ServiceProvider; use Winter\Storm\...
Andreas Hunter's user avatar
0 votes
0 answers
156 views

Convert Octobercms to wintercms

I've been trying to migrate my octobercms site to wintercms. However i've failed to migrate. My Octobercms is from the time when it was opensource. That/s way back in 2021. I've copied the composer....
Locum's user avatar
  • 1
0 votes
0 answers
81 views

How to use partial tag inside a plugin in OctoberCMS?

Inside my plugin in /plugins/acme/blog/views/mytemplate.htm I have this code {% partial 'test' vars=values} this returns Unknown "partial" tag and it's called by an internal code with ...
Sandro Antonucci's user avatar
0 votes
0 answers
42 views

PHPword reading .doc issue

I'm trying to read .doc file in php(I'm using laravel v6). For reading .doc I'm using phpword library. It works fine with .doc file in english. But I'm from slovakia a we have in our alphabet ...
Grizzly Samuel's user avatar
0 votes
0 answers
83 views

OctoberCMS create repeater field with morph to many relationship

In my model defined images field as jsonable: protected $jsonable = ['images']; I have like this field in my model fields.yml file: images: label: 'Images' prompt: 'Add image' maxItems: '...
Andreas Hunter's user avatar
0 votes
0 answers
34 views

How to hide the menu on a specific page with OctoberCMS

I am new to OctoberCMS and I am trying to create a page that has no header (menu) and no footer. I understand that I need to create a "Layout" and select it when creating my page. So I made ...
Moerip's user avatar
  • 61
1 vote
1 answer
164 views

Composer found when running directly, but not when running artisan

I am helping work on a site that uses OctoberCMS. I was trying to update to the latest release, but when I run the Artisan command to update October, I get the following error: $ php artisan october:...
chimericdream's user avatar
0 votes
1 answer
46 views

October CMS specify attachment_type for system_files table

for the attachment_type field in the system_files table, a string with the class name is automatically generated. How to set specify class string? looks like this now: public $attachOne = [ '...
Юрий Жулин's user avatar
1 vote
0 answers
75 views

Property structure reorder in Octobercms

I am using Octobercms/Wintercms and I identified in the documentation (https://docs.octobercms.com/2.x/backend/reorder.html#configuring-a-behavior) that there is the possibility of reordering the ...
Crazy's user avatar
  • 346
0 votes
0 answers
167 views

Winter cms 1.2 app,public, resorces folders are missing

I have recentely install winterCms 1.2 which is based on laravel 9. But in winter CMS app,public,resorces,routes folders are missing. we can't run make:controller command,similar laravel 9. How can I ...
noob's user avatar
  • 1
0 votes
0 answers
151 views

October CMS - Magic Forms Plugin - Upload Form - Make file upload field required

I put Upload AJAX Form on my page and made some fields required. But I tried to make hidden input in file upload section required too and it didn't work. I tried <input ... required /> and ...
Максим Грабов's user avatar
0 votes
2 answers
51 views

is it possible to create a new type in laravel (eg. in columns.yaml)

Is it possible to add type in laravel/OctoberCMS? columns: field: value: field type: specialdate I'd like to have specialtype in backend (colors depends on value or some text ...
Tomasz Brzezina's user avatar
0 votes
0 answers
27 views

how to extend pivot query

short: I need to get columns with related table. For now I can access only pivot table fields. I'd like to extend query the same way as public function ListExtendQuery($query) is extending query from ...
Tomasz Brzezina's user avatar
0 votes
1 answer
27 views

why overriding attribute works only on some models?

I have created two models - main model which can have many names: Units: id|unit desc and UnitNames: id|unit_id|name In controller/units/config_relation.yaml I defined fragment, which show all names ...
Tomasz Brzezina's user avatar
0 votes
0 answers
91 views

October CMS Magic Forms Plugin reCaptcha "The partial 'recaptcha' is not found"

I have October CMS v1 on my website and Magic Forms Plugin. I want to use reCaptcha in my forms. I set the Site key and Secret key. And put the code: <div class="form-group"> {...
Максим Грабов's user avatar
0 votes
0 answers
83 views

Is there another way to apply a layout in October CMS?

I have a layout file which I am accessing and editing through the back end then CMS then layouts. When I apply this layout to the home page with the URL of / the changes are not appearing on the front ...
Pistone Sanjama's user avatar
0 votes
0 answers
33 views

Is there a command to downgrade or go to a specific build of October CMS?

I am using October CMS Version 1 Build 476. I want to go back to Version 1 Build 455. Is this possible? Either through artisan commands or using the backend
kraithus's user avatar
-3 votes
3 answers
191 views

how to solve this composer error when developing octobercms website ,i am using php 7.4

our Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.30. PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP ...
Godfrey Temu's user avatar
0 votes
0 answers
250 views

Is there a way to fix October CMS not finding a configuration file?

I have a website developed using October CMS based on laravel. When I run the local site I get no error but when I host the website on Linux Server Ubuntu I get an error whenever I visit a plugin to ...
codeninja's user avatar
  • 315
1 vote
1 answer
147 views

October CMS datetime picker has a max date of 2020

I am trying to add an event using proevent in October CMS and the date-picker has a default range from 2010 to 2020 and I cannot change this option. When I inspect the HTML I see the below code: <...
codeninja's user avatar
  • 315
0 votes
1 answer
81 views

Sorting product Sort by category | WinterCMS/ OctoberCMS Plugin Builder

Another question from a noob. On the page, I need to get a list of Categories with Subcategories something like: Category 1 Subcategory1_Category1 Subcategory2_Category1 Category 2 ...
Paavali Poika's user avatar
0 votes
1 answer
99 views

Add the same link multiple times in the pivot table in October CMS

I have two tables, having many-to-many relationship between them (user, shop) and a pivot table (visit) that links them together: table user { id, name } table shop { id, name } ...
Zsido Maria-Aliz's user avatar
0 votes
0 answers
51 views

How adding extra data product item in plugin easyshop octobercms

I wanted to customize and add some extra data for my site, but I can't find plugins for do that. I use easyshop plugins and using October CMS Anybody have suggestion for the plugins? I am still learn ...
lucky's user avatar
  • 1
0 votes
1 answer
167 views

October CMS | Using a button to send email retrieved from a field

I'm trying to dynamically find email address (from what has been inputted in a field), then sending out email to that address. So far, I have been able to get the button to send emails but unable to ...
MartinJuniorS's user avatar
0 votes
0 answers
139 views

'[ERROR] Connection failed: could not find driver' when using OctoberCMS with Laradoc & MSSQL

I am trying to use OctoberCMS with Laradoc and MSSQL as the database I have Cloned laradoc into my project Set up the laradoc .env to use php v8.1 Run docker-compose up -d nginx mssql Entered the ...
user3677558's user avatar
0 votes
1 answer
221 views

october cms host migration issue PHP Fatal error

StackOverflow community. I have tried to transfer the October cms website from one host to another. As a result, I received 500 error. browser error message So what was done: website backup via ssh ...
Arthur Glushkov's user avatar
0 votes
1 answer
110 views

October CMS' Magic Forms plug-in how to catch multi select values?

I have a multi select field in a complex form. It's works on the Magic Forms. But Magic Forms only handle multi select's values last one. An example <select required multiple id=&...
G.D.i's user avatar
  • 47
0 votes
1 answer
149 views

WinterCMS/ OctoberCMS builder - sorting product in categories

I built the plugin (with builder) where I have products and categories. Product and categories are "conected" by relation table. I have list of products and another list of categories. On ...
user2883113's user avatar
0 votes
2 answers
208 views

OctoberCMS: Access parent model in relation form

I am creating an interface in the backend where the parent model has a belongsToMany relationship which is handled via a relation manager widget. When creating the related model I need to be able to ...
paishin's user avatar
  • 258
0 votes
1 answer
126 views

October CMS, I can't make Subscribe form by Magic forms plug-in

I have a October CMS setup and I have a Subscribe form in footer. Footer is a default.htm' partial into Layouts. I override Generic Ajax Form html with a partial, it's path partials\subscribe\default....
G.D.i's user avatar
  • 47
0 votes
1 answer
153 views

How to get value from checkbox list in October CMS custom plugin

I entered project_toolbox into my plugin's database table and created checkbox list named project_toolbox with 10 values. How can I retrieve those value if checked from the backend. Here is what I was ...
William Jerome's user avatar
0 votes
1 answer
112 views

How to Using Pagination in oc-api-plugin?

octobercms plugin: oc-api-plugin I don't know what's missing I've been trying for a while with no success using API Using Pagination Below is the program I built routes.php <?php Route::group([ ...
Josh's user avatar
  • 3
1 vote
1 answer
146 views

Htaccess add allowed php file

I've got the following code in my htaccess file: ## ## Block all PHP files, except index ## RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} \.php$ RewriteRule !^index.php index.php [...
ja_gallagher's user avatar
0 votes
0 answers
154 views

Octobercms Translate plugin - defaul language for backend admin

know somebody if it is possible set default language for editing of static pages and menu for for each admin individually? For example: admin1 first user: defautly manage static pages a menu in czech ...
Vasek's user avatar
  • 13
0 votes
0 answers
41 views

How to apply if statement for page [duplicate]

I have group of divs and tried this if statement in October CMS {% if 'product' | page %} do something {% endif %} does not work. Can anyone advice me the correct method?
William Jerome's user avatar
1 vote
1 answer
914 views

php artisan make:controller is not defined

I am using Laravel Framework 6.20.44, which I can tell from php artisan -V It comes part of OctoberCMS, which I just updated. I'm jealous because the documentation for Laravel 6.x, and some many other ...
Fabien Haddadi's user avatar
0 votes
0 answers
165 views

How to display images within repeater field | OctoberCMS

So far I have written this code with lot of if and for statement and trying to fetch images in my repeater field. The viewing_style is list of radio buttons (Single Image, Carousel, gallery and 3d ...
William Jerome's user avatar
0 votes
1 answer
56 views

OctoberCMS | Builder | Repeat Project Module Error

I've built repeater feature using the plugin builder for OctoberCMS and started using it in project post. The error said that "Data too long for column 'project_module'", project_module is ...
William Jerome's user avatar
-2 votes
2 answers
256 views

Adding file extension to allowed list for file uploads in OctoberCMS?

The problem is in OctoberCMS backend within the File Manager of Assets, I receive the following error message when I attempt to upload a SVG file: Error uploading file 'logo.svg': Only the following ...
Ryan's user avatar
  • 1
0 votes
1 answer
152 views

How to remove empty categories?

I have a two scenarios to solve :) Let's say I built plugin (with builder) where I have products and categories. Now on page with listed categories I have all of them, but I want to not display empty ...
user2883113's user avatar
2 votes
2 answers
321 views

October CMS 2.2.4 - Backend: Invalid Security Token

I'm running October CMS v2.2.4 on a dedicated managed server with Cloudways. I keep getting "Invalid Security Token" every few minutes after saving any changes in the Backend and I'm forced ...
Mozer's user avatar
  • 23
1 vote
0 answers
128 views

ErrorException: Object of class Illuminate\Routing\UrlGenerator could not be converted to string - October CMS

I'm working on a website that I did not build. This website is built on October CMS platform. I'm currently trying to add a new page to this website but, whenever I try to view the page, I get a 500 ...
Regina's user avatar
  • 11
0 votes
1 answer
312 views

Octobercms Custom fields plugin for Rainlab.User show field in list

please, know anybody how to show my custom filed from Custom Fields plugin for Rainlab.User plugin in list of users in Rainlab.User in backend? For example i have custom field "valid_to" and ...
Vasek's user avatar
  • 13

1
2 3 4 5
33