in case any one cares.
i got it

<TD> 
                        <cfif Custom2 IS NOT "">
                <B>DB :: </B><a
href="#Custom2##CUSTOM1#&Criteria=#Criteria#"> #Criteria#</A></TD> 
                <CFELSE>
                
        <CFIF UseURLPath>
        <!--- URL parameter from cfsearch contains URL path info --->
        <CFSET href = Replace(URL, " ", "%20", "ALL")>
        <CFELSE>
        <!--- ... else use OpenFile to return the file --->
        <CFSET href =
"search_VOpenFile.cfm?serverFilePath=#URLEncodedFormat(Key)#">
        </CFIF>

<CFIF href CONTAINS "Monograph/">
<!--- 
I need to grab the directory name after Monograph? 
How would i use a wild card to grab the name to set a param?
--->
Mono ::
<B>#GetToken(href, 5, "/")# </B><BR>
<A
HREF="http://127.0.0.1/Inhouse/Monograph/default.asp?monograph=#GetToken(hre
f, 5, "/")#">#GetToken(href, 5, "/")#</A>
<CFELSE>
<A href="#href#">#GetFileFromPath(Key)#</A> 
</CFIF>
        </CFIF>
                                </TD>

-paul

Web Developer, NBBJ
Work:   [EMAIL PROTECTED]
        614 241-3534
fax:    614 485-5534

Home:   [EMAIL PROTECTED]
        614 449-1681

> icq:  47658358
> 
> -----Original Message-----
> From: Paul Ihrig [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 10:00 AM
> To:   CF-Talk
> Subject:      RE: Verity :: ASP :: Help Needed Badly
> 
> how do i get the directory name after Monograph?
> i through in the % because i think its a wild card?
> how do i grab the name for my cfparam?
> 
> thank you
> -paul
> 
> <CFIF href CONTAINS "http://127.0.0.1/Inhouse/Monograph/%900408.00/">
> <!--- 
> I need to grab the directory name after Monograph? 
> How would i use a wild card to grab the name to set a param?
> --->
> <CFPARAM NAME="MonoNum" VALUE="???The Number after Monograph????">
> <A
> HREF="http://127.0.0.1/Inhouse/Monograph/default.asp?monograph=#MonoNum#">
> #M
> onoNum#</A>
> <CFELSE>
> <A href="#href#">#GetFileFromPath(Key)#</A> 
> </CFIF>
> 
> -paul
> 
> Web Developer, NBBJ
> Work:         [EMAIL PROTECTED]
>       614 241-3534
> fax:  614 485-5534
> 
> Home:         [EMAIL PROTECTED]
>       614 449-1681
> 
> > icq:        47658358
> > 
> > -----Original Message-----
> > From:       Paul Ihrig [SMTP:[EMAIL PROTECTED]]
> > Sent:       Monday, February 26, 2001 9:31 AM
> > To: CF-Talk
> > Subject:    RE: Verity :: ASP :: Help Needed Badly
> > 
> > ok another question.
> > on my search result for 900408 of the asp app in verity
> > 
> > i get this link. which is just the dumb text file
> >
> http://127.0.0.1/Inhouse/Monograph/900408.00/Project%20Descriptions/projec
> > t_
> > data.txt
> > 
> > instead of seeing the text file on the link in want to force it to
> > 
> > http://127.0.0.1/Inhouse/Monograph/default.asp?monograph=900408%2E00
> > 
> > so is there a way to write a CFIF statment that if the resulting file is
> > in
> > the subdirectory Monograph,
> > then grab the next directory down name & append it to the resulting url?
> > 
> > i would have to put this in the results page for the Verity search.
> > 
> > again  any help would be great!
> > 
> > -paul
> > 
> > Web Developer, NBBJ
> > Work:       [EMAIL PROTECTED]
> >     614 241-3534
> > fax:        614 485-5534
> > 
> > Home:       [EMAIL PROTECTED]
> >     614 449-1681
> > 
> > > icq:      47658358
> > > 
> > > -----Original Message-----
> > > From:     Paul Ihrig [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Monday, February 26, 2001 8:41 AM
> > > To:       CF-Talk
> > > Subject:  Verity :: ASP :: Help Needed Badly
> > > 
> > > Good morning.
> > > i need some help.
> > > i know little to nothing about asp.
> > > 
> > > i have just set up verity on 5 db apps & our intranet, which is
> mostley
> > > CF.
> > > but there is one thing there i am not sucessful with.
> > > 
> > > it is an ASP app writen by our west coast group.
> > > it uses includes.
> > > 
> > > it basically lets users set up there own site based on project number.
> > > no db, just static directories, txt files & images.
> > > they copy the info into there directorys & instant page.
> > > 
> > > i cant search on these though?
> > > all the content is in seperat text files.
> > > 
> > > the main asp page is what pulls these directories in to make links.
> > > 
> > > can any one who knows asp & verity pleaase help me learn how to do
> this
> > > right?
> > > i told my maneger that i didnt write it & he should get the west coast
> > to
> > > solve there own problems, but this is not an option for me now.
> > > 
> > > i want to do this right, then find another job!
> > > can send the source asp code.
> > > 
> > > 
> > > -paul
> > > 
> > > Web Developer, NBBJ
> > > Work:     [EMAIL PROTECTED]
> > >   614 241-3534
> > > fax:      614 485-5534
> > > 
> > > Home:     [EMAIL PROTECTED]
> > >   614 449-1681
> > > 
> > > > icq:    47658358
> > > 
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to