[dokuwiki] plugin:data Suggestion

  • From: Alex Haye <ahaye@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 1 Mar 2009 02:33:22 -0500

Hello List:

I'm a first-time poster and I am new to the list.  Please let me know
if this suggestion should go elsewhere.  First, I must give a shout
out to Andi and the rest of the DW programmers/community for a kickass
project--thank you!  :)

Here is a suggestion for the 'data' plugin.  It seems favorable to
show the metadata title in datatable fields of _title type than the
default, rendered internal id the page.  This is a simple diff on
lib/plugins/data/helper.php to make this happen:

103c103
<                     $outs[] =
$R->internallink(":$id",p_get_metadata($id, 'title'),NULL,true);
---
>                     $outs[] = $R->internallink(":$id",$title,NULL,true);

I understand others may actually want the rendered internal link
instead of the metadata title.  Would it make sense to build some kind
of markup into datatable to choose which is displayed?

Thanks,

Alex
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] plugin:data Suggestion - Alex Haye