EPrints Technical Mailing List Archive
Message: #02959
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Editable box
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Editable box
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Tue, 29 Apr 2014 09:24:13 +0100
See if running > ~/bin/generate_static ARCHIVEID helps. If I remember correctly, the static pages don't instantly see changes in the phrase files. Cheers, John -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken Sent: 28 April 2014 16:55 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Editable box Everything seems to be in order. When I go to the admin page I get the text which is being saved into zz_webcfg.xml; when I go to the homepage I’m getting the default text from my xx_lirolem.xml file. I did initially have this in a zz_lirolem.xml file, however I considered what you said about loading order and changed the filename. Nothing, it’s odd. I’m wondering if it’s because I’m loading the phrases into the index.xpage file? Do I need to specify a source from there? On 28/04/2014 16:31, "John Salter" <J.Salter@leeds.ac.uk> wrote: >Hi Andrew, >Check the apache error logs. >Check the file is well formed XML (xmllint --format filename.xml). >Check the phrase isn't getting overwritten by an alphabetically-later XML >file (which is why the file has a 'zz_' prefix). > >I was going to suggest a new XML file doesn't get picked up until you've >restarted Apache - but it sounds like you've been more brutal than that >already ;o) > >Cheers, >John > >-----Original Message----- >From: eprints-tech-bounces@ecs.soton.ac.uk >[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken >Sent: 28 April 2014 16:16 >To: eprints-tech@ecs.soton.ac.uk >Subject: [EP-tech] Re: Editable box > >Hmm, annoyingly not working in incognito or via a reboot (I’m working on a >local development version so I’ve got room to fiddle!) > >Is there some kind of debug mode I can use to see what phrase files are >being loaded in? > > > >On 28/04/2014 15:32, "David McElroy" <D.Mcelroy@uel.ac.uk> wrote: > >>I've often found EPrints a little unpredictable in this regard.. I make >>changes, refresh and nothing.. refresh again and it's there, refresh >>again and its reverted back to original... >> >>I'd try loading the page in a Chrome incognito tab (or clearing your >>cache) to check that it's not just a browser cache issue before something >>like restarting the webserver. >> >> >>David >> >>-----Original Message----- >>From: eprints-tech-bounces@ecs.soton.ac.uk >>[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew Beeken >>Sent: 28 April 2014 15:16 >>To: eprints-tech@ecs.soton.ac.uk >>Subject: [EP-tech] Re: Editable box >> >>Cool, thanks for that. I¹ve implemented the new fields and they show up >>both in admin and on the index page as required, however when edited in >>the admin the text on the index page doesn¹t change. The new values are >>indeed added to the zz_webcfg.xml file but this does not seem to be >>loading, or at least isn¹t being loaded correctly. >> >>Any thoughts? Anything I¹m likely missing? >> >> >> >>On 28/04/2014 11:10, "David McElroy" <D.Mcelroy@uel.ac.uk> wrote: >> >>>All phrases are editable by admin. Look under Admin, Config. Tools, >>>Phrase Editor. >>> >>>David >>> >>>-----Original Message----- >>>From: eprints-tech-bounces@ecs.soton.ac.uk >>>[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew >>>Beeken >>>Sent: 28 April 2014 10:25 >>>To: eprints-tech@ecs.soton.ac.uk >>>Subject: [EP-tech] Re: Editable box >>> >>>Would a phrase be editable in the admin pages? >>> >>>On 28/04/2014 10:18, "David McElroy" <D.Mcelroy@uel.ac.uk> wrote: >>> >>>>Hi Andrew, >>>> Have you considered using a phrase? >>>> >>>>David >>>> >>>>-----Original Message----- >>>>From: eprints-tech-bounces@ecs.soton.ac.uk >>>>[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Andrew >>>>Beeken >>>>Sent: 25 April 2014 16:45 >>>>To: eprints-tech@ecs.soton.ac.uk >>>>Subject: [EP-tech] Editable box >>>> >>>>Hello all! >>>> >>>>I'm looking at creating a message box for the index page of our >>>>repository that would be editable from the admin screen, enabling >>>>administrators to control the message shown. Is this possible? >>>> >>>>Andrew >>>> >>>>The University of Lincoln, located in the heart of the city of >>>>Lincoln, has established an international reputation based on high >>>>student satisfaction, excellent graduate employment and world-class >>>>research. >>>> >>>>The information in this e-mail and any attachments may be confidential. >>>>If you have received this email in error please notify the sender >>>>immediately and remove it from your system. Do not disclose the >>>>contents to another person or take copies. >>>> >>>>Email is not secure and may contain viruses. The University of Lincoln >>>>makes every effort to ensure email is sent without viruses, but cannot >>>>guarantee this and recommends recipients take appropriate precautions. >>>> >>>>The University may monitor email traffic data and content in >>>>accordance with its policies and English law. Further information can >>>>be found at: >>>>http://www.lincoln.ac.uk/legal. >>>> >>>>*** 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 by the UEL anti-spam filters hosted by >>>>Websense >>>> >>>>*** 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/ >>> >>> >>>*** 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/ >>> >>>*** 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/ >> >> >>*** 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/ >> >>*** 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/ > > >*** 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/ > >*** 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/ *** 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/
- References:
- [EP-tech] Re: Editable box
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Editable box
- From: David McElroy <D.Mcelroy@uel.ac.uk>
- [EP-tech] Re: Editable box
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Editable box
- From: David McElroy <D.Mcelroy@uel.ac.uk>
- [EP-tech] Re: Editable box
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Editable box
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Editable box
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Editable box
- Prev by Date: [EP-tech] Re: Editable box
- Next by Date: [EP-tech] Re: Editable box
- Previous by thread: [EP-tech] Re: Editable box
- Next by thread: [EP-tech] Re: Editable box
- Index(es):