CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hide Link Control

Print topic Send  topic

Author Message
datadoit.com
Posted: 04/14/2005, 12:41 PM

PHP4; CCS 2.3

I'd like to be able to hide a link control based on what the current page
is.

Ex:

if ($ThisPage == "index.php") {
$ThisPage->Link_Home->Visible = false;
}

What's the quickest and easiest route?

Thanks.

-MikeR

peterr


Posts: 5971
Posted: 04/14/2005, 3:35 PM

Maybe:
global $FileName;  
if ($FileName == "index.php") { ...}

($FileName is the exact name of the variable used within CCS pages)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
datadoit.com
Posted: 04/14/2005, 7:04 PM

Sweet!

"peterr" <peterr@forum.codecharge> wrote in message
news:5425ef030f419f@news.codecharge.com...
> Maybe:
>
global $FileName;  
> if ($FileName == "index.php") { ...}
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------


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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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