DokuWiki Installer

:

This page assists in the first time installation and configuration of Dokuwiki. More info on this installer is available on it's own documentation page.

DokuWiki uses ordinary files for the storage of wiki pages and other information associated with those pages (e.g. images, search indexes, old revisions, etc). In order to operate successfully DokuWiki must have write access to the directories that hold those files. This installer is not capable of setting up directory permissions. That normally needs to be done directly on a command shell or if you are using hosting, through FTP or your hosting control panel (e.g. cPanel).

This installer will setup your DokuWiki configuration for ACL, which in turn allows administrator login and access to DokuWiki's admin menu for installing plugins, managing users, managing access to wiki pages and alteration of configuration settings. It isn't required for DokuWiki to operate, however it will make Dokuwiki easier to administer.

Experienced users or users with special setup requirements should use these links for details concerning installation instructions and configuration settings.

For security reasons this script will only work with a new and unmodified Dokuwiki installation. You should either re-extract the files from the downloaded package or consult the complete Dokuwiki installation instructions

driven by DokuWiki powered by PHP
Extensible Object Embedding (e.g. YouTube) [Mantis Bug Tracker Wiki]

User Tools

Site Tools


mantisbt:extensible_object_embedding_requirements

Extensible Object Embedding (e.g. YouTube)

Author: Victor Boctor

Introduction

This feature is to allow embedding of custom objects into Mantis. This will be shown in area like issue view page, news and others. An example of object that can be embedded is videos.

Syntax

The syntax to embed an object would be as follows:

[embed type=youtube]dgwbHzOec9I[/embed]

In the above example, “youtube” is the type of the object to embed and “dgwbHzOec9I” is the parameter(s).

How will it work?

The string_api.php will detect patterns like [embed type=sometype]param[/embed], will lower case the type and then call custom function “embed”. The default implementation for this custom function (custom_function_default_embed) will call the appropriate embed_<type>(param) method from core/embed_api.php.

The methods in embed API take a single parameter and return the replacement string.

How to define new types?

	function custom_function_override_embed( $p_type, $p_param ) {
		switch ( $p_type ) {
			case 'mytype':
				return "some output for type '$p_type' and param '$p_param'";
			default:
				return custom_function_default_embed( $p_type, $p_param );
		}
	}

Feedback

Please provide feedback in this section.

mantisbt/extensible_object_embedding_requirements.txt · Last modified: 2008/10/29 04:25 (external edit)