Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
skoda-ep:skoda_banners [30.08.2023 08:24]
Jakub Štěpánek [Škoda Banners basic Flow]
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 88: Řádek 88:
     - You can also use shortcode ŠKODA Banner - Dynamic.     - You can also use shortcode ŠKODA Banner - Dynamic.
    
 +===== Škoda Banners - Special Banners for Homepage and Stories =====
 +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
 +{{ :​skoda-ep:​editor-options2.png?​nolink | }}
 +
 +==== Settings ====
 +Each language version has its own "Skoda Options",​ so you have to be in the right language section when creating the banner and you don't have to worry about the banner appearing on another importer'​s page.
 +
 +==== Create a dynamic banner ====
 +
 +If you need a dynamic banner you must create a page in your selected language.
 +{{ :​skoda-ep:​create-a-banner.png |}}
 +
 +Then fill the banner with your own content. You can use Site origin widgets as you see in an example below and publish page as private.
 +{{ :​skoda-ep:​create-a-banner-2.png |}}
 +
 +Fill the ID of the page that you have created in the Škoda Options settings.
 +{{ :​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|}}