Adobe Dreamweaver Forums



Last 10 THreads :         Help need div to expand to height of browser (Last Post : Tim G - Replies : 1 - Views : 2 )           »          how do I add a table to a preformed template that I got? (Last Post : mb007inc - Replies : 0 - Views : 1 )           »          Downloading from Flash (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          Checking which button is clicked (Last Post : NedWebs - Replies : 3 - Views : 4 )           »          Trouble with SQL Query Tool on Leopard (Last Post : pdenlinger - Replies : 6 - Views : 7 )           »          Fireworks CS3 or CS4 and Vista 64 bit O.S. (Last Post : Alex Marino - Replies : 1 - Views : 2 )           »          Spry Accordion (Last Post : Ken Ford - *ACE* - Replies : 3 - Views : 8 )           »          Event listener (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          action script for button (Last Post : melanro - Replies : 4 - Views : 10 )           »          Problems with variables (Last Post : Rob Dillon - Replies : 1 - Views : 2 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-08-2008, 02:52 PM
brianism
 
Posts: n/a
Diggs:
Default verity results question

Running CFMX7, my verity collection works great, but when I output the results
below I get the whole server path to the file instead of just the file name.
Anyone know why?

<cfoutput query="FindItems"><a href="#FindItems.url#"
TARGET="_blank">#FindItems.title#</a></cfoutput>



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-08-2008, 09:01 PM
cputnam14
 
Posts: n/a
Diggs:
Default Re: verity results question

Try it like this and see if that works
<cfoutput query="FindItems">
<a href="#url#" TARGET="_blank">#title#</a>
</cfoutput>

Reply With Quote
  #3 (permalink)  
Old 10-09-2008, 02:53 AM
Azadi
 
Posts: n/a
Diggs:
Default Re: verity results question

unless you are using vspider to crawl and index your site, Verity will
treat the files as files on disk, not as webpages of your site. it will
even index the source code of your pages, not the rendered output.

you could try using replace() function on the #url# var to replace the
relevant part of the file path with corresponding web path
http://www.yourdomain.com/ ...

for example, if the url returned is "C:\Inetpub\wwwroot\somesite\index.cfm
you could do
#replacenocase(url, "C:\Inetpub\wwwroot\somesite\",
"http://www.somesite.com/")#

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk