Home arrow Forum

Remository Forum

 


Spencemeister

Karma: 0  
Remove "Published: yes - 2011/03/16 04:00 I've suppressed all the file details except the filename in the container and search results view, all except "Published: yes".

One of my users asked me why I'm displaying obviously superfluous information about every file in all my containers. "Published: yes . . Really?" says he, "I can already see that it's published, because LOOK, there it is!"

I laughed, and told him he had a point, but for the life of me, I can't figure out how to suppress it. It's not an option on the customize tab of the configuration section.

Is there a way to suppress this?

Thanks.
  | | Sorry, you do not currently have permission to write here.
Spencemeister

Karma: 0  
Re:Remove "Published: yes - 2011/03/16 12:35 I'm running version 3.53. I posted this in the wrong forum late last night.
  | | Sorry, you do not currently have permission to write here.
bennyy4

Karma: 0  
Re:Remove "Published: yes - 2011/03/28 19:33 I've got the same problem, I looking for anything but I found nothing. probably the solution is edit the file remository components/com_remository/v-classes/remositoryFileListHTML.php or remositoryFileInfoHTML.php but I don't know in which part...
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 113  
Re:Remove "Published: yes - 2011/04/05 16:16 You only see the published status if you are an administrator. Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
bennyy4

Karma: 0  
Re:Remove "Published: yes - 2011/05/26 16:14 I has see this things later...But I must Remove it same because make smaller the block of file summary, so the block "published : yes" hides the title of file; so I Resolved it with this adding this comment in the file remository.html.php:
Code:

 protected function showFileDetails ($file$remUser$type$dodisplay=true) {         if ($dodisplay AND $remUser->isAdmin())<strong// $this->fileOutputBox(_DOWN_PUB, ($file->published == 1 ? _YES : _NO), false);</strong>

  | | Sorry, you do not currently have permission to write here.
bennyy4

Karma: 0  
Re:Remove "Published: yes - 2011/05/26 21:53 I excuse for the wrong solution that I proposed this afternoon...Infact with this comment there is an error about the visualization of file list for the not admin user... The correct solution , that this time I tested better is simply put the variable $dodisplay as false
Code:

     protected function showFileDetails ($file$remUser$type$dodisplay=false) {         if ($dodisplay AND $remUser->isAdmin())  $this->fileOutputBox(_DOWN_PUB, ($file->published == _YES _NO), false);


Excuse me for the wrong.
  | | Sorry, you do not currently have permission to write here.

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

Who is Online

Remository welcomes guests and visitors

We have 1 guest online

Real Time Web Analytics