javascript - Hide or show a div element based on IP address -


Is it possible, to create Apache, Javascript, or CSS (or something in the plan for that matter) ) & Lt; Div & gt; Is IP address visible only for a certain category?

The code below I want to be available for a certain category IP address:

   

Ideally, I will only see it from 3 set IP addresses.

  Allow order, refuse to deny, allow, allow allow, to control access to Apache, but on the whole site, the following restrictions (IP addresses change) Given) are a separate site. Permission from 000.0.00 to 000.0.01, deny the order, Allow anyone to reject  

The purpose of this is to allow anyone to send a pop-up login (or login page ) To access the site from within a certain location even if I hide any person who does not reach the IP address limit only then "user" div (not the login button) If so Oga. Thank you

You can use to explicitly specify a group for viewers Optimize your Plone template, and then customize your Plone template so that your div is conditional on that group (and for your last problem, we should probably file a feature request that "can log" should be tied with permission, Anonymously by default.)

FWIW, work And, we have / restricted login / / Login_prrup apache config.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -