Tags:
create new tag
, view all tags
I'm trying to create a web in which certain content of child topics is automatically included in the parent topic. For example: I have a People page that lists contact info and a basic bio extracted from each person's topic page, and what I would like, is that every time a new person joins the wiki and creates their own topic page, their info is included on the People page. I know I can do this fairly easily with a javascript, but is there some way to do it with TWiki code?

-- Contributors: CarlMcKinney - 08 Aug 2006

Discussion

This is a typical application for a VarSEARCH with FormattedSearch. See sample applications TWikiInstallations and ChangeRequest.

-- PeterThoeny - 08 Aug 2006

Help! I've been playing with this for two weeks and I can't get it to work. Is there something wrong with this search string?

%SEARCH{ "[T]opicClassification.*value\=.*[P]eople\"" scope="text" regex="on" nosearch="on" nototal="on" format=" | $formfield(Name) $n() $formfield(University) $n() $formfield(Department) $n() $formfield(Address) $n() $formfield(City) $n() $formfield(State) $n() $formfield(Zip) $n() $formfield(Phone) $n() $formfield(Fax) $n() $formfield(Email) $n() $formfield(Website) | $formfield(Description) |" }%

-- CarlMcKinney - 23 Aug 2006

 
Topic revision: r3 - 2006-08-23 - CarlMcKinney
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.