Click here to Skip to main content
15,905,504 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am planning to create one module to display announcement for user of web site.

While the announcement module must be keep showing and then it is also can be programmatically set the visibility of the other module on that page.

For example, users from United Kingdom, United States, and Canada can be only read the announcement and the content of that page which is including other modules (can be more than 2 modules at that page, right?)

At the other hand, visitors who are not from 3 countries mentioned above will only able to read the announcement module, but cannot read other content of that page like other modules must be invisible.

Anyone know how to control or setting the other modules to be visibility?
Posted

1 solution

without know more information please look at the following

to hide it
YourDotNukeModule.visible = false

to show it
YourDotNukeModule.visible = true
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900