Tags:
create new tag
view all tags

Question

Hi,

I'd like to have an alphabetic index of all topics in a web and on top of that index the alphabet with links. That means e.g. a "F" with an anchor link that leads to the headline "F" where all topics starting with "F" are listed.

Has anybody an idea or a wonderful plugin for that purpose?

I didn't find anything....

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality

-- MarijanaPrusina - 26 Jun 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Here you go: just copy the text below into a topic named something like AlphaTopicList. You could put it in your Main web and then use %INCLUDE{Main.AlphaTopicList}% to add such a list in any other web. I created this using the alpha-list format of TWikiUsers combined with a simple search.

#ListStart
#ListStart
[[%INCLUDINGWEB%.%INCLUDINGTOPIC%#A][A]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#B][B]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#C][C]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#D][D]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#E][E]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#F][F]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#G][G]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#H][H]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#I][I]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#J][J]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#K][K]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#L][L]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#M][M]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#N][N]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#O][O]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#P][P]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#Q][Q]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#R][R]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#S][S]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#T][T]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#U][U]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#V][V]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#W][W]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#X][X]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#Y][Y]] [[%INCLUDINGWEB%.%INCLUDINGTOPIC%#Z][Z]]

   * A - <a name="A">- - - -</a>
%SEARCH{"^[A].*" regex="on" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * B - <a name="B">- - - -</a>
%SEARCH{"^[B].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * C - <a name="C">- - - -</a>
%SEARCH{"^[C].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * D - <a name="D">- - - -</a>
%SEARCH{"^[D].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * E - <a name="E">- - - -</a>
%SEARCH{"^[E].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * F - <a name="F">- - - -</a>
%SEARCH{"^[F].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * G - <a name="G">- - - -</a>
%SEARCH{"^[G].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * H - <a name="H">- - - -</a>
%SEARCH{"^[H].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * I - <a name="I">- - - -</a>
%SEARCH{"^[I].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * J - <a name="J">- - - -</a>
%SEARCH{"^[J].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * K - <a name="K">- - - -</a>
%SEARCH{"^[K].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * L - <a name="L">- - - -</a>
%SEARCH{"^[L].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * M - <a name="M">- - - -</a>
%SEARCH{"^[M].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * N - <a name="N">- - - -</a>
%SEARCH{"^[N].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * O - <a name="O">- - - -</a>
%SEARCH{"^[O].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * P - <a name="P">- - - -</a>
%SEARCH{"^[P].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * Q - <a name="Q">- - - -</a>
%SEARCH{"^[Q].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * R - <a name="R">- - - -</a>
%SEARCH{"^[R].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * S - <a name="S">- - - -</a>
%SEARCH{"^[S].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * T - <a name="T">- - - -</a>
%SEARCH{"^[T].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * U - <a name="U">- - - -</a>
%SEARCH{"^[U].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * V - <a name="V">- - - -</a>
%SEARCH{"^[V].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * W - <a name="W">- - - -</a>
%SEARCH{"^[W].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * X - <a name="X">- - - -</a>
%SEARCH{"^[X].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * Y - <a name="Y">- - - -</a>
%SEARCH{"^[Y].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%
   * Z - <a name="Z">- - - -</a>
%SEARCH{"^[Z].*" type="regex" scope="topic" web="%BASEWEB%" nonoise="on" format="   * $topic" }%

-- LynnwoodBrown - 26 Jun 2007

That is exactly what I was looking for. Thanks a lot! That's great smile

-- MarijanaPrusina - 10 Jul 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-07-31 - MarijanaPrusina
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.