EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02403


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Removing Unwanted Browse Views


There must be a template somewhere...!?
~/archives/[repoid]/cfg/lang/[langid]/template
~/archives/[repoid]/cfg/templates/
~/lib/templates/default.xml



-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 14 November 2013 12:30
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Removing Unwanted Browse Views

Hi Francis,

Many thanks, but the templates folder appears to have gone from version 3.3.12
I've removed the view directory, but after running generate_views it still appears in the index.html

Thanks,
Malcolm.
________________________________________
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of franc@library.iisc.ernet.in <franc@library.iisc.ernet.in>
Sent: 14 November 2013 05:09
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Removing Unwanted Browse Views

On Wed, 13 Nov 2013, Malcolm Bodger wrote:

> Hi,
>
> I'm currently configuring EPrints version 3.3.12 and the drop down menu
> has 'Browse By Divisions', which I want to replace with 'Browse by
> Type'. I can't see any option in the phrases editor to delete the
> 'Browse by Divisions'. I've deleted 'divisions' from the views.pl.
>
> This must be so simple, yet I can't see it. Has anyone any ideas,
> because the documentation does not appear to cover this version?

> Thanks,
>
> Malcolm.
>
> The University of Westminster is a charity and a company limited by
> guarantee. Registration number: 977818 England. Registered Office: 309
> Regent Street, London W1B 2UW.
>

Hi Malcolm, You need to re-generate the views. Also, you need to remove
the unwanted browse view names from the templates file and include the new
ones.

You may also physically remove the unwanted view folder(s) from the
eprints_home/archives/ARCHIVEID/html/en/view directory.

Hope this helps.

Best, Francis



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.

This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/