Revision history for ListfilesActionInfo


Revision [22745]

Last edited on 2016-05-20 07:38:42 by ChristianBarthelemy [Replaces old-style internal links with new pipe-split links.]
Additions:
This page can now be found on the [[Docs:ListfilesActionInfo | Wikka Documentation Server]].
An archive of [[http://wikkawiki.org/ListfilesActionInfo/revisions | old revisions of this page]] is still available for reference.<<
Deletions:
This page can now be found on the [[Docs:ListfilesActionInfo Wikka Documentation Server]].
An archive of [[http://wikkawiki.org/ListfilesActionInfo/revisions
old revisions of this page]] is still available for reference.<<


Revision [17947]

Edited on 2008-01-27 02:34:52 by ChristianBarthelemy [Migrated to doc server]
Additions:
<<===This page has moved===

This page can now be found on the [[Docs:ListfilesActionInfo Wikka Documentation Server]].
Thanks for updating your bookmarks!
----
An archive of [[http://wikkawiki.org/ListfilesActionInfo/revisions
old revisions of this page]] is still available for reference.<<
::c::
----
CategoryMigratedDocs
Deletions:
=====Listfiles Action Documentation=====

>>==See also:==
Development: ListfilesAction.>>This is the documentation page for the Listfiles action.::c::

===The principle===
As many Wikka users, I find the upload process cumbersome. So I propose a new way relying on 3 developments and a few principles.
1) There will be a menulet action in the header and/or footer menus that will allow the user to:
- know if there are files attached to the current page (special display of the menulet link)
- browse the attached files by clicking on the menulet link
- manage the attachments (add/delete)
1) If you are allowed to read a page then you can read/download the attached files
1) If you are allowed to write a page then you can manage the attachments (add/delete)
Of course all this has to be compliant with the site policy (authorized mimes and maximum sizes).

===My solution===
Three developments to provide a complete solution:
- A handler (FilesHandlerInfo - FilesHandler) allowing to call the file management tool from any page
- An action (ListfilesActionInfo - ListfilesAction) allowing to list and download the attached documents
- A menulet action (WikkaMenulets : attachments) to call the handler via a menu

===How to use it?===
This particular action can be called in different ways:
""{{listfiles}}"" displays all the files attached to the current page
""{{listfiles page="AnotherPage"}}"" displays all the files attached to another page (provided that the user is allowed to read it)
""{{listfiles file="MyFile"}}"" displays a link to the file named ""MyFile"" attached to the current page (provided the file exists)
""{{listfiles file="MyFile" title="My title"}}"" same as above with "My title" being the text displayed to the link
""{{listfiles page="AnotherPage" file="MyFile"}}"" display a link to the file named ""MyFile"" attached to ""AnotherPage""
""{{listfiles page="AnotherPage" file="MyFile" title="My title"}}"" same as above with "My title" being the text displayed to the link

===To Do===
Nothing I can think about right now.

----
CategoryDocumentation


Revision [4558]

Edited on 2005-01-12 22:31:04 by ChristianBarthelemy [Files management part 1]
Additions:
- manage the attachments (add/delete)
1) If you are allowed to write a page then you can manage the attachments (add/delete)
- A menulet action (WikkaMenulets : attachments) to call the handler via a menu
Deletions:
- manage the attachements (add/delete)
1) If you are allowed to write a page then you can manage the attachements (add/delete)
- A menulet action (WikkaMenulets : attachements) to call the handler via a menu


Revision [4545]

Edited on 2005-01-12 21:43:14 by ChristianBarthelemy [Files management part 1]
Additions:
=====Listfiles Action Documentation=====
Development: ListfilesAction.>>This is the documentation page for the Listfiles action.::c::
===The principle===
As many Wikka users, I find the upload process cumbersome. So I propose a new way relying on 3 developments and a few principles.
1) There will be a menulet action in the header and/or footer menus that will allow the user to:
- know if there are files attached to the current page (special display of the menulet link)
- browse the attached files by clicking on the menulet link
- manage the attachements (add/delete)
1) If you are allowed to read a page then you can read/download the attached files
1) If you are allowed to write a page then you can manage the attachements (add/delete)
Of course all this has to be compliant with the site policy (authorized mimes and maximum sizes).
===My solution===
Three developments to provide a complete solution:
- A handler (FilesHandlerInfo - FilesHandler) allowing to call the file management tool from any page
- An action (ListfilesActionInfo - ListfilesAction) allowing to list and download the attached documents
- A menulet action (WikkaMenulets : attachements) to call the handler via a menu
===How to use it?===
This particular action can be called in different ways:
""{{listfiles}}"" displays all the files attached to the current page
""{{listfiles page="AnotherPage"}}"" displays all the files attached to another page (provided that the user is allowed to read it)
""{{listfiles file="MyFile"}}"" displays a link to the file named ""MyFile"" attached to the current page (provided the file exists)
""{{listfiles file="MyFile" title="My title"}}"" same as above with "My title" being the text displayed to the link
""{{listfiles page="AnotherPage" file="MyFile"}}"" display a link to the file named ""MyFile"" attached to ""AnotherPage""
""{{listfiles page="AnotherPage" file="MyFile" title="My title"}}"" same as above with "My title" being the text displayed to the link
===To Do===
Nothing I can think about right now.
Deletions:
=====xxxxx Action Documentation=====
Development: xxxxxAction.>>This is the documentation page for the xxxxx action.::c::
//This page is a **template**. It belongs to CategoryTemplate (which contains more handy templates). To create an action documentation page, [[http://wikka.jsnx.com/ActionInfoTemplate/clone clone this page]] to a page called **xxxxxActionInfo** (where xxxxx is the (capitalized) name of the action), replace all occurrences of 'xxxxx' with the name of the action and replace this paragraph with the actual content. Do **not** put a "Wikka Documentation" link at the top unless and until the action is part of the official Wikka distribution!//


Revision [4544]

The oldest known version of this page was created on 2005-01-12 21:20:23 by ChristianBarthelemy [Files management part 1]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki