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

 Hiding an Image Link

Print topic Send  topic

Author Message
smi


Posts: 11
Posted: 08/16/2004, 7:19 AM

I'm attempting to hide an Image Link for menu authorization purposes. I use the following code:

$headerStatus->workflowTab->Visible = False;

This works, but the browser is showing a missing image icon (red X) where the Image Link would have been. I have not made modifications to HTML, and the Extended HTML is checked for the Image Link object.

Anyone had experience with this?
_________________

Security Methods Inc.
http://www.securitymethods.com
View profile  Send private message
DonB
Posted: 08/16/2004, 5:38 PM

Secret CCS feature of the day: "Extended HTML".

Right-click the Imagelink and select Edit ImageLink Layour from the popup
menu. Put a checkmark into the "Extended HTML" option.

This adds "BEGIN" and "END" template elements around the control, so that
you then have a Visible property to work with. Now you can show/hide the
Imagelink.

Let us collectively ask, "Why is this not the default setting?"
--
DonB

http://www.gotodon.com/ccbth


"smi" <smi@forum.codecharge> wrote in message
news:54120c25fd67a3@news.codecharge.com...
> I'm attempting to hide an Image Link for menu authorization purposes. I
use the
> following code:
>
> $headerStatus->workflowTab->Visible = False;
>
> This works, but the browser is showing a missing image icon (red X) where
the
> Image Link would have been. I have not made modifications to HTML, and the
> Extended HTML is checked for the Image Link object.
>
> Anyone had experience with this?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

smi


Posts: 11
Posted: 08/16/2004, 6:42 PM

As I noted in the original message,

Quote :
Extended HTML is checked for the Image Link object

Right now I am replacing the object SRC property image with a clear GIF on BeforeShow, but that's creating a slightly uneven appearance in the menu spacing. I'd much prefer to just have the whole object be skipped. Any other ideas?

Thanks though, Extended HTML is definitely one of those hidden Gotchas that can make you bang your head for awhile.
_________________

Security Methods Inc.
http://www.securitymethods.com
View profile  Send private message
DonB
Posted: 08/17/2004, 7:17 AM

Sure sounds like you have not got the extended html enabled. I guess I'd
check the html itself to be sure it's like this:

<!-- BEGIN ImageLink ImageLink1 -->
<a href="{ImageLink1}"><img src="{ImageLink1_Src}" border="0"></a>
<!-- END ImageLink ImageLink1 -->

And... does "False" evaluate correctly with PHP or should that be "false"?

If it's not these things, then there's more to the problem than you've
described. The red "X" is indicative of the SRC pointing to a non-existent
image file so evidently you're doing something to alter that at the same
time you try to hide the Imagelink.

This might be an issue with 'when" you are setting it not-visible. It has
to be before it's shown, but after it exists (i.e., after the control class
is instantiated).
--
DonB

http://www.gotodon.com/ccbth


"smi" <smi@forum.codecharge> wrote in message
news:54121626aa3250@news.codecharge.com...
> As I noted in the original message,
>
>
Quote :
Extended HTML is checked for the Image Link object
>
> Right now I am replacing the object SRC property image with a clear GIF on
> BeforeShow, but that's creating a slightly uneven appearance in the menu
> spacing. I'd much prefer to just have the whole object be skipped. Any
other
> ideas?
>
> Thanks though, Extended HTML is definitely one of those hidden Gotchas
that can
> make you bang your head for awhile.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.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.