gohhan Approved

Member since: 2017-05-21

Recent posts by gohhan
Post When

Hello, I noticed one feature. Function onInit does not work in partials, only in layouts.

Posted in CSS file version

mjauvin said:

You can add this to the boot() method of your plugin:

       Event::listen('backend.f...

Posted in Variables in new tabs in Pages

Hello! Sorry for the frequent questions, I'm learning :) I hope my questions and answers for them wi...

Posted in Variables in new tabs in Pages

mjauvin said:

You could implement this using Middleware if you wish.

Middleware doc:
https://larave...

Posted in How to set HTTP header Last-Modified?

Some sites on October CMS successfully give header Last-Modified. In the basic functionality it is n...

Posted in How to set HTTP header Last-Modified?

mjauvin said:

Here's one way to do this.

In your layout, replicate the example below:

description =...

Posted in CSS file version

mjauvin said:

@gohhan, it's feasible but I don't suggest it because it slows down your request even...

Posted in CSS file version

Hi how you can get the latest file change and deduce the URL of the file: <link href="style.css?v=00...

Posted in CSS file version

mjauvin said:

See https://octobercms.com/docs/themes/development#customization

Great, thank you! C...

Posted in Custom global variables with visual editing

Hello, Often you need to set settings for the site, such as: site name, phone, email, address, socia...

Posted in Custom global variables with visual editing