EPrints Technical Mailing List Archive

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

Message: #02957


< 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


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/