Skip to main content
SidsProjectImpact

SidsProjectImpact

  • How to Dynamically Change the Page Layout In October CMS? preview
    4 min read
    To dynamically change the page layout in October CMS, you can follow these steps:Identify the pages that need different layouts: Determine the specific pages in your October CMS project where you want to change the layout dynamically based on certain conditions or actions. Create multiple layout files: Next, create multiple layout files within the /layouts directory of your theme folder. Each layout file will represent a different layout variation you want to apply to your pages.

  • How to Allow Uploading Large Files In October CMS? preview
    5 min read
    To allow uploading large files in October CMS, you can follow these steps:Edit the PHP configuration file: Locate the php.ini file on your server and open it for editing.Increase upload_max_filesize: Look for the line that includes "upload_max_filesize" and increase the value to the desired maximum file size.

  • How to Send Mail Using October CMS? preview
    8 min read
    To send mail using October CMS, follow these steps:Open your project in your preferred code editor.In the root directory of your project, locate the config folder.Inside the config folder, open the mail.php file.Set the driver option to the desired mail driver. October CMS supports various drivers such as SMTP, Sendmail, PHP's mail() function, etc.Configure the mail driver by setting the relevant options like host, port, encryption, username, and password.

  • How to Get Cookies In October CMS? preview
    7 min read
    To get cookies in October CMS, you can follow these steps:Import Illuminate\Cookie\CookieJar and Illuminate\Cookie\CookieServiceProvider in your class file. use Illuminate\Cookie\CookieJar; use Illuminate\Cookie\CookieServiceProvider; Register the CookieServiceProvider in the register() method of your plugin or module's service provider. $this->app->register(CookieServiceProvider::class); Use the CookieJar class to set a cookie with the desired values.

  • How to Upload Multiple Images In October CMS? preview
    4 min read
    To upload multiple images in October CMS, you can follow these steps:First, make sure you have October CMS installed and set up on your system. In your October CMS installation, navigate to the backend area by accessing the /backend URL. Once you are in the backend, go to the "Media" section. This section allows you to manage all your media files. Click on the "Upload" button, located at the top right corner of the Media page. A file uploader dialog will appear.

  • How to Check If A Record Exists In October CMS? preview
    5 min read
    To check if a record exists in October CMS, you can follow these steps:Open your October CMS project in your preferred code editor. Identify the model or database table that contains the record you want to check. Models in October CMS are located in the models directory. Inside the relevant model file, locate the method where you want to check if the record exists. This method is often the one responsible for handling the logic related to the record.

  • How to Handle Webhooks In October? preview
    8 min read
    To handle webhooks in October, you need to follow a few steps.First, you need to understand what webhooks are. Webhooks are a way for one application to send data or information to another application in real-time. In the case of October CMS, webhooks allow you to receive data from an external source and trigger certain actions or events within your website.To handle webhooks in October, you need to create an endpoint or a URL that can receive incoming webhook data.

  • How to Roll Back In the October CMS? preview
    4 min read
    Rolling back in October CMS allows you to revert to a previous version of a page or a theme. Here is how you can easily perform this action:Log in to your October CMS admin panel.In the main sidebar, click on "System" and then select "Updates".Locate the page or theme you want to roll back and click on the "View Updates" button next to it.A list of available updates for that item will be displayed. Click on the desired version you want to roll back to.

  • How to Delete A Record In October CMS? preview
    5 min read
    To delete a record in October CMS, you can follow the steps below:Open your October CMS project and navigate to the backend.Go to the section or module where the record you want to delete is located.Locate the specific record you intend to delete from the list or table.Click on the record's corresponding "View" or "Edit" button to open its details.Once the record details are displayed, search for the "Delete" or "Trash" button.

  • How to Integrate React.js With October CMS? preview
    11 min read
    To integrate React.js with October CMS, follow these steps:Set up a new React.js project: Start by creating a new React.js project using tools like create-react-app or any other build tool you prefer. This will generate the necessary structure and dependencies for your React application. Build your React components: Write your React components according to your application requirements. This could include UI components, data fetching components, or any other functionality you need.

  • How to Override Model Properties And Methods In October CMS? preview
    8 min read
    In October CMS, you can override model properties and methods by extending the model class and creating your own custom model. Here's how you can do it:First, create a new PHP file for your custom model, let's say CustomModel.php, in the models directory of your plugin or theme. Inside the CustomModel.php file, the first thing you need to do is declare a namespace and import the original model that you want to override.