Return to Snippet

Revision: 30191
at August 16, 2010 18:38 by gerhardsletten


Updated Code
{if eq( current_siteaccess(), 'nor' )}
{/if}

{def $ip_arr = array('80.64.196.182','109.189.147.151','213.158.225.162')}
{if $ip_arr|contains( server('remote_addr') )}
{*Contant only visible for some ip's*}
{/if}

Revision: 30190
at August 9, 2010 21:52 by gerhardsletten


Initial Code
{if eq( current_siteaccess(), 'nor' )}
{/if}

{if server('remote_addr')|eq('80.64.196.182')}
{/if}

Initial URL

                                

Initial Description

                                

Initial Title
Check either siteaccess or ip with Swark in Ez publish

Initial Tags

                                

Initial Language
eZ Publish