Renders a Swiper.js image slideshow for a promotion, reading slide images from the filesystem and footer images with configurable links from def_promotion.
PROMOTIONFLIP — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 (via self.Param1) is the PromotionCode used to query def_promotion. Defaults to "demo" if empty. Reads slide images from {LOCAL_DOCUMENTS}/promotion/slides/ and footer images from {LOCAL_DOCUMENTS}/promotion/footer/, both sorted alphabetically. Footer links are read from def_promotion.FooterLinks as a comma-separated list. Returns a full HTML fragment with embedded Swiper CSS and initialisation script.
Loads swiper-bundle.min.css and swiper-bundle.min.js as local resources. Loop mode is enabled when def_promotion.Continuous = 'Y'. Auto-advance delay is set from self._Refresh (seconds × 1000). Navigation arrows are always rendered. Images are served from /documents/promotion/slides/ and /documents/promotion/footer/ URL paths.