Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revize Předchozí verze Následující verze | Předchozí verze | ||
skoda-ep:skoda_banners [30.10.2023 13:27] Zbyňěk Hovorka |
skoda-ep:skoda_banners [05.06.2024 06:33] (aktuální) Zbyňěk Hovorka [Škoda Banners - Special Banners for Homepage and Stories] |
||
---|---|---|---|
Řádek 59: | Řádek 59: | ||
* Show max - Maximum banner displays for current user. | * Show max - Maximum banner displays for current user. | ||
* Show max expiration - Number of days after which to display banner again (after reaching "Show max") | * Show max expiration - Number of days after which to display banner again (after reaching "Show max") | ||
+ | * Country blacklist - Allows for the exclusion of countries using their 2-letter ISO 3166 codes. You can exclude an unlimited number of countries. | ||
==== In article banner settings ==== | ==== In article banner settings ==== | ||
Řádek 91: | Řádek 91: | ||
For special occasions, it is possible to set a dynamic banner for the main page and for stories. If there is an exceptional event or the banner contains dynamic elements (for example, a countdown to an important event), then you can override standard banners using the settings in Škoda Options. | For special occasions, it is possible to set a dynamic banner for the main page and for stories. If there is an exceptional event or the banner contains dynamic elements (for example, a countdown to an important event), then you can override standard banners using the settings in Škoda Options. | ||
This menu item is already available for the "editor" level | This menu item is already available for the "editor" level | ||
- | {{:skoda-ep:skoda_options.png |}} | + | {{ :skoda-ep:editor-options2.png?nolink | }} |
==== Settings ==== | ==== Settings ==== | ||
Řádek 107: | Řádek 107: | ||
{{ :skoda-ep:homepage_options.png |}} | {{ :skoda-ep:homepage_options.png |}} | ||
+ | ==== Set testing template ==== | ||
+ | If you want to test your banner properly set the page template for "Banner homepage/stories" template. | ||
+ | {{ :skoda-ep:banner-page-settings.png |}} | ||
+ | |||
+ | ==== External URL ==== | ||
+ | To add a URL to a rich-text banner, you need to add **Custom fields** on the banner post. | ||
+ | First allows you to view custom fields on your screen options as you can see in the image below. | ||
+ | {{:skoda-ep:custom_fields.png|}} | ||
+ | Now you can set up an external URL: | ||
+ | * **external_url** - URL for the banner redirect | ||
+ | * **external_url_target** - target attribute of <a> element, accepted values _self or _blank | ||
+ | {{:skoda-ep:richtext_custom_fields.png|}} |