Re: UdmSearch: using $if meta symbol

2001-02-14 Thread Damon Tkoch

Hello,
As a workaround to this problem I've been creating symlinks from 
udmsearch/etc/ to wherever I'm keeping my includes.  It's worked so 
far, although I agree that the ability to specify an absolute path 
would be nice.

-Damon

- Original Message -
From: Alexander Barkov [EMAIL PROTECTED]
Date: Thursday, February 15, 2001 4:40 am
Subject: Re: UdmSearch: using $if meta symbol

 DK wrote:
  
  Greetings.
  
  In the doc file I've read  "You can use
  $if(another_template_file_name) meta symbol..."
  
  Can I use absolute path as "$if" argument? When I try to use $if 
 I get
  error message that says "Unable to include
  '/usr/local/mnogosearch/etc//path/filename'". Why does 
 '/usr/local/mnogosearch/etc/' precede the
  '/path/filename' I give.
  
 
 
 It seems that include uses related to /etc/ directory path.
 We'll take a look how to make it to accept absolute paths like
 it is implemented in indexer.conf includes.
 __
 If you want to unsubscribe send "unsubscribe udmsearch"
 to [EMAIL PROTECTED]
 
 

__
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]




RE: UdmSearch: server-side includes in search results

2000-11-16 Thread Damon Tkoch

Sergey,
Thanks for the help.  I've almost gotten it to work.

Is there some special format for the include file?  when I include a file
"test" with the following text:

Ptest/P

by using
!-- start include test --
$IF(test)
!-- end include test --

then all I see in my browser is a blank line between the start and end
comments.  I know it's reading the file because if I put in an incorrect
file path:  $IF(bad/path/to/test) then I get this error:
Unable to include '/usr/local/udmsearch/etc/bad/path/to/test'

Any idea what I'm doing wrong?

Thanks,
Damon


-Original Message-
From: Sergey Kartashoff [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 11:46 PM
To: Damon Tkoch
Cc: [EMAIL PROTECTED]
Subject: Re: UdmSearch: server-side includes in search results


Hi!

Wednesday, November 15, 2000, 2:50:43 AM, you wrote:

DT I have one question:  I want to include html snippets into the search
and
DT results page:  something like what apache's mod_include does with
DT !--#include virtual="/header.ssi"--.

DT These include files change quite frequently, so I would rather not copy
them
DT into the body of the search.htm template.  Is there an easy way (or
DT not-so-easy way) to do this?

Use $IF(file.name) search template directive.

--
Regards, Sergey aka gluke.


__
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]