CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hide image link

Print topic Send  topic

Author Message
Wreckmaster

Posts: 48
Posted: 03/10/2012, 5:23 PM


I have an image link named "reply" I would like to hide this from from visitors but show to logged in users.
I have tried the show-hide but it did not work for me.

thank you

View profile  Send private message
clahti2

Posts: 107
Posted: 03/12/2012, 9:47 AM

Quote Wreckmaster:

I have an image link named "reply" I would like to hide this from from visitors but show to logged in users.
I have tried the show-hide but it did not work for me.

thank you



Assuming your form name is myform, In the before show event of your reply control, custom code
  
if (CCGetUserID() == "") {  
  $myform->$reply->Visible = false;  
}  
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.