Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change the mini_file panel in "detailed record" #196

Closed
invenio-developers opened this Issue · 3 comments

3 participants

@invenio-developers
Collaborator

Originally by mrschw on 2010-07-01

Hi,
when I search for some record and then click "detailed record" I get the Detailed record page.
At the bottom of it there is a "mini file panel", whre I can choose the format of the record I want to download.
Now there are always two possibilities: .pdf format and .ps.gz format.
I'm asked to leave just one possibility: .pdf

How can I do that?
Thanks

@kaplun
Collaborator

Originally on 2010-07-01

Hi!

the mini file panel is using the output format HDFILE which by default uses the Default HTML files format template. Finally this format template simply call the BFE_FULLTEXT_mini BibFormat element.

This element, by default, displays all the files that are attached to a record (it does some more things but more or less that's the main one).

If you don't intend to use .PS.GZ files you can simply avoid to attach them in the first place to the record. They are by default created during submission time if your submission workflow uses Move_Files_to_Storage WebSubmit function and you have set the documenttype parameter to fulltext. Simply set such parameter to an empty string to avoid having .ps.gz files being created.

If you wish instead to have them being created, but just don't want to display them, then you have to create a BibFormat element similar to BFE_FULLTEXT_mini and customize it.

Cheers,
Sam

@kaplun kaplun closed this
@kaplun
Collaborator

Originally on 2010-07-01

P.s. I am closing this ticket as invalid, as this is related to a configuration issue and not about a feature request or a defect report or a task. For similar subjects and if you are looking for help, feel free to subscribe and contact our user mailing list project-cdsware-users@cern.ch. See [http://invenio-software.org/wiki/Community/MailingLists] for how to subscribe

@invenio-developers
Collaborator

Originally by mrschw on 2010-07-21

Big Big Thanks, Sam
You saved my life

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.