[pmwiki-users] Customizing the "Attach" page

Mildiner, Melvyn Melvyn.Mildiner at verint.com
Wed May 30 09:15:51 CDT 2007


What are you talking about? That was VERY easy. The wonders of Copy &
Paste!

I didn't even read the code! Just pasted it in and tested it. It works.
Thanks a lot.


Regards,
Melvyn


Melvyn Mildiner
GIS Documentation Team
Verint Systems Inc.
Tel       +972-9-962-4909
Email    melvyn.mildiner at verint.com

-----Original Message-----
From: Patrick R. Michaud [mailto:pmichaud at pobox.com] 
Sent: Wednesday, May 30, 2007 4:43 PM
To: Mildiner, Melvyn
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Customizing the "Attach" page

On Wed, May 30, 2007 at 03:10:57PM +0300, Mildiner, Melvyn wrote:
> 
> I'd like to remove the "Name attachment as:" box from my Upload/Attach
> page. Is there an easy way to do this?

Depends on the definition of "easy".  In local/config.php, try:

$PageUploadFmt = array("
  <div id='wikiupload'>
  <h2 class='wikiaction'>$[Attachments for] {\$FullName}</h2>
  <h3>\$UploadResult</h3>
  <form enctype='multipart/form-data' action='{\$PageUrl}'
method='post'>
  <input type='hidden' name='n' value='{\$FullName}' />
  <input type='hidden' name='action' value='postupload' />
  <table border='0'>
    <tr><td align='right'>$[File to upload:]</td><td><input
      name='uploadfile' type='file' /></td></tr>
    <tr><td><input type='submit' value=' $[Upload] ' /><br />
        </td></tr></table></form></div>",
  'wiki:$[{$SiteGroup}/UploadQuickReference]');

Eventually I expect this to be specified as a wiki page
(i.e., Site.UploadForm), but this is the best I can do for now.

Pm

__________________________________________________________________________________________
This electronic message contains information from Verint Systems, which may be privileged and confidential. 
The information is intended to be for the use of the individual(s)or entity named above. 
If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. 
If you have received this electronic message in error, please notify us by replying to this email (1).




More information about the pmwiki-users mailing list