1
urbanspacema
Autolink function like dokuwiki

Hi,
it's possible to have a function 'autolink' in any module (ex. News, Forum...) that point at dokuwiki module?



ex. news

The intel processor is....


in dokuwiki

Intel: Intel Co produce CPU...


sorry for scary english

Urban
http://www.ultrasonica.it
http://www.noisecollective.net

2
skenow
Re: Autolink function like dokuwiki
  • 2007/10/4 11:48

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


This can be done using Frameworks -

Open the file Frameworks/textsanitizer/config.php and find this line:

define('EXTCODE_ENABLE_WIKI_LINK',        XOOPS_URL."/modules/mediawiki/?title=%s"); // The link to wiki module


Replace 'mediawiki/?title=' with 'dokuwiki/doku.php?id=' and save the file. This only works with the dhtml editors, not the wysiwyg editors.

In your other modules, surround your wiki page names with to create the links.

Give it a try - works for me

3
tom
Re: Autolink function like dokuwiki
  • 2007/10/6 2:55

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Will this work with any more modules? or only those using Frameworks?

Will it also pick up on old information too in the forums, or would it only work with new posts? if so could it be updated?

I know the knew wordbook modules has this feature and links to other posts in it's own modules.

The new wordbook module is now called Lexicon and can be found:

http://dev.xoops.org/modules/xfmod/project/?lexikon

It would be cool and almost worth install the mediawiki for such a feature in modules, to cross link all over the site with minimal effort.
Kind Regards.
Tom

http://bassmanthemes.com
http://www.xoopslance.com

Login

Who's Online

226 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits