Include Widget

From Hexten

Jump to: navigation, search

Include arbitrary PHP into your Wiki pages.


[edit] Hardcoded settings

  • php files to be stored in the scripts subfolder inside the include folder
  • only index.php will be run, so overwrite the index.php with your php code

[edit] Sample Usage

<widget type="include" src="test"> </widget>

the above script in your wiki page will run the file {wikiwidgets include filepath}/scripts/test/index.php

Personal tools
Mongers