Payments are experiencing issues due to temporary restrictions in Russia. If your payment does not go through, please submit a support request.Our support team is available 24/7 — we are always here to help with hosting and server issues.We are now accepting requests for dedicated server rental and colocation services in our data center.Reminder: we recommend enabling backups for additional data protection.A new VPS/VDS lineup with NVMe storage and improved performance is now available.Maintenance work on some servers has been completed. All services are operating normally.

MODULE FOR 1C-BITRIX

Askaron Systems

Includeable Code

The demo version of the module is fully functional and available for a 30-day trial period. This module enables the integration of arbitrary PHP code into any text content on the site. To use it, create a .php file containing the required code and call the IncludeFile function at the desired location within a template or component.

Technical details

Published
27.08.2012
Updated
05.01.2023
Version
3.0.0
Installed
500 - 999 times
Suitable editions
'First Site', 'Start', 'Standard', 'Small Business', 'Business', 'Corporate Portal', 'Enterprise', 'Online Store + CRM'
Adaptability
Yes
Composite support
Yes
Compatible with Sites24
No
Developer
Askaron Systems

What this solution does

The demo version of the module is fully functional and available for a 30-day trial period.

This module enables the integration of arbitrary PHP code into any text content on the site. To use it, create a .php file containing the required code and call the IncludeFile function at the desired location within a template or component. The output of the script will appear exactly where the function is invoked, even if that location is inside a cached component template.

An alternative method involves using a specific comment within a news article text or product description. When such a comment is present, the content of the specified file is inserted at that point. However, this approach has a limitation: the code executes at the end of page processing, which may disrupt the intended output order. To execute code at a specific point during page generation, use the StartBuffer and PrintBuffer function pair.

The module expands content editing capabilities. Editors can embed banners, voting forms, or other dynamic code directly into article text. Developers can quickly integrate components, such as 'Like' buttons or shopping cart elements, into product lists without modifying the core template logic.

This module is designed to insert dynamic blocks into static pages, such as comment lists or related product lists on a product detail page. It is particularly effective for adding non-cached elements to components with caching enabled, significantly speeding up development.

The solution functions correctly even when the included code connects external stylesheets, JavaScript files, or modifies page headers and properties.

The package includes ready-to-use component examples:

- current date display;

- rating voting;

- banner;

- current poll;

- feedback form.

Additional examples may be provided by third-party modules, such as the 'Fair Voting' component.

Starting from version 2.0.0, built-in AJAX is supported in included components when the AJAX_MODE parameter is set to Y. This allows dynamic elements like the 'Current Poll' complex component or product reviews to function correctly.

Further information is available in the module documentation and articles regarding the placement of specific components.

General iT can connect “Includeable Code”, install and configure the module, and make sure the integration works correctly.

UPDATE HISTORY

What’s new

10 releases
3.0.0 (05.01.2023)Latest update

PHP 8 compatibility. The solution has been adapted to meet the new requirements of the 1C-Bitrix platform version 20.100.0: remove the 'mbstring.func_overload' setting. The module works with both old and new versions of the 1C-Bitrix core. Numerous minor fixes.

2.1.0 (22.11.2018)

Minor fixes

2.0.2 (21.07.2015)

Minor fixes

2.0.1 (07.07.2015)

Language phrase fixes. New examples for including files in your code.

2.0.0 (04.07.2015)

New method to call an includable file: CAskaronInclude::IncludeFile( "file.php", array( "ID" => 10 ) );.

Fixed connection of files with built-in Bitrix AJAX; use CAskaronInclude::StartBuffer() and CAskaronInclude::PrintBuffer() methods.

YOUR PROJECT INFRASTRUCTURE

A home for your website

BEFORE YOU ORDER

Let’s go through the details.

What does the price cover?
The displayed price covers the solution itself. Platform licensing, installation and customisation are checked separately. If the page offers bundles, select the required option before submitting a request.
How do I check compatibility?
Compare the supported editions and solution version in the technical details with your project. Before installing on a live website, we recommend making a backup and checking the solution in a test environment.
Is there a trial?
The developer lists a trial of 30 days. The trial button opens the installer in your website control panel. Check the required features and compatibility before purchasing.
How much does this solution’s renewal cost?
The current renewal price is 1,000 ₽. Before you order, a manager will confirm the renewal period and whether it applies to your licence.
Can you help with implementation?
We can help install the module, check its settings and verify how it works in your project. Compatibility with other customisations and the scope of work are assessed before we begin.

GENERAL iT

Let’s discuss your project

Получатель: ООО «Дженерал Ай Ти Рус»

1C-BITRIX

Install solution

Enter a domain with or without https://. The installer will open in your website control panel in a new tab.

Solution screenshots

Solution screenshot