rmahon
Posts: 3
|
| Posted: 09/18/2004, 8:31 AM |
|
Any one know how to add target = _blank to a database URL?
Thanks
Ron
|
 |
 |
Walter Kempees
|
| Posted: 09/18/2004, 1:51 PM |
|
please explain.
You mean an URL that was stored in a database record?
Output to a grid or Form?
Properties of the label, set type HTML, HTML prperties set target to _blank.
Walt
"rmahon" <rmahon@forum.codecharge> schreef in bericht
news:5414c54e9b81fc@news.codecharge.com...
> Any one know how to add target = _blank to a database URL?
>
> Thanks
> Ron
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
klwillis
Posts: 428
|
| Posted: 09/20/2004, 1:16 PM |
|
You'll have to add that within the HTML
Quote rmahon:
Any one know how to add target = _blank to a database URL?
Thanks
Ron
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
rmahon
Posts: 3
|
| Posted: 09/20/2004, 4:05 PM |
|
Yes I trying to do it programmatically. By building a string and concating them together in an event, maybe before show.
No luck, but I seem to remember doing this several years ago in plan cc.
Seams I did this several years ago with a old version of cc. Right now I’m brain dead and can’t get
Ron
|
 |
 |
rmahon
Posts: 3
|
| Posted: 09/24/2004, 8:51 AM |
|
Ok some time we all do dumb things! The page propertywas the answer
<?php
//BindEvents Method @1-EE6FF2D5
function BindEvents()
{
global $detail;
$detail->web_url->CCSEvents["BeforeShow"] = "detail_web_url_BeforeShow";
}
//End BindEvents Method
//detail_web_url_BeforeShow @34-54E603DC
function detail_web_url_BeforeShow()
{
$detail_web_url_BeforeShow = true;
//End detail_web_url_BeforeShow
//Custom Code @37-2260A674
// -------------------------
global $detail;
$detail->web_url->Page=$detail->web_url->Value . "\" target =\"_blank";
// -------------------------
//End Custom Code
//Close detail_web_url_BeforeShow @34-CA16E810
return $detail_web_url_BeforeShow;
}
//End Close detail_web_url_BeforeShow
?>
One line of code mad it fly
|
 |
 |