You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, guys :-) It will be great if we can have 'slider_code' field on slider edit page.
Problem: At the moment slider_id is an unique field, which is generated automatically. (two different databases can have different slider_id). And if we use such code
echo $this->getLayout()->createBlock("Trive\Revo\Block\Slider\Items")->setSliderId(1)->toHtml();
We can have an error on different site instances.
If code setSliderId(1) works for one site instance, it can not to work for another:
server1.com : slider_id = 1
server2.com : slider_id = 2 (imagine, you've deleted slider_id=1 and can't use it anymore)
And if we have slider_code="homepage_slider", it will work everywhere and not depend on slider_id
Thanks
The text was updated successfully, but these errors were encountered:
Hello, guys :-) It will be great if we can have 'slider_code' field on slider edit page.
Problem: At the moment slider_id is an unique field, which is generated automatically. (two different databases can have different slider_id). And if we use such code
echo $this->getLayout()->createBlock("Trive\Revo\Block\Slider\Items")->setSliderId(1)->toHtml();
We can have an error on different site instances.
If code setSliderId(1) works for one site instance, it can not to work for another:
server1.com : slider_id = 1
server2.com : slider_id = 2 (imagine, you've deleted slider_id=1 and can't use it anymore)
And if we have slider_code="homepage_slider", it will work everywhere and not depend on slider_id
Thanks
The text was updated successfully, but these errors were encountered: