Copying customisations to new atom server

16 views
Skip to first unread message

Bravismore Mumanyi

unread,
Mar 4, 2021, 6:04:12 AM3/4/21
to ica-ato...@googlegroups.com
Dear Atom Users

I have made changes to _footer.php and _header.php under the following folder.

/usr/share/nginx/atom/apps/qubit/templates

I do have the "arDominionPlugin" theme enabled. 
I did clear cache and restarted nginx but the changes are not being picked up in the web UI.

Kindly provide pointers to get this to work.

Regards


Monica Wood

unread,
Mar 4, 2021, 6:20:40 AM3/4/21
to ica-ato...@googlegroups.com

Hi,

 

You might need to restart php7.*-fpm service.

I would also suggest you don’t edit the template files directly, as when you upgrade in the future, these files will be overwritten.

You should instead copy these files to a theme plugin and edit them there.

Have a look at this documentation:

https://www.accesstomemory.org/en/docs/2.6/admin-manual/customization/theming/

 

You can also look at the code for arArchivesCanadaPlugin and how they have edited the _header.php in this theme.

 

Cheers,

Monica Wood

Library Applications Administrator

Library | Academic Division

University of Tasmania

Private Bag 25, Hobart TAS 7001

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAAEWFHTWm6Q0B9NeCbpEB1spfx9kt4xtjzq5f5cdHQ5BgK7x%3Dw%40mail.gmail.com.



University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.

Bravismore Mumanyi

unread,
Mar 4, 2021, 8:16:29 AM3/4/21
to ica-ato...@googlegroups.com
Thanks Monica!

Restarting fpm service did the magic.
I will follow best practice on customisations.

Well appreciated

Reply all
Reply to author
Forward
0 new messages