.NET Forge CMS

english russian
Hello, Guest! Log In Registration

Bitrix .NET Forge: Getting Started

OK, the product is downloaded, now what? Install the product using one of the following manuals:

Product Manuals .pdf
Installation Guide for Bitrix .NET Forge CMS
Document version from 03.06.2010
5.8 M

After installation, try the simple example below.

.Net Forge: "Hello World!"

Let's consider the "Hello World!" example site that will display the simple messagem "Hello World", which we keep in the database.

So, the site has been successfully installed. The first step is to log in. If the installation of the system was one of the pre-built solutions, then you can enter the site using the authentication solution. If there is no site solution installed, then navigate to the administrative login page by clicking the "Control Panel" link on the front page of the empty site.

To store data in the system, InfoBlocks(information blocks) are used. InfoBlocks are the universal storage container in the system and can be configured with settings. They organize and store data items of similar structure in a table. To store data in a table, we must first create the table.

Creating an InfoBlock type

We go into the Control Panel into the Content section and choose Information Block Type.

When the page opens, click on Add new type

Name the new type and save it.

The new type appears in the administrative menu.

Now we create a new InfoBlock of that type.

Creating an Infoblock

Navigate to the list of InfoBlocks of the given type. Click Add information block.

Name the block and save.

After reloading the page, the types of information blocks show up in the menu:

Now we'll make an element in the InfoBlock. An element is the structure that actually holds data.

In the Content menu, we choose to create a InfoBlock.

A list of elements appears in the window, and we click Add element.

In the detail text field, we write the text "Hello, World!"

Now, with a simple information block created, we can display the information from it in the front end of the site.

Displaying information in the site

Create a new page. Click the "Create page" button in the top administrative console.

A dialog appears to create the page.

Click the "Next button" in the dialog and then the Ready button in the next window. A form with the visual editor appears.

The blank field on the left is the contents of the new page.

On the right is the list of components. Here you can access all of the components of the system, grouped by function. The details of the components are a subject for later.

The lower part of the visual editor displays properties. Here you can see the settings of active components that are displayed on the page. If there are no components, then the settings of the page itself will be shown.

To display information from the database, we can use a component. A component is a control element, or ‘brick' which is used to build the site. Example components include menus, navigation paths, news lists, etc. To display data, the Catalog component is often used. This component displays a data list with page-by-page navigation, sorting, and several other settings. It also allows each element in the list to be displayed in detail. Using the Catalog component, we will display the text data we entered in the database.

Drag and drop the Catalog component, found in the Content section of the component list, into the page field. The component's symbolic ‘brick' will appear in the page field and the settings of the component can now be configured.

Configure the component as shown in the image above. Give the information block type – text – and then the specific information block, Hello World. These settings show the component what data it is to display. Immediately after putting the information source into this component, we see a link to the only element of the information block. Save the page.

Now we see that the data from the database is displayed on the site.

What next?

A detailed description of working with the system, the developer's manual, and the user's manual can be downloaded from this page.