We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Plugins Web>FloatingMenuSkinDev (20 Nov 2004, MartinCleaver)
Tags:
create new tag
, view all tags

FloatingMenuSkinDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on FloatingMenuSkin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on FloatingMenuSkin

There are many improvements that could be made to this skin since it makes many assumptions about TWiki paths like:

  • assuming that if you specify Index as a menu item that it links to WebIndex
  • assuming that all TWiki webs, like Sandbox all have WebHome as their home page.
Some possible enhancements are:
  1. Support user defined multi layer menus (not just the TWiki web menu)
  2. Allow font specifications (color, size, type, etc.) to be specified
I don't like having used PHP as this puts an extra requirement on the web server side, but I did this for several reasons:
  1. to minimize net traffic by putting 'static' content into files instead of hard coding all of the JavaScript in the template file. To do this and allow dynamic content, PHP was needed.
  2. easier to perform some of the decisions in PHP rather than JavaScript. Maybe someone that is more fluent in JS could write a modification to this plugin that would be 100% JS.

-- TaitCyrus - 01 Sep 2003

Floating menues are interesting, they save screen space and give a familiar look to GUI apps.

Please note that a PHP-enabled TWiki site could be a major security hole since any user could insert PHP code in a TWiki topic and gain access to everything a PHP programmer has.

-- PeterThoeny - 02 Sep 2003

Hmmm. Good point! I guess I should move the php into the cgi-bin directory assuming that the pub directory is configured to not allow php to be run from there (since a person could 'attach' php files).

-- TaitCyrus - 08 Sep 2003

Topic revision: r5 - 20 Nov 2004 - 09:11:54 - MartinCleaver
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback