EPrints Technical Mailing List Archive

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

Message: #02412


< 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


> 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.

Hi Malcom, in eprints-3.3.12, the templates folder will be located in
eprints_home/lib/. You may either edit the default.xml file under the
templates folder or copy the templates folder to
eprints_home/archives/ARCHIVEID/lang/en and make the required changes in
the default.xml file there.

The templates folder under the lib directory has global effect, whereas
the templates folder under the ARCHIVEID will effects only the specific
ARCHIVEID.

Hope this helps.

Best, Francis



> ________________________________________
> 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/
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


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