OPENDAP / Website

template repo for website project management
0 stars 0 forks source link

Links from the Hyrax server's web form are broken. #39

Closed jgallagher59701 closed 2 months ago

jgallagher59701 commented 4 months ago

While looking at this old site https://nosc.go.kr/opendap/ (https://nosc.go.kr/main.do) running 1.16.3, I found that links to the help items are dead (e.g., https://www.opendap.org/online_help_files/opendap_form_help.html#global_attr).

I checked the latest deployment (test.opendap.org), and they are dead there, too.

jgallagher59701 commented 4 months ago

See also Issue #15

Mikejmnez commented 4 months ago

@jahattox Is there a way to customize the name of anchor links? For example, how can I rename the anchor link #single_column_content-5 to something else in the example below?

Image

Mikejmnez commented 4 months ago

@jahattox Is there a way to customize the name of anchor links? For example, how can I rename the anchor link

single_column_content-5 to something else in the example below?

Actually nevermind - James helped me learned how to :)

Mikejmnez commented 4 months ago

Done! Two things needed to happen to fix this issue:

  1. Create anchor links for each of the options on the Data Response Form: actions (#disposition), data url (#data_url), Global Attributes (#global_attr), Global dimensions (#shared_dimesions), and Variables (#dataset_variables).
  2. Create a redirect from the url associated to the response form (www.opendap.org/online_help_files/opendap-help-files.html to the new page www.opendap.org/support/online_help_files).

I checked and things are working as expected.

jgallagher59701 commented 2 months ago

The problem I see with the anchors is maybe a WordPress issue, but I think they (WordPress) must have solved this already.

When I am in the form and click one of the linked bits of text (e.g., Variables) on the left, the page looks like: Image The top page of the text about variables is behind the page header. I have to know that and scroll up to read the first few sentences. That is: Image

Mikejmnez commented 1 month ago

I have not find a way to fix this. I recently created anchors to the 3 ways to download the hyrax server (for example the one to the Docker images), and despite spending some good time trying to figure out how to do this, I couldn't. I will tackle again soon.