Produced by Araxis Merge on 2023-03-13 03:01:08 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates | custom_block.phtml | 2021-06-12 08:01:12 +0000 |
| 2 | Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates | custom_block.phtml | 2021-06-12 08:01:12 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 60 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $sidebar_sticky = $this->getConfig('porto_settings/general/sidebar_sticky'); | 2 | $sidebar_sticky = $this->getConfig('porto_settings/general/sidebar_sticky'); | |||
| 3 | $block_view = $this->getConfig('porto_settings/general'); | 3 | $block_view = $this->getConfig('porto_settings/general'); | |||
| 4 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | 4 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | |||
| 5 | if($block) { | 5 | if($block) { | |||
| 6 | $block->setBlockId($block_view['sidebar_second_block']); | 6 | $block->setBlockId($block_view['sidebar_second_block']); | |||
| 7 | } | 7 | } | |||
| 8 | if($block){ ?> | 8 | if($block){ ?> | |||
| 9 | <div class="side-custom-block"> | 9 | <div class="side-custom-block"> | |||
| 10 | <?php echo $block->toHtml(); ?> | 10 | <?php echo $block->toHtml(); ?> | |||
| 11 | </div> | 11 | </div> | |||
| 12 | <?php if($sidebar_sticky): ?> | 12 | <?php if($sidebar_sticky): ?> | |||
| 13 | <script type="text/javascript"> | 13 | <script type="text/javascript"> | |||
| 14 | require([ | 14 | require([ | |||
| 15 | 'jquery', | 15 | 'jquery', | |||
| 16 | 'themeSticky' | 16 | 'themeSticky' | |||
| 17 | ], function ($) { | 17 | ], function ($) { | |||
| 18 | $(".sidebar.sidebar-second .side-custom-block").themeSticky({ | 18 | $(".sidebar.sidebar-second .side-custom-block").themeSticky({ | |||
| 19 | autoInit: true, | 19 | autoInit: true, | |||
| 20 | minWidth: 992, | 20 | minWidth: 992, | |||
| 21 | containerSelector: '.page-main .columns', | 21 | containerSelector: '.page-main .columns', | |||
| 22 | autoFit: true, | 22 | autoFit: true, | |||
| 23 | paddingOffsetBottom: 10, | 23 | paddingOffsetBottom: 10, | |||
| 24 | paddingOffsetTop: 60 | 24 | paddingOffsetTop: 60 | |||
| 25 | }); | 25 | }); | |||
| 26 | }); | 26 | }); | |||
| 27 | </script> | 27 | </script> | |||
| 28 | <?php endif; ?> | 28 | <?php endif; ?> | |||
| 29 | <?php } | 29 | <?php } | |||
| 30 | ?> | 30 | ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.