Tags:
create new tag
, view all tags
Offshoot of 4.0.3 with (primarily) support for TWikiTags. Tags added so far:
  • ChildTopicsTag
  • FallbackTag
  • ImgTag
  • MetasearchTag (added attributes to standard Metasearch
  • TitleTag
  • OriginalAuthorTag

Currently the tag loading code in the twiki4 branch requires that the file name be TAG.pm. This obviously doesn't work for FooTag.pm, which IMO would be consistent with the way other extensions are named. I added a variable tagname which would indicate what the tag actually is.


Questions

  • how does the code deal with the mod_perl module load case?
    • I can't answer that, as CDot wrote the tag-loading code. I tried to write some code that would use the variable tagname but have had some perl problems, so user tags are currently stored in the UserTags directory but through the use of symbolic links are loaded in the same manner as the variable tags.
  • I (SD) would like to add some optional parameters to TWiki::registerTagHandler(tag, handler, documentation_hash, validation_handler)
    • where documentation_hash is 'similar' to the one for SEARCH in InlineEditPlugin
    • I don't see a problem in adding parameters to the end of the function, but I'm not the perl expert. -- MeredithLesly - 02 Jul 2006

 
Topic revision: r4 - 2006-07-02 - MeredithLesly
 
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.