Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the coder-elementor domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u262393194/domains/codestap.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u262393194/domains/codestap.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u262393194/domains/codestap.com/public_html/wp-includes/functions.php on line 6114
How do you create a custom location block in Concrete? - Code Stap
How do you create a custom location block in Concrete?

How do you create a custom location block in Concrete?

Answer: To create a custom location block in Concrete CMS, follow these steps:

1. Create a New Block Type: In the dashboard, go to “Extend” > “Pages & Themes” > “Block Types” and click on “Add Block Type.”

2. Define Template Files: In your block’s folder, set up necessary PHP files, like `view.php`, `edit.php`, and `controller.php` for custom functionality.

3. Configure the Block’s Controller: In `controller.php`, define the block’s properties, settings, and logic for editing.

4. Add Custom Templates: If needed, create additional templates in the block’s folder for specific layouts.

5. Install the Block Type: Return to the dashboard and install your new block type.

6. Place the Block: Add the new block to your pages through the page editor where you want it to appear.

That’s it! You have set up a custom location block in Concrete CMS.

Related Questions & Topics