Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/ibexa_cloud/install_on_ibexa_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,18 @@ ibexa_cloud variable:create --level project --name env:COMPOSER_AUTH \
When you're done with configuration, push your project to the Platform.sh remote:

``` bash
git push -u <platform.sh-remote> master
git push -u <platform.sh-remote> main
```

You can also use the [[[= product_name_cloud =]] CLI](https://cli.ibexa.cloud/) to push your code.

``` bash
ibexa_cloud push master
ibexa_cloud push main
```

!!! note

`master` is the Platform.sh name for the production branch.
`main` is the Platform.sh name for the production branch.

!!! caution

Expand Down
1 change: 1 addition & 0 deletions docs/ibexa_products/ibexa_headless.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Several features help end users collaborate on the content, such as:
- [[= product_name_headless =]]'s content tree has several actions available directly on its items. For example, no need to open a content to hide it, you can do it directly from the content tree.
- An Image Editor offers to crop and flip images. When serving the image in various context, you can even set a focal point to indicate to automated cropping which part of the image should be kept.
- A Digital Asset Management (DAM) helps you crawl through your image resources to use and reuse them in your content. And a DAM connector allows you to search for images hosted on third party DAM servers.
- [AI Actions](ai_actions_guide.md) help you automate time-consuming editorial tasks.

#### Network integration

Expand Down
20 changes: 10 additions & 10 deletions docs/tutorials/page_and_form_tutorial/1_get_a_starter_website.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,24 @@ Edit it to remove the Image field that has a Content Relation (ezobjectrelation)

First, to remove the welcome page, go to `config/packages/` and delete the `ibexa_welcome_page.yaml` file.

Place the [`pagelayout.html.twig`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout.html.twig) and [`pagelayout_menu.html.twig`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout_menu.html.twig) files in the `templates` folder.
Place the [`pagelayout.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout.html.twig) and [`pagelayout_menu.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/pagelayout_menu.html.twig) files in the `templates` folder.
Create a new folder, called `full`, in `templates`.
Place further template files in it:

- [`article.html.twig`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/templates/full/article.html.twig)
- [`dog_breed.html.twig`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/templates/full/dog_breed.html.twig)
- [`folder.html.twig`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/templates/full/folder.html.twig)
- [`tip.html.twig`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/templates/full/tip.html.twig)
- [`article.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/article.html.twig)
- [`dog_breed.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/dog_breed.html.twig)
- [`folder.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/folder.html.twig)
- [`tip.html.twig`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/templates/full/tip.html.twig)

Place two configuration files in the `config/packages` folder:

- [`views.yaml`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/config/packages/views.yaml)
- [`image_variations.yaml`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/config/packages/image_variations.yaml)
- [`views.yaml`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/config/packages/views.yaml)
- [`image_variations.yaml`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/config/packages/image_variations.yaml)

In the `assets` folder in the project root:

- create a `css` folder and add the following stylesheet: [`style.css`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/assets/css/style.css) to it
- add the [`header.jpg`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/assets/images/header.jpg) file to the `assets/images` folder
- create a `css` folder and add the following stylesheet: [`style.css`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/assets/css/style.css) to it
- add the [`header.jpg`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/assets/images/header.jpg) file to the `assets/images` folder

In the `webpack.config.js` file in the project root folder, add the following line after `Encore.addEntry('app', './assets/app.js');`:

Expand All @@ -98,7 +98,7 @@ php bin/console cache:clear

Compiling assets with Webpack Encore is explained in [the beginner tutorial](3_customize_the_front_page.md#configuring-webpack).

In the `src` folder create a `QueryType` subfolder and add [`QueryType/MenuQueryType.php`](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/src/QueryType/MenuQueryType.php) to it.
In the `src` folder create a `QueryType` subfolder and add [`QueryType/MenuQueryType.php`](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/src/QueryType/MenuQueryType.php) to it.

This file takes care of displaying the top menu (for more information, see [the documentation](content_queries.md#query-types)).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ First create a new file for layout configuration, `config/packages/ibexa_fieldty
The `sidebar` (line 3) is the internal key of the layout.
`name` (line 5) is displayed in the interface when the user selects a layout.
The `thumbnail` (line 7) points to an image file that is shown when creating a new landing page next to the name.
Use the [supplied thumbnail file](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/layouts/sidebar.png) and place it in the `public/assets/images/layouts/` folder.
Use the [supplied thumbnail file](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/layouts/sidebar.png) and place it in the `public/assets/images/layouts/` folder.

The `template` (line 8) points to the Twig file containing the template for this layout.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ At this point the new custom block is ready to be used.
You're left with the last cosmetic changes.
First, the new Block has a broken icon in the **Page blocks** toolbox in page mode.
This is because you haven't provided this icon yet.
If you look back to the YAML configuration, you can see the icon file defined as `random_block.svg` (line 4). Download [the provided file](https://github.com/ibexa/documentation-developer/blob/master/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/blocks/random_block.svg) and place it in `public/assets/images/blocks`.
If you look back to the YAML configuration, you can see the icon file defined as `random_block.svg` (line 4). Download [the provided file](https://github.com/ibexa/documentation-developer/blob/4.6/code_samples/tutorials/page_tutorial_starting_point/public/assets/images/blocks/random_block.svg) and place it in `public/assets/images/blocks`.

Finally, add some styling for the new block. Add the following to the end of the `assets/css/style.css` file:

Expand Down
Loading