CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Database External Link goes to My Website

Print topic Send  topic

Author Message
maxhugen

Posts: 272
Posted: 04/04/2008, 9:08 PM

I'm storing an external URL in a MySQL table 'Person', field 'PractWebsiteURL', type varchar.

After creating a Grid, I changed the url field in the Grid to a Link. It looks like this:

<a href="{PractWebsiteURL_Src}">{PractWebsiteURL}</a>

However, every link in the Grid pointed to my own website instead!

In searching the forum, I found http://forums.yessoftware.com/posts.php?post_id=89930 , from this I changed the link property 'Preserve parameters' from GET to None, it didn't help.

After re-reading CCS Help > Links, I changed the property 'Href Type' from Page to Database. Also changed 'Href Source' to use 'Address from database' (field 'PractWebsiteURL') for the link.

Now the link points to www.myWebsite.com/www.targetWebsite.com ... so I'm getting there, but not quite.

Can anyone point what else I've missed pls?
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
DonB
Posted: 04/05/2008, 6:13 AM

They are treated as relative links unless you include the http:// part.

--
DonB



"maxhugen" <maxhugen@forum.codecharge> wrote in message
news:547f6fb3ea6e5a@news.codecharge.com...
> I'm storing an external URL in a MySQL table 'Person', field
> 'PractWebsiteURL',
> type varchar.
>
> After creating a Grid, I changed the url field in the Grid to a Link. It
> looks
> like this:
>
>
<a href="{PractWebsiteURL_Src}"  
> id="PractitionerListPractWebsiteURL_{PractitionerList:rowNumber}">{PractWebsiteURL}</a>
>
> However, every link in the Grid pointed to my own website instead!
>
> In searching the forum, I found
> http://forums.yessoftware.com/posts.php?post_id=89930 , from this I
> changed the
> link property 'Preserve parameters' from GET to None, it didn't help.
>
> After re-reading CCS Help > Links, I changed the property 'Href Type' from
> Page
> to Database. Also changed 'Href Source' to use 'Address from database'
> (field
> 'PractWebsiteURL') fro the link.
>
> Now the link points to www.myWebsite.com/www.targetWebsite.com ... so I'm
> getting there, but not quite.
>
> Can anyone point what else I've missed pls?
> _________________
> Max
> (99.9% CCS Newbie)
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>

maxhugen

Posts: 272
Posted: 04/05/2008, 5:05 PM

Sheeesh! Such a simple answer! Many thanks Don!
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
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.