Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken links in medialibrary docs #2898

Merged
merged 2 commits into from Sep 15, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/07. media library/01. introduction.md
Expand Up @@ -26,14 +26,14 @@ In the frontend you can choose how you wish to show the MediaGroup entities.

**Default media widgets**

* **Lightbox** ([php](../../src/Frontend/Modules/MediaLibrary/Widgets/Lightbox.php), [html](../../src/Frontend/Modules/MediaLibrary/Layout/Widgets/Lightbox.html.twig)) - clicking a thumbnail will open a lightbox
* **Listing** ([php](../../src/Frontend/Modules/MediaLibrary/Widgets/Listing.php), [html](../../src/Frontend/Modules/MediaLibrary/Layout/Widgets/Listing.html.twig)) - a list `<ul>` containing the links to the source files
* **OneImage** ([php](../../src/Frontend/Modules/MediaLibrary/Widgets/OneImage.php), [html](../../src/Frontend/Modules/MediaLibrary/Layout/Widgets/OneImage.html.twig)) - the first image will be shown
* **OneRandomImage** ([php](../../src/Frontend/Modules/MediaLibrary/Widgets/OneRandomImage.php), [html](../../src/Frontend/Modules/MediaLibrary/Layout/Widgets/OneRandomImage.html.twig)) - randomly pick one image from your MediaGroup
* **Slider** ([php](../../src/Frontend/Modules/MediaLibrary/Widgets/Slider.php), [html](../../src/Frontend/Modules/MediaLibrary/Layout/Widgets/Slider.html.twig)) - thumbnails will be created to show a slider
* **Lightbox** ([php](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Widgets/Lightbox.php), [html](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Layout/Widgets/Lightbox.html.twig)) - clicking a thumbnail will open a lightbox
* **Listing** ([php](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Widgets/Listing.php), [html](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Layout/Widgets/Listing.html.twig)) - a list `<ul>` containing the links to the source files
* **OneImage** ([php](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Widgets/OneImage.php), [html](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Layout/Widgets/OneImage.html.twig)) - the first image will be shown
* **OneRandomImage** ([php](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Widgets/OneRandomImage.php), [html](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Layout/Widgets/OneRandomImage.html.twig)) - randomly pick one image from your MediaGroup
* **Slider** ([php](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Widgets/Slider.php), [html](https://github.com/forkcms/forkcms/blob/master/src/Frontend/Modules/MediaLibrary/Layout/Widgets/Slider.html.twig)) - thumbnails will be created to show a slider

**Custom media widgets**

This is the best part. Everything is so flexible. Nothing is holding you back from creating your own amazing media widget. The widget can be placed in your own custom module.

[How to create custom frontend widgets?](03.%20integrating%20in%20your%20module.md)
[How to create custom frontend widgets?](03.%20integrating%20in%20your%20module.md)
4 changes: 2 additions & 2 deletions docs/07. media library/02. module structure.md
Expand Up @@ -11,13 +11,13 @@

`MediaFolder` <---> contains multiple `MediaItem` entities

> This is purely for your own internal usage in the backend. [View MediaFolder entity](../../src/Backend/Modules/MediaLibrary/Domain/MediaFolder/MediaFolder.php).
> This is purely for your own internal usage in the backend. [View MediaFolder entity](https://github.com/forkcms/forkcms/blob/master/src/Backend/Modules/MediaLibrary/Domain/MediaFolder/MediaFolder.php).

**MediaGroup**

`MediaGroup` <---> contains multiple `MediaItem` entities using `MediaGroupMediaItem`.

> Any custom module entity can have one or more MediaGroup entities. [View MediaGroup entity](../../src/Backend/Modules/MediaLibrary/Domain/MediaGroup/MediaGroup.php).
> Any custom module entity can have one or more MediaGroup entities. [View MediaGroup entity](https://github.com/forkcms/forkcms/blob/master/src/Backend/Modules/MediaLibrary/Domain/MediaGroup/MediaGroup.php).

## Example
```php
Expand Down