EPrints Technical Mailing List Archive

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

Message: #03538


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

[EP-tech] Re: modify inline css for autocomplete suggestions


Thanks Lizz and John,

Adi
-----------------------------------------------------------

On 14 Oct 2014, at 04:55, Ajunk Pracetio <prazetyo@gmail.com> wrote:

At last..this problem can be solving. Usually when I typing creator name, it always on top and it make me difficult to select author name. But after I edit the 70_autocomplete.js at ~/lib/static/_javascript_/auto/, the autocomplete suggestion show at the bottom and it make easier to choose.

Btw, my eprints already 3.3.12 and it doesn't need to move that 70_autocomplete.js to ~/archives/ARCHIVEID/cfg/static/_javascript_/auto/, because I move to that directory and edit, it keep show on top of the page.

you can see my attachment.

Thank you

On Mon, Oct 13, 2014 at 8:07 PM, John Salter <J.Salter@leeds.ac.uk> wrote:

Note: To fix this the *right way*, you should:

copy

~/lib/static/_javascript_/auto/70_autocomplete.js

to

~/archives/ARCHIVEID/cfg/static/_javascript_/auto/

and edit the copy there.

 

When upgrading, you can check all the files in your local config and see if they are still needed (e.g. if this issue was resolved in 3.3.13, you could then remove the copy from ARCHIVEID/cfg/…).

 

The same method also applies to css stylesheets that are compiled into one file.

 

Cheers,

John

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Lizz Jennings
Sent: 13 October 2014 13:37
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: modify inline css for autocomplete suggestions

 

Hi Adi,

There's a fix needed in the _javascript_ file - the info is on the GitHub repo:

https://github.com/eprints/eprints/issues/130

Lizz

On 13/10/2014 13:29, kakodkar.aditya@gmail.com wrote:

Hi,

 

We have recently upgraded to eprints 3.3.12. After the upgrade our Journal name and another custom autocomplete field does not display the output of the autocomplete suggestions below the actual field. The suggestions are printed at the top of the page, with the following inline css:

 

style="position: absolute; top: 611px; width: 425px; display: none;”

 

Where can I modify this?

 

Thanks in advance for the help,

 

Regards,

 

Adi

 

 





*** 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/



-- 
Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2014)
Technical Data Officer
The Library 4.10, University of Bath, Bath, BA2 7AY UK
Ext. 3570 (External 01225 383570)
E.Jennings@bath.ac.uk

*** 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/




--
Life isn't valuable if you don't have someone to care
<2014-10-14_094743.png>*** 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/