Quote from: mixa_ru at Mar 06, 2015, 01:07 AMHi!
Show your code please.
How exactly you try to do this.
I didn't include code because it's not a code issue. The header functions outside of the Interchange plugin, but does not when passed to the template by the plug-in. However, since you asked...
This is the header chunk. It pulls in values set globally by the site editor using fastField, and as you can see sets conditions based on the current resource. It also pulls in a jquery slider built from MIGX and called by getImageList. None of the output filters, system tags, or snippet calls are processed when passed through Interchange.
<div class="row">
<div class="small-12 [[*id:is=`1`:then=`small-centered`]] column banner">
[[*id:is=`1`:then=`<video loop="true" autoplay="true">
<source src="[[#7.videoFile_mp4]]" type="video/mp4">
<source src="[[#7.videoFile_ogv]]" type="video/ogv">
<source src="[[#7.videoFile_webm]]" type="video/webm">
<img src="[[#7.videoAltImg]]">
</video>`]]
[[*id:is=`3`:then=`<img src="[[#7.servicesBannerImage:default=`assets/uploads/low.jpg`]]">`]]
[[*id:is=`4`:then=`<img src="[[#7.aboutBannerImage:default=`assets/uploads/low.jpg`]]">`]]
[[*id:is=`5`:then=`<img src="[[#7.projectsBannerImage:default=`assets/uploads/low.jpg`]]">`]]
[[*id:is=`6`:then=`<img src="[[#7.contactBannerImage:default=`assets/uploads/low.jpg`]]">`]]
[[*id:is=`8`:then=`<img src="[[#7.contactBannerImage:default=`assets/images/low.jpg`]]">`]]
</div><!--end banner-->
<section class="row video">
<div class="[[*id:is=`1`:then=`small-6 columns`:else=`nonHomeLogo group`]]">
<div class="small-7 column right clearfix">
<a href=[[~[[++site_start]]]] title="STG Property"><img class="logo" src="[[#7.siteLogo]]" alt="[[#7.siteLogoAltText:default=`STGProperty is a property management company in Portland, OR`]]">
<h5>[[#7.siteTagLine]]</h5></a>
</div>
</div>
[[*id:is=`1`:then=`<div class="slider small-4 columns end">
<ul data-orbit data-options="animation:'fade';timer_speed:5000;animation_speed:300;pause_on_hover: true;resume_on_mouseout: true;navigation_arrows: false;slide_number: false;bullets: false;timer: true;variable_height: true;">
[[!getImageList? &docid=`5` &tvname=`projects` &where=`{"projectFeatured":"yes"}` &limit=`6` &tpl=`homeCarousel`]]
</ul>
</div>`]]
</section>
</div>
When using Interchange, this is the basic structure:
<div data-interchange="[../examples/interchange/default.html, (small)], [../examples/interchange/medium.html, (medium)], [../examples/interchange/large.html, (large)]">
<div data-alert class="alert-box secondary radius">
This is the default content.
<a href="#" class="close">×</a>
</div>
</div>
I have tried calling the header as an html file, as specified about, and as chunks in place of the file path. As mentioned, nothing is processed.