Posted By

johnloy on 01/16/09


Tagged

textmate expression-engine


Versions (?)

Example Expression Engine conditional to put edit button on public site for site publishers


 / Published in: Other
 

  1. {if member_group==6 OR member_group ==1 OR member_group==5}
  2. <div class="editbnt"><a href="{site_url}/system/index.php?S=0&C=edit&M=edit_entry&weblog_id={weblog_id}&entry_id={entry_id}">edit</a></div>
  3. {/if}

Report this snippet  

You need to login to post a comment.