navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Presenting Hyperlinks In A Frontpage Results Region

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Presenting Hyperlinks In A Frontpage Results Region
Page: [1]
 
™Harlequin

 

Posts: 14
Joined: 2/18/2004
Status: offline

 
Presenting Hyperlinks In A Frontpage Results Region - 2/18/2004 16:22:34   
As a Newbie to the site I've found the posts very helpful and surprised at the level of detail people go into when explaining themselves.

So, Here Goes . . .

I have a site under construction (http://80.6.16.96/Property) and i am presenting the results of an MS Access database in a frontPage ASP page. However, despite setting the field property in the database as HTML it simply appears as raw text in the ASP page even though I've set the field value as "Contains HTML".

If you take a brief look you'll see what I mean. I even tried converting the database field back to text hoping FrontPage would present it as a hyperlink because of the "http..." value but to no avail.

I really would welcome any fresh insight as i've been messing around with this for weeks and want to launch the site proper.

< Message edited by ™Harlequin -- 2/18/2004 16:23:18 >
BeTheBall

 

Posts: 6362
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Presenting Hyperlinks In A Frontpage Results Region - 2/18/2004 17:44:37   
If you look at the HTML for your page find the code that displays the "Page" field in your database. It should look something like this, in red:

<%=FP_FieldHTML(fp_rs, "Page")%> or <%=FP_FieldVal(fp_rs, "Page")%>

Your problem should be corrected by changing the above to:

<%=FP_Field(fp_rs, "Page")%>

However, you may (probably will) need to diet the excess code inserted by FP prior to making the above change. Instructions for dieting the code are in the link in my signature.

Good luck and welcome to OutFront!

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to ™Harlequin)
™Harlequin

 

Posts: 14
Joined: 2/18/2004
Status: offline

 
RE: Presenting Hyperlinks In A Frontpage Results Region - 2/19/2004 11:20:41   
Thanks for the prompt response Duane.

I tried substituting the code but the field remained the same when i published.

the actual URL of the updated page is:

http://80.6.16.96/property/properties/rentals/index1.asp

Thanks Again . . . !

(in reply to BeTheBall)
BeTheBall

 

Posts: 6362
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Presenting Hyperlinks In A Frontpage Results Region - 2/19/2004 12:20:23   
If the code reverted back, then you must not have dieted the page. Follow the instruction in the following link and try again:

http://www.outfront.net/spooky/adv_drw_diet.htm

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to ™Harlequin)
™Harlequin

 

Posts: 14
Joined: 2/18/2004
Status: offline

 
RE: Presenting Hyperlinks In A Frontpage Results Region - 2/21/2004 18:42:44   
Tried what you suggested mate - no joy. Then tried the code diet macro - worked a treat at tifying up the code but the URL still didn't display as a hyperlink.

I'm working on some VB over the next few days so will come back to this with a fresh mind soon. Thanks for your help and any further suggestions would be welcome. The page is still on my server.

(in reply to BeTheBall)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Presenting Hyperlinks In A Frontpage Results Region - 2/21/2004 19:28:04   
Use :

<A href="<%=FP_Field(fp_rs, "Page")%>"><%=FP_Field(fp_rs, "Page")%> </a>

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to ™Harlequin)
BeTheBall

 

Posts: 6362
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: Presenting Hyperlinks In A Frontpage Results Region - 2/21/2004 21:44:05   
quote:

Use :

<A href="<%=FP_Field(fp_rs, "Page")%>"><%=FP_Field(fp_rs, "Page")%> </a>


Doh! What he said. :)

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Presenting Hyperlinks In A Frontpage Results Region
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts