Tags:
create new tag
view all tags
%TOPICSBOX% is a dropdownbox with all available topics in the current web, except those listed in wiki::hiddenTopics. This dropdownbox requires javascript (it uses the onchange event). You can't replace the current 'goto' entryfield with this dropdownbox, because the current entryfield is also used to create a (at that moment unlinked) topic. Unless of course you a) don't want any unlinked topics on your TWiki or b) you offer an other means to create new topics.
See UniqueTopicTemplates for a proposed enhancement which can be used to create new (unlinked) topics without using the goto entryfield.

%TOPICSBOX% is replaced in wiki::handleCommonTags(); it uses wiki::createTopicDropdown() and (indirectly) wiki::getTopicList() to create the dropdownbox. The latter two functions are added to wiki.pm

First time using CVS, diff & patch, so I hope I did everything right and uploaded some useable patches smile

-- PeterFokkinga - 15 May 2000


Could this all be done using the tag extension functions in wikicfg.pm if &createTopicDropdown and &getTopicList were added there also?

-- KevinKinnell - 08 Jun 2000


Yes, that would be possible. However, I think that if this feature is included in the main distribution then it should go to wiki.pm This would make the purpose of wikicfg.pm less ambiguous (only local stuff).

Also %TOPICSSELECTOR% would be a better name than %TOPICSBOX% (keeping it consistent with the dropdownboxes from SearchAllTWikiWebs )

-- PeterFokkinga - 09 Jun 2000


related topics: InterfaceClutter
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff wiki.pm.diff   manage 2.7 K 2000-05-15 - 20:43 UnknownUser diff against 20000501 release
Unknown file formatdiff wikicfg.pm.diff   manage 1.3 K 2000-05-15 - 20:46 UnknownUser diff against 20000501 release
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-11-03 - RafaelAlvarez
 
  • 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.