Home arrow Forum

Remository Forum

 


<< Start < Previous 1 2 Next > End >>
bammerman

Karma: 0  
Download link - 2009/02/26 19:47 Does anyone know where in the code I can add a <br /> to make the download and image fall below the title of the document?
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 101  
Re:Download link - 2009/02/27 14:49 Is this on the file information page, or in the list of files (which optionally has download links)? Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
bammerman

Karma: 0  
Re:Download link - 2009/02/27 16:15 I would like to do it on both actually. I tried searching for the code but was unable to locate it.
  | | Sorry, you do not currently have permission to write here.
bammerman

Karma: 0  
Re:Download link - 2009/02/27 18:29 That and on the search I would like to change this field: I want to remove some of the things you can search by. where would I locate that code?


"Search Only: Remository Calendar event Articles Web Links Contacts Categories Sections News Feeds "
  | | Sorry, you do not currently have permission to write here.
bammerman

Karma: 0  
Re:Download link - 2009/03/04 20:50 bump
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 101  
Re:Download link - 2009/03/05 11:55 The file display within lists of files is constructed in remository.html.php in the fileListing method. Around line 238 you should find the code:

Code:

  $downlink $this->repository->RemositoryFunctionURL($filefunc,$file->id); if ($file->icon == ''$downlink .= $this->repository->RemositoryImageURL('stuff1.gif'); else $downlink .= $this->repository->RemositoryImageURL('file_icons/'.$file->icon); $downlink .= $file->filetitle.''; if ($this->repository->Enable_List_Download AND is_object($container) AND $container->isDownloadable($this->remUser)) {         $downlink .= $file->downloadLink($downlinktype).' '.$downlogo.' '._DOWNLOAD.''; }



where you can see the heading line being built up from the file title (which is a link), the icon, and optionally a download link. You could insert a line break somewhere here.

The file information page is constructed in v-classes/remositoryFileInfoHTML.php with the title line starting to be built at line 181.

The internal search screen is built in v-classes/remositorySearchBoxHTML.php.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
<< Start < Previous 1 2 Next > End >>

Save FM Radio

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