This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!AjaxForm? | |
&snippet=`FormIt` | |
&hooks=`email,spam,FormItSaveForm` | |
&form=`tpl.AjaxForm` | |
&submitVar=`zayavka` | |
&emailTpl=`MyEmailChunk` | |
&emailTo=`[email protected]` | |
&emailSubject=`Сообщение с сайта website.com` | |
&validate=`phone:required:minLength=^7^, workemail:blank, content:blank` | |
&validationErrorMessage=`В форме содержатся ошибки!` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!pdoPage? | |
&element=`msProducts` | |
&parents=`2` | |
&limit=`8` | |
&tpl=`tpl.msProducts.row.new` | |
&where=`{"Data.popular":"1"}` OR &where=`{"TVpurpose.value:LIKE":"%Text%"}` | |
&includeThumbs=`245x245` | |
]] | |
[[!msProducts? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<title>[[*pagetitle]]. [[#[[UltimateParent? &topLevel=`4`]].longtitle]] - [[++site_name]]</title> | |
<title>[[*seotitle:default=`[[If? &subject=`[[*longtitle]]` &operator=`empty` &then=`[[*pagetitle]]` &else=`[[*longtitle]]`]]`]] - [[++site_name]]</title> | |
<base href="[[++site_url]]" /> | |
<link rel="canonical" href="[[~[[*id]]? &scheme=`full`]]" /> | |
[[!If? &subject=`[[*longtitle]]` &operator=`!empty` &then=`[[*longtitle]]` &else=`[[*pagetitle]] купить в Москве, лучшая цена! Выбрать [[!strtolower? &string=`[[*pagetitle]]`]] в Москве!`]] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select onchange="window.location.href=this.options[this.selectedIndex].value" class="input-search form-control top15"> | |
<option>Поиск по бренду</option> | |
[[!pdoResources? | |
&parents=`11` | |
&resources=`12,13,14,3467,4051,4107,1345,4108,5613,5614,6122,6231` | |
&depth=`0` | |
&tpl=`BrandsRowTpl` | |
&limit=`100` | |
]] | |
</select> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&where=`{"template:!=":"14"}` | |
&where=`{ | |
"isfolder:=": "1" | |
}` | |
&where=`{"Data.popular":"1"}` | |
&where=`{"TVpurpose.value:LIKE":"%Text%"}` | |
&optionFilters=`{"TVwherefore.value:LIKE":253}` | |
&optionFilters=`{"Data.price:<":40000}` | |
&where=`{"TVfilial.value:LIKE":"%[[*id]]%","TVotdelenie.value:LIKE":"%17%"}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# вызов сниппета с формой поиска | |
[[!mSearchForm? | |
&fields=`pagetitle:5,vendor.name:3,content:1,description:1,introtext:1` | |
&minQuery=`2` | |
&pageId=`8` | |
&includeThumbs=`360x270` | |
&element=`mSearch2` | |
&includeTVs=`img` | |
&autocomplete=`results` | |
&onlyIndex=`false` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# форма для подписки | |
[[!Sendex? | |
&id=`1` | |
&tplActivate=`tpl.Sendex.activateX` | |
&tplSubscribeAuth=`tpl.Sendex.subscribe.authX` | |
&tplSubscribeGuest=`tpl.Sendex.subscribe.guestX` | |
&tplUnsubscribe=`tpl.Sendex.unsubscribeX` | |
&id=`1` | |
]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"w":120,"h":90,"q":90,"zc":"0","bg":"fff"}, | |
{"w":400,"h":300,"q":90,"zc":"0","bg":"fff"}, | |
{"w":800,"h":600,"q":90,"zc":"0","bg":"fff","fltr":"wmi|/img/watermark.png"}] | |
1. Для корзины | |
2. Для каталога, немого прямоугольные | |
3. Для карточки товара, watermark делаем на всю ширину (800px) и накладываем вниз картинки | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!msProducts? | |
&parents=`0` | |
&master=`[[*id]]` | |
&link=`3` | |
&toPlaceholder=`` | |
&includeThumbs=`400x300` | |
&tpl=`tpl.msProducts.row | |
&cache=`1` | |
]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="" data-toggle="modal" data-target="#myModalCall" class="callback">Заказать обратный звонок</a> | |
<div class="modal fade bs-example-modal-sm" id="myModalCall" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |
<div class="modal-dialog modal-sm"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | |
<h4 class="modal-title">Запрос обратного звонка</h4> | |
</div> | |
[[!AjaxForm? |
OlderNewer