Revision history for FilesManagementHandler
Revision [18250]
Last edited on 2008-01-28 00:10:43 by ChristianBarthelemy [Modified links pointing to docs server]No Differences
Revision [4562]
Edited on 2005-01-12 22:45:51 by ChristianBarthelemy [Replaced by FilesManagementSolution]Additions:
I have completely rebuilt this a part of a global FilesManagementSolution.
Deletions:
- Change the files.php location from the /actions folder to the /handlers/page folder
- Encapsulate the full code between <div class="page"> and </div> (not mandatory but more readable)
- Change this code:
%%(php)
// form
$result = "<form action=\"".$this->href()."\" method=\"post\" enctype=\"multipart/form-data\">\n";
if (!$this->config["rewrite_mode"]) $result .= "<input type=\"hidden\" name=\"wakka\" value=\"".$this->MiniHref()."\">\n";
echo $result;
%%
into:
%%(php)
// form
// form
$result = "<form action=\"".$this->href()."/files\" method=\"post\" enctype=\"multipart/form-data\">\n";
if (!$this->config["rewrite_mode"]) $result .= "<input type=\"hidden\" name=\"wakka\" value=\"".$this->MiniHref()."/files\">\n";
echo $result;
%%
- Change this code:
%%(php)
<?php
echo $this->FormClose();
%%
into:
%%(php)
<?php
echo "<a href=\"".$this->Href()."\">Back to the page</a>";
echo $this->FormClose();
%%
- You still need the files.xml.php and the other parts of the Mod015fFilesAction!
Revision [3585]
Edited on 2004-12-22 00:22:11 by ChristianBarthelemy [Replaced by FilesManagementSolution]No Differences
Additions:
- You still need the files.xml.php and the other parts of the Mod015fFilesAction!