dokuwiki-plugin-data
dokuwiki-plugin-data copied to clipboard
edit button instead of link to %pageid%
I am missing the feature to set a global value for the placeholder %pageid%.
When I create the output I want to display an icon or a piece of text instead of displaying the different page-id's.
Background:
With help of the "DokuWiki usecase: list of employees"-Tutorial (https://docs.google.com/document/pub?id=1c9-NPdyzDX2con7jvrgo_5wLJmIjCWi53FFcAdi4tKw) I was creating an employees-list.
I don't like to display the cryptic page-id's to edit the user-details but instead just klick on a pen symbol, which also directs to the specific userpage.
I would also like that, the %pageid% column should either show a description or a page-view icon. Additionally it would be nice to have an icon to go directly to the edit-view of the target page.
For backward compatibility, %pageid% is kept as is.
But what should be useful syntax to mark a show or edit link? My proposal is: %pageedit%, %pageshow%
What is most desired: icon or text button? For icons, my idea is now the smal version of the edit and show icons in the pagetools.
edit: %pageedit% is fine view/show: %pageshow% or %pageview% (don't know which one is the right choice, I am not a native english speaker)
I would prefer the icon over the text button!
I would prefer a solution where you can change the text of every link-variable (%title%, %pageid%...) to anything you like (text/icon).
Like:
cols: [[%title%|MyText]], [[%pageide%| {{:edit.png}}]]