[dokuwiki] Suggestion for a more easy image management.

  • From: "Christian P. MOMON" <cp.momon@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 21 Nov 2005 16:15:54 +0100


Hi,

 I am very embarrassed by the management of the images. When
i am editing a text (id=rub1:rub2:article1) and i clik on
the media button, the popup namespace is the namespace of
the text but without the text name in it (ns=rub1:rub2).

If some texts have the same namespace and that each use images,
all images are mixed in the same media namespace, that is a lot
confused (can't easily know wich text use this image, which
image is not use at all, ...).

 I suggest a solution: when you clik on the media button,
the popup namespace is the namespace of the text WITH the
text name in it (ns=rub1:rub2:article1).

 So each image are associated to its text, and the image
management is more easy.


*** Summary: edition the text: id=rub1:rub2:article1 actualy if i click on the media button: ns=rub1:rub2 my suggestion: ns=rub1:rub2:article1



*** Technical patch:

.../dokuwiki/inc/html.php, line 922,

before:
mediaButton('image.png','<?php echo $lang['qb_media']?>','m','<?php echo $INFO['namespace'] ?>');


after:
mediaButton('image.png','<?php echo $lang['qb_media']?>','m','<?php echo $INFO['namespace'].':'.array_pop(explode(':', $ID)) ?>');



Your opinion interests me. :-)

 Cpm.
--
       __    __    __
 (o_  |     |__|  |  |         "CPM est Christian P. M____."    ('<
 /)   |__ . |   . |  | .           cp.momon@xxxxxxxxxxx       ,',)
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] Suggestion for a more easy image management.