Open peer35 opened 4 years ago
Reported this to Surf, they will take it up with Utrecht.
We actually have 2 places with logo's and stylesheets:
The code for the public(ation).yoda is in the ansible repo https://github.com/UtrechtUniversity/yoda (was called yoda-ansible, so I guess this is being refactored) Note that these are just a few static files copied over by the ansible scripts. Shouldn't they have their own repo?
Default portal styling we would need changes in repo: https://github.com/UtrechtUniversity/yoda-portal.git I think this one is just checked out as a whole.
On Utrecht roadmap and development has started (maybe in 1.7?)
Sent styling for publication.yoda.vu.nl start page and doi landing pages.
The landing pages were actually for version 1.6, still need to change the 1.5 xml templates:
Ok great, Lazlo confirmed it. These two files in iRODS need to be altered to change what you want to change:
/tempZone/yoda/schemas/emptylandingpage.xsl
and
/tempZone/yoda/schemas/default/landingpage.xsl
If you want, I can provide current copy of what is there, or you can get it yourself with icommands.
The same thing for putting it back in, we'll need to make sure permissions are good.
Hello Peter. I've gotten all the information, and I believe that server info is correct. I also received your second email. I'll be online tomorrow morning and can make the changes.
As to the XSD file for template formatting, you may need to run an "ichmod -M own USERNAME /path/to/file" to be able to modify them. Even as a rodsadmin account, you still have to directly take over files to be able to modify them, that's the -M flag that lets you do it as admin.
If you do, it's extremely important that the adjusted files still have a "public: READ" permission, which can be viewed using "ils -A". Without that, workflows cannot access the files for all users.
Regards Matthew
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/org$ ils -A
/tempZone/yoda/schemas:
ACL - rods#tempZone:own g:public#tempZone:read object
Inheritance - Enabled
emptylandingpage.xsl
ACL - public#tempZone:read object rods#tempZone:own
schema-for-xsd.xsd
ACL - public#tempZone:read object rods#tempZone:own
C- /tempZone/yoda/schemas/default
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates$ icd ..
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates$ iget -r schemas
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas$ icd /tempZone/yoda/schemas
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas$ ils
/tempZone/yoda/schemas:
emptylandingpage.xsl
schema-for-xsd.xsd
C- /tempZone/yoda/schemas/default
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas$ ils -A
/tempZone/yoda/schemas:
ACL - rods#tempZone:own g:public#tempZone:read object
Inheritance - Enabled
emptylandingpage.xsl
ACL - public#tempZone:read object rods#tempZone:own
schema-for-xsd.xsd
ACL - public#tempZone:read object rods#tempZone:own
C- /tempZone/yoda/schemas/default
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas$ ichmod -M own p.j.m.vos@vu.nl emptylandingpage.xsl
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas$ iput -f emptylandingpage.xsl
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas$ ils -A
/tempZone/yoda/schemas:
ACL - rods#tempZone:own g:public#tempZone:read object
Inheritance - Enabled
emptylandingpage.xsl
ACL - public#tempZone:read object p.j.m.vos@vu.nl#tempZone:own rods#tempZone:own
schema-for-xsd.xsd
ACL - public#tempZone:read object rods#tempZone:own
C- /tempZone/yoda/schemas/default
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ icd default
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ ils
/tempZone/yoda/schemas/default:
avu.xsl
datacite.xsl
landingpage.xsl
metadata.json
research.xsd
uischema.json
vault.xsd
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ ichmod -M own p.j.m.vos@vu.nl datacite.xsl
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ iput -f datacite.xsl
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ ichmod -M own p.j.m.vos@vu.nl landingpage.xsl
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ iput -f landingpage.xsl
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ ichmod -M own p.j.m.vos@vu.nl metadata.json
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ iput -f metadata.json
peter@PC051819:/mnt/c/Users/peter/Documents/yoda_templates/schemas/default$ ils -A
/tempZone/yoda/schemas/default:
ACL - rods#tempZone:own g:public#tempZone:read object
Inheritance - Enabled
avu.xsl
ACL - public#tempZone:read object rods#tempZone:own
datacite.xsl
ACL - public#tempZone:read object p.j.m.vos@vu.nl#tempZone:own rods#tempZone:own
landingpage.xsl
ACL - public#tempZone:read object p.j.m.vos@vu.nl#tempZone:own rods#tempZone:own
metadata.json
ACL - public#tempZone:read object p.j.m.vos@vu.nl#tempZone:own rods#tempZone:own
research.xsd
ACL - public#tempZone:read object rods#tempZone:own
uischema.json
ACL - public#tempZone:read object rods#tempZone:own
vault.xsd
ACL - public#tempZone:read object rods#tempZone:own
Update metadata in Yoda portal https://portal.yoda.vu.nl/vault/metadata/form?path=%2Fvault-test%2Fsaum-prod-test%5B1605610497%5D&mode=edit_in_vault
emptylandingpage.xsl
= landing page for depublished datasets, changed "Utrecht University" and RDM support link
landingpage.xsl
= dataset landing page, changed "Utrecht University" and RDM support link
datacite.xsl
= datacite metadata tranform, changed hardcoded publisher
field
metadata.json
= metadata template, changed default affilitation
https://publication.yoda.vu.nl seems to have reverted...
We would like a custom css so we can implement our own background colors, fonts and correctly sized logo.
The css in Yoda looks a bit messy, so some cleanup might be needed.