DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:infomail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:infomail [2014-11-25 08:30] – [Download and Installation] 78.97.226.2plugin:infomail [2023-12-15 18:43] (current) Aleksandr
Line 1: Line 1:
-====== infomail plugin ====== +====== Infomail Plugin ====== 
-[[http://www.openschulportfolio.de|{{ http://www.openschulportfolio.de/_media/wiki/logo/logo.png}}]]+
 ---- plugin ---- ---- plugin ----
-description: You can send mails directly from your wiki with recommendations for the page viewed +description: You can send mails directly from your wiki with recommendations for the page viewed 
-author     : Frank Schiebel +author     : Frank Schiebel, Andreas Gohr 
-email      : frank@linuxmuster.net +email      : frank@linuxmuster.net
 type       : action type       : action
-lastupdate : 2011-02-25 +lastupdate : 2020-11-18 
-compatible : 2010-11-07 2011-05-25 2012-01-25 2012-10-13+compatible : 2018-04-22 "Greebo", 2010-11-072011-05-252012-01-252012-10-13, 2020-07-29
 depends    :  depends    : 
 conflicts  : addnewpage, hidden, copypage, sortablejs conflicts  : addnewpage, hidden, copypage, sortablejs
Line 13: Line 13:
 tags       : recommend email tags       : recommend email
  
-downloadurl: http://www.openschulportfolio.de/_media/downloads/infomail-plugin.tgz +downloadurl: https://github.com/OpenSchulportfolio/dokuwiki-plugin-osp-infomail/archive/master.zip 
-bugtracker : https://github.com/ironiemix/dokuwiki-infomail/issues +bugtracker : https://github.com/OpenSchulportfolio/dokuwiki-plugin-osp-infomail/issues 
-sourcerepo : https://github.com/ironiemix/dokuwiki-infomail +sourcerepo : https://github.com/OpenSchulportfolio/dokuwiki-plugin-osp-infomail 
-donationurl: http://www.openschulportfolio.de/about+donationurl: https://openschulportfolio.de/about
 ---- ----
 +
 +[[https://openschulportfolio.de|{{ https://openschulportfolio.de/_media/wiki:logo:logo.png}}]]
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. 
 ==== Conflicts ==== ==== Conflicts ====
-It seems that in ''Hrun'' and ''Ponder Stibbons'' (I is not sure about older versions), infomail give a conflict with [[https://www.dokuwiki.org/plugin:sortablejs|Sortablejs]]. Infomail wil work but Sortablejs will not sort tables anymore.\\ + 
-Any solutions are welcome.  --- //[[florinko-gmail|Florin]] 2014/11/25 08:27//+It seems that in ''Hrun'' and ''Ponder Stibbons'' (I am not sure about older versions), infomail give a conflict with [[plugin:sortablejs|Sortablejs]]. Infomail will work but Sortablejs will not sort the tables anymore.\\ 
 +Any solutions are welcome.  --- //[[florinko@gmail.com|Florin]] 2014/11/25 08:27// 
 ===== Changelog ===== ===== Changelog =====
  
 +  * Major update for compatibility with DW "greebo". Older versions are not supported anymore because the plugin now makes use of JQuery.
   * Fixed bug preventing template editing if wiki:infomail namespace does not exist (2011-02-25)   * Fixed bug preventing template editing if wiki:infomail namespace does not exist (2011-02-25)
   * Initial realease (2010-11-30)   * Initial realease (2010-11-30)
 +
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
  
Line 35: Line 42:
 ==== Template ==== ==== Template ====
  
-To include the "Mailinfo-Button" in your template, include the following code in your templates main.php:+To include the "Mailinfo-Button" in your template, include the following code in your templates ''main.php'':
  
-  /* Remove the if clause to display the button to anonymous users as well. */ +<code php> 
-  if(isset($_SERVER['REMOTE_USER'])) { +/* Remove the if clause to display the button to anonymous users as well. */ 
-      global $lang; +if(isset($_SERVER['REMOTE_USER'])) { 
-      $lang['btn_infomail'] = 'Infomail'; +    global $lang; 
-      echo html_btn('infomail',$ID,null,array('do' => 'infomail', 'id' => $ID)); +    $lang['btn_infomail'] = 'Infomail'; 
-   }+    echo html_btn('infomail',$ID,null,array('do' => 'infomail', 'id' => $ID)); 
 +} 
 +</code>
  
 ==== Configuration ==== ==== Configuration ====
  
 ==== Vector template ==== ==== Vector template ====
 +
 I've integrated this plugin in a box using the following code: I've integrated this plugin in a box using the following code:
 <code php> <code php>
Line 56: Line 66:
 You will need to add btn_infomail to your lang.php or else replace ''".hsc($lang["btn_infomail"])."'' with some text. You will need to add btn_infomail to your lang.php or else replace ''".hsc($lang["btn_infomail"])."'' with some text.
  --- [[user>Theo-K]] //2010/12/22 11:31//  --- [[user>Theo-K]] //2010/12/22 11:31//
 +
 ===== Discussion ===== ===== Discussion =====
  
Line 69: Line 80:
  
 (deshi 25.5.2011) (deshi 25.5.2011)
- 
  
 ==== multiple default email addressess ==== ==== multiple default email addressess ====
 +
 >Is it possible to assign default email addresses, default email text etc? >Is it possible to assign default email addresses, default email text etc?
 >This would be really helpful :) >This would be really helpful :)
Line 77: Line 88:
  
 ==== Button similar to DW2PDF and predefined subject ==== ==== Button similar to DW2PDF and predefined subject ====
 +
 Hello, great plugin. I use the next trick to put a button to send via mail Hello, great plugin. I use the next trick to put a button to send via mail
-<code>+<code html>
     <div class="bar" id="bar__bottom">     <div class="bar" id="bar__bottom">
       <div class="bar-left" id="bar__bottomleft">       <div class="bar-left" id="bar__bottomleft">
plugin/infomail.1416900621.txt.gz · Last modified: 2014-11-25 08:30 by 78.97.226.2

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