[docs] docs - racke modified icconfig.sdf

docs@interchange.redhat.com docs@interchange.redhat.com
Wed Jan 9 11:58:01 2002


User:      racke
Date:      2002-01-09 16:57:08 GMT
Modified:  .        icconfig.sdf
Log:
add another example to Autoload description
make sure we remember this wicked SpecialPage=>Special mapping

Revision  Changes    Path
1.55      +20 -2     docs/icconfig.sdf


rev 1.55, prev_rev 1.54
Index: icconfig.sdf
===================================================================
RCS file: /anon_cvs/repository/docs/icconfig.sdf,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- icconfig.sdf	2002/01/03 00:06:44	1.54
+++ icconfig.sdf	2002/01/09 16:57:08	1.55
@@ -1,10 +1,10 @@
 !init OPT_LOOK="akopia"; OPT_STYLE="manual"
-# $Id: icconfig.sdf,v 1.54 2002/01/03 00:06:44 jon Exp $
+# $Id: icconfig.sdf,v 1.55 2002/01/09 16:57:08 racke Exp $
 
 !define DOC_NAME "Configuration Reference"
 !define DOC_TYPE ""
 !define DOC_CODE "icconfig"
-!define DOC_VERSION substr('$Revision: 1.54 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.55 $',11, -2)
 !define DOC_STATUS "Draft"
 !define DOC_PROJECT "Interchange"
 !define DOC_URL "http://interchange.redhat.com/doc/icadvanced.html"
@@ -1090,6 +1090,24 @@
 !block example
    Autoload   [perl] $CGI->{mv_nextpage} =~ s:^private/:public/:; [/perl]
 !endblock
+
+You can temporarily change any of the catalog configuration settings,
+for example use a different flypage.
+
+!block example
+   Autoload	  <<EOA
+   [perl] 
+   if ($Session->{browser} =~ /msie/i) {
+      $Config->{Special}->{flypage}='ms_flypage'};
+   }
+   [/perl]
+   EOA
+!endblock
+
+Please note that C<SpecialPage> is the corresponding directive in 
+the catalog configuration, not C<Special>. This is an exceptional case.
+Usually the hash key has the same name as the catalog configuration
+directive.
 
 H2: AutoModifier