Created
November 28, 2013 09:28
-
-
Save anonymous/7689336 to your computer and use it in GitHub Desktop.
EE Switch within Matrix tag pair not working
This file contains 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="thumbnailWrap"> | |
{exp:channel:entries channel='profile-entry' disable="member_data|pagination|categories" orderby="surname" sort="asc" dynamic="no"} | |
{services_new search:parent="{segment_3}"} | |
<a href="{site_url}our-people/{url_title}" class="{switch="col4 firstfour firstthree firsttwo|col4|col4 firsttwo|col4 firstthree|col4 firstfour firsttwo|col4|col4 firstthree firsttwo|col4|col4 firstfour firsttwo|col4 firstthree|col4 firsttwo|col4"}"> | |
<img src="{profile-portrait}" alt="{title} Profile Picture" width="100%" /> | |
<h3>{title}</h3> | |
<h3 class="title">{profile-position}</h3> | |
</a> | |
<div class="{switch="|clearFixTwo|clearFixThree|clearFixTwo||clearFixTwo||clearFixTwo|clearFixThree|clearFixTwo||clearFixFour"}"></div> | |
<div class="{switch="|||clearFixFour||clearFixThree||clearFixFour||||clearFixThree"}"></div> | |
<div class="{switch="|||||||||||clearFixTwo"}"></div> | |
{/services_new} | |
{/exp:channel:entries} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment