Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change copyright text for a dictionary to be a field so that the same text is entered in different locations on the website #737

Open
peteroatley opened this issue Oct 31, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@peteroatley
Copy link
Collaborator

peteroatley commented Oct 31, 2024

Currently the copyright text for a dictionary is entered in three different places. We would like this to be changed so that the text is entered on the Webonary Super Admin page and a custom field, short-code or something else is available to place on the website pages.

The locations of the copyright text are:
Dictionary footer
https://www.webonary.org/test-oatley/wp-admin/themes.php?page=themezee

Dictionary copyright page
https://www.webonary.org/test-oatley/overview/copyright/

Display all sites page
https://www.webonary.org/display-all-sites/

@peteroatley peteroatley converted this from a draft issue Oct 31, 2024
@peteroatley peteroatley added the enhancement New feature or request label Oct 31, 2024
@peteroatley
Copy link
Collaborator Author

@phillip-hopper We had a look at the copyright field and found the following issues:

  1. The footer should show the dictionary name and, year and copyright symbol and then the contents of the [copyright] shortcode.
    e.g. French Dictionary (c) 2024 SIL Global At the moment it only shows the text from the application form.
    Image

Image

So, the copyright field shouldn't contain the whole copyright notice just the name of the copyright holder.

  1. The Application form text isn't being transferred to the Copyright field in the Webonary plugin.
    Image

@phillip-hopper
Copy link
Collaborator

@peter, what is the name of the field (case sensitive) of the field on the application form?

Also, does the work done already satisfy the requirements as originally set forth in this issue?

@peteroatley
Copy link
Collaborator Author

@phillip-hopper The copyright field on the form is "copyright-holder".

I tried the short-code in the Footer and on the copyright page and it works fine. The comment above about the footer is a request that when a website is created that the dictionary name and current year go into the footer with the copyright short-code. Is this possible?
Image

The Display All Sites table does currently display the copyright information but it must be from a different field since the short-code information is currently empty.

I guess another thing to do is to copy the current copyright information into the new field for existing dictionaries.

Thanks

@phillip-hopper phillip-hopper moved this from In progress to Ready to review: .Work in Webonary Development Dec 7, 2024
@peteroatley peteroatley moved this from Ready to review: .Work to Reviewer approved : Move to Prod in Webonary Development Dec 13, 2024
@phillip-hopper phillip-hopper moved this from Reviewer approved : Move to Prod to Ready to review: Production in Webonary Development Dec 17, 2024
@peteroatley peteroatley moved this from Ready to review: Production to Done - Working in Prod in Webonary Development Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done - Working in Prod
Development

No branches or pull requests

2 participants