Home arrow Forum

Remository Forum

 


webharvest

Karma: 1  
removing fields in the upload page - 2007/07/20 17:48 I've almost got remository formatted to look great in my site.

I can't find the file to modify to remove some of the options on the upload file page. I want to remove the following since I want to make this as easy as possible for people to use:
1) File size (it is automatically done anyway correct)
2) License
3) File Version
4) File Homepage
5) Short Description


Thanks

Post edited by: webharvest, at: 2007/07/20 16:51
  | | Sorry, you do not currently have permission to write here.
chrissy6930

Karma: 27  
Re:removing fields in the upload page - 2007/07/20 19:26 in v-classes/remositoryAddFileHTML.php comment out or delete

to remove License
Code:

 $this->fileInputArea(_DOWN_LICENSE_DOWN_DESC_MAX'license'$file->license450false); $this->tickBoxField($file'licenseagree'_DOWN_LICENSE_AGREE);


to remove File Version
Code:

 $this->fileInputBox(_DOWN_FILE_VER,'fileversion',$file->fileversion,25);


to remove File Homepage
Code:

 $this->fileInputBox(_DOWN_FILE_HOMEPAGE,'filehomepage',$file->filehomepage,50);


to remove Short Description
Code:

 $this->fileInputArea(_DOWN_DESC_SMALL_DOWN_DESC_SMALL_MAX'smalldesc'$file->smalldesc350false); $this->autoShortHandling($file);



to remove file size. the code is also in v-classes/remositoryAddFileHTML.php
Code:

 $this->fileInputBox(_DOWN_FILE_SIZE,'filesize',$file->filesize,25);


but instead of deleting it or commenting it out you should rather check your settings. since the code is located inside the curly braces of
Code:

 if ($remoteok) {}


it looks like in config - permissions tab - you have set 'Allow users to submit remote files:' to 'yes'. set it to 'no' and the filesize should disappear

Post edited by: chrissy6930, at: 2007/07/20 18:40
  | | Sorry, you do not currently have permission to write here.
webharvest

Karma: 1  
Re:removing fields in the upload page - 2007/07/21 19:57 Thank you. My page is nice and clean now.

Post edited by: webharvest, at: 2007/07/21 18:59
  | | Sorry, you do not currently have permission to write here.
zuze

Karma: 0  
Re:removing fields in the upload page - 2007/10/30 15:28 I cann not find "V-classes" directory on my site, using JoomlaXplorer.

I see it in the downloaded pack, but not on the server. I looked in all files in the following directories:

/components/com_remository/
/administrator/components/com_remository/

I am using Remository304_ext version

Post edited by: zuze, at: 2007/10/30 18:33
  | | Sorry, you do not currently have permission to write here.
marwen

Karma: 0  
Re:removing fields in the upload page - 2007/11/01 17:16 Hi zuze,

You can find it here :

components/com_remository/v-classes.

Good luck.

Post edited by: admin, at: 2007/11/01 18:06
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 101  
Re:removing fields in the upload page - 2007/11/01 18:05 The information given above does not apply to Remository 3.04 EXT, which is now a very old version and not recommended for continuing use.

There is nothing in that version that is not available now in current versions of Remository. But please take care over the upgrade - especially moving from pre-3.2 to post 3.2 - read the documents here about doing the upgrade - see most read content.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
Knator

Karma: 0  
Re:removing fields in the upload page - 2012/02/06 11:17 Thank you very much! This is exactly for what I was looking for!

But I want to delete some more things:

The upload via url and the icons on the bottom.

I already tried a couple of things, but then the whole won't work anymore.

Thanks in advance for your help!

K'nator
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 6 guest online