DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:sendpagecontent

This is an old revision of the document!


sendpagecontent Plugin

Compatible with DokuWiki

Rincewind

plugin Send the raw page content to a given mail address

Last updated on
2011-11-06
Provides
Action
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with mail, send, transfer

Installation

Use this address to install this plugin by using the plugin manager.

Description

This plugin allows to send the raw page content (Wiki syntax) to a given mail address. You can add a button, which triggers mail sending, to your template:

diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php
index 3e85c58..f6abc0c 100644
--- a/lib/tpl/default/main.php
+++ b/lib/tpl/default/main.php
@@ -57,6 +57,7 @@ if (!defined('DOKU_INC')) die();
       <div class="bar-left" id="bar__topleft">
         <?php tpl_button('edit')?>
         <?php tpl_button('history')?>
+        <?php print html_btn('sendmail', $ID, '', array('do' => 'sendmail')) ?>
       </div>
 
       <div class="bar-right" id="bar__topright">

Configuration and Settings

FIXME

Development

Change Log

ToDo/Wish List

Discussion

plugin/sendpagecontent.1320601657.txt.gz · Last modified: 2011-11-06 18:47 by lupo49

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki