A
A
ayapergenov2016-08-12 10:11:29
PHP
ayapergenov, 2016-08-12 10:11:29

How to display different images on a slider on different pages?

Attached the Nivo-Slider to the header without using the news list component.
It is necessary that different pages display different images by adding a script to php with the setPageProperty parameter Like
this:

<?
    $APPLICATION->setPageProperty('slider1', 'main1.jpg');
    $APPLICATION->setPageProperty('link1', '/about_us');
?>

The names of images, as well as links will be indicated in the properties of each specific page,

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hetzerok, 2016-08-12
@hetzerok

Isn't it easier to display different sliders on different pages?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question