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
| <div class="ajax-item"> | |
| <img src="[[+tv.image]]" alt="[[+pagetitle]]"> | |
| <h4>[[+pagetitle]]</h4> | |
| <table> | |
| <tr> | |
| <td>Этаж</td> | |
| <td>[[+tv.floor]]</td> | |
| </tr> | |
| [[+tv.area:isnot=``:then=` | |
| <tr> |
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
| [[!catalogFilter? | |
| &tpl=`tplCatItem` | |
| &limit=`3` | |
| &parents=`5` | |
| &fields=`image,area,floor,garage,price`]] |
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
| <input name="floor" value="0" checked="" type="radio"> | |
| <input name="floor" value="1" type="radio"> | |
| <input name="floor" value="2" type="radio"> | |
| <input name="floor" value="3" type="radio"> |
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
| <?php | |
| //Filter Fields Settings | |
| $filter = array(); | |
| //Radio, Select & Text Fields Type | |
| if($_GET['floor']) { | |
| $filter[] = 'floor='.$_GET['floor']; | |
| } | |
| //Two Text Fields From To |
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
| $(function() { | |
| //MODx pdoResources Ajax Filter | |
| //Filter Settings | |
| var fadeSpeed = 200, // Fade Animation Speed | |
| ajaxCountSelector = '.ajax-count', // CSS Selector of Items Counter | |
| ajaxContainerSelector = '.ajax-container', // CSS Selector of Ajax Container | |
| ajaxItemSelector = '.ajax-item', // CSS Selector of Ajax Item | |
| ajaxFormSelector = '.ajax-form', // CSS Selector of Ajax Filter Form | |
| ajaxFormButtonStart = '.ajax-start', // CSS Selector of Button Start Filtering |
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
| [[Wayfinder? &startId=`[*parent*]`]] |
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
| [[Wayfinder?startId=`6`]] |
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
| [[Wayfinder?startId=`0`]] |
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
| <link rel="shortcut icon" href="[(site_url)]/favicon.ico"/> |
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
| Call the snippet | |
| [[multiCols? | |
| &cols=`2` | |
| &tvs=`{"image":1}` | |
| &select=`pagetitle,introtext` | |
| &where=`{"published":1, "deleted":0, "parent":2}` | |
| &sortby=`publishedon` | |
| &sortdir=`DESC` | |
| &tpl=`tpl_article` |