DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:baselink

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:baselink [2009-06-13 08:48] 91.45.187.133plugin:baselink [2022-07-17 01:31] (current) – [Discussion] 2003:c3:cf4b:b200:b506:33df:4a99:aa15
Line 1: Line 1:
-====== Base Links plugin ======+====== Base Links Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 7: Line 7:
 type       : syntax type       : syntax
 lastupdate : 2007-05-19 lastupdate : 2007-05-19
-compatible : +compatible : Detritus
 depends    :  depends    : 
 conflicts  conflicts 
 similar    : externallink similar    : externallink
-tags       : link+tags       : links 
 + 
 +downloadurl: http://www.robmeerman.co.uk/downloads/dokuwiki-plugin-baselink.tar.gz 
 +bugtracker :  
 +sourcerepo :  
 +donationurl: 
 ---- ----
  
Line 17: Line 22:
 Based on [[plugin:externallink]] by [[oiv-plugins@valjakko.net|Otto Vainio]] Based on [[plugin:externallink]] by [[oiv-plugins@valjakko.net|Otto Vainio]]
  
-This plugin allows base-linking in DokuWiki. Links beginning with a "/" will link relative to the server's root, so %%[[/downloads/manual.pdf]]%% will link to just that: ''/downloads/manual.pdf'', regardless of whether your installation of dokuwiki lies within a sub folder or not.+This plugin allows base-linking in DokuWiki. Links beginning with a "/" will link relative to the server's root, so %%[[/downloads/manual.pdf]]%% will link to just that: ''/downloads/manual.pdf'', regardless of whether your installation of DokuWiki lies within a sub folder or not.
  
 It improves a bit on [[plugin:externallink]] by allowing media titles: %%[[/downloads/manual.pdf|{{big_book.jpg}}]]%% It improves a bit on [[plugin:externallink]] by allowing media titles: %%[[/downloads/manual.pdf|{{big_book.jpg}}]]%%
- 
 ===== Syntax ===== ===== Syntax =====
  
Line 37: Line 41:
 ===== Installation ===== ===== Installation =====
  
-==== Plugin Manager ==== +Search and install the plugin using the [[plugin:extension|Extension Manager]]Refer to [[:Plugins]] on how to install plugins manually.
- +
-Point your plug-in manager at [[http://robmeerman.co.uk/downloads/dokuwiki-plugin-baselink.tar.gz]]+
  
 ==== Manual ==== ==== Manual ====
Line 157: Line 159:
   * **2006-03-06**: Initial first release   * **2006-03-06**: Initial first release
   * **2006-04-19**: _xmlEntities bugfix (''%%[[/base/link|This & That]]%%'' was incorrectly rendered as "This & That")   * **2006-04-19**: _xmlEntities bugfix (''%%[[/base/link|This & That]]%%'' was incorrectly rendered as "This & That")
 +===== Discussion =====
  
 +Isn't this covered by the built-in syntax: ''%%[[this>someurl]]%%''?
 +> Completely handled all of my previous uses for baselink. Thanks!
  
- 
-===== Discussion ===== 
  
 Does this plugin completely supersede the [[plugin:externallink]] plugin? Does this plugin completely supersede the [[plugin:externallink]] plugin?
Line 203: Line 206:
  
 Hi, Hi,
-The plugin only works "half" for me - what I mean is, if I add a pdf file and create a link to it as explained above in your instructions, the link in the wiki is green, but when I click on it I get a page not found error.+The plugin only works "half" for me - what I mean is, if I add a PDF file and create a link to it as explained above in your instructions, the link in the wiki is green, but when I click on it I get a page not found error.
 Any suggestions to what I might be doing wrong? Any suggestions to what I might be doing wrong?
 I made sure that the file is inside the wiki tree, it is along side other pages that show ok. I made sure that the file is inside the wiki tree, it is along side other pages that show ok.
  
-Remember DokuWiki only recognizes files in lowercase. A file named Manual.pdf will lead to this error you mentioned. Rename it to manual.pdf and everthink will be fine. kabu+Remember DokuWiki only recognizes files in lowercase. A file named Manual.pdf will lead to this error you mentioned. Rename it to manual.pdf and everything will be fine. kabu 
 + 
 +Hi, 
 +Thanks for the replay - however my PDF is all lower case...:-\ 
 +Any idea what else could cause this issue? 
 +Thanks! 
 +---- 
 + 
 +Plugin doesn't work on Release 2012-10-13 “Adora Belle”\\ 
 +Url leads to Dokuwiki basedir, but not web server root dir 
 + 
 +---- 
 +//---[[User>JoeT]], 2015-11-21//\\ 
 +Installed it on DokuWiki 2015-08-10 "Detritus" on two systems (Synology DSM [NAS] and a "DokuWiki on a Stick" version for Windows). On the Synology (Linux like system) the (https:%%//%%) URL leads to the server root while on the Windows "stick" installation it leads to the DokuWiki home. Otherwise it does the job for url access to files. 
 + 
 +---- 
 +//---[[User>biochemistrygmcs]], 2021-11-08//\\ 
 +Installation in Debain 11, with DokuWiki version 2018-04-22a "Greebo" gave **warning** regarding correct syntax for dokuwiki handler\\ 
 +__**Warning line:**__\\ 
 +''function handle($match, $state, $pos, &$handler){''\\ 
 +**Changed to**\\ 
 +''function handle($match, $state, $pos, Doku_Handler $handler){''\\ 
 +The warning disappeared.\\ 
 +**Updated code is required to match latest DokuWiki version of 2021.** 
 + 
 +---- 
plugin/baselink.1244875690.txt.gz · Last modified: 2009-06-13 08:48 by 91.45.187.133

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