title: Add a link to Magento's My Account Page Conditionally
body: <p>I would like to create a link on the My Account page that only get displays under certain conditions.</p>
  
  <p>Right now I have the link display all the time by adding the following entry to my layout XML file:</p>
  
  <pre><code>&lt;customer_account&gt;
      &lt;reference name="customer_account_navigation"&gt;
          &lt;action method="addLink" translate="label" module="nie"&gt;&lt;name&gt;nie&lt;/name&gt;&lt;path&gt;nie&lt;/path&gt;&lt;label&gt;NIE Admin&lt;/label&gt;&lt;/action&gt;
      &lt;/reference&gt;
  &lt;/customer_account&gt;
  </code></pre>
  
  <p>I am assuming there is a way to code this so that it only displays under certain circumstances.</p>