ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to write the following conditional in the {exp:structure:nav_advanced} tag in ExpressionEngine 3.4.3:

<a href="{if child:redirect_page_external}{child:redirect_page_external}{if:else}{child:page_url}{/if}" 
{if root:redirect_page_external && root:redirect_page_external != '#'} target="_blank"{/if}>{child:title}</a>

Specifically referring to {if root:redirect_page_external && root:redirect_page_external != '#'}

Am I missing something in that conditional or possible anyone else has experienced same issue?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.