File: icupgrade_22.html

package info (click to toggle)
interchange-doc 4.8.3-1
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 17,396 kB
  • ctags: 4,509
  • sloc: makefile: 46
file content (53 lines) | stat: -rw-r--r-- 1,704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!doctype html public "-//W30//DTD W3 HTML 2.0//EN">

<HTML>

<!-- This file was generated using SDF 2.001 by
     Ian Clatworthy (ianc@mincom.com). SDF is freely
     available from http://www.mincom.com/mtr/sdf. -->

<HEAD>
<TITLE>Interchange Upgrade Guide: Search lists</TITLE>
</HEAD>
<BODY BGCOLOR="ffffff" LINK="993333">

<DIV CLASS="header">
<DIV CLASS="navigate">
<UL ALIGN="Center">
<A HREF="icupgrade_16.html">Parent Topic</A> | <A HREF="icupgrade_21.html">Previous Topic</A> | <A HREF="icupgrade_23.html">Next Topic</A> <BR><A HREF="../index.html" TARGET="_top">Catalog</A></UL>
</DIV>
</DIV>
<DIV CLASS="main">
<H2>4.6. Search lists</H2>
<UL>
Search tags must now be surrounded by [search-region] [/search-region]. This is because multiple searches can be done in a page, with multiple [more-list] entries, multiple [no-match] areas, etc. It was not really possible to avoid this and add the feature.
<BR>
To find all files containing the search list, do:</UL>
<PRE>
    find pages -type f | xargs grep -l '\[search.list'
</PRE>
<UL>
That will yield a set of files that need to be updated. You should surround all parts of the search area, i.e.:</UL>
<PRE>
        [search-region]
    
        [search-list]
            your search iteration stuff, [item-code], etc.
        [/search-list]
    
        [more-list]
            [more]
        [/more-list]
    
        [/search-region]
</PRE>
</DIV>
<DIV CLASS="footer">
<DIV CLASS="navigate">
<UL ALIGN="Center">
<A HREF="icupgrade_16.html">Parent Topic</A> | <A HREF="icupgrade_21.html">Previous Topic</A> | <A HREF="icupgrade_23.html">Next Topic</A> <BR><A HREF="../index.html" TARGET="_top">Catalog</A></UL>
</DIV>
</DIV>

</BODY>
</HTML>