Jump to content

Recommended Posts

Понадобилось вывести Яндекс-Карту на одной из CMS-страниц. Prestashop 1.6.0.8.
Обойти валидатор проблем не составило, вписал скрипт в редактор страницы:

<script type="text/javascript" charset="utf-8" src="//api-maps.yandex.ru/services/constructor/1.0/js/?sid=...&width=1140&height=400"></script>

Карта успешно отображается, но в самом низу страницы. Пробовал обрамить скрипт DIV'ами - они остаются где поставлены, а карта рисуется внизу страницы.
Что делать? Как заставить рисоваться скрипты там, где они прописаны?

 

Подбор ссылок...

https://www.prestashop.com/forums/topic/342385-solvedquestion-about-move-javascript-to-the-end/
https://www.prestashop.com/forums/topic/315798-no-html-allowed-in-blockcmsinfo/?do=findComment&comment=1666595

https://www.prestashop.com/forums/topic/335086-statcounter-javascript-issue-in-prestashop-16/?do=findComment&comment=1714841

http://forge.prestashop.com/browse/PSCSX-3181

Edited by carcous (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...