General
Tracy
11/10/25, 1:32:58 PM EST
I already did what Cristobal suggested. If you have another way that you prefer we hide Youth Programs, Events and Collections from teh top tabs, please let me know the specific instructions for the tabs specifically, where are these permissions?
Tracy
11/12/25, 1:29:51 PM EST
Hello. We have found that in the latest version of EnterMedia there were changes to galleries that we were not aware of and it is impacting the existing galleries that we have published in Drupal.
1. It appears that "Show Download Button" is a checkbox that is not checked by default. As a result, we have to edit all galleries to check this box so that the images are downloadable from the Drupal gallery
2. New checkbox "Show Image Captions (visible on popup)", this feature, which is unchecked by default, is causing problems on the Drupal side when we do check it. It is the data-caption attribute conflicting in CK editor.
Can you explain why these changes were made?
1. It appears that "Show Download Button" is a checkbox that is not checked by default. As a result, we have to edit all galleries to check this box so that the images are downloadable from the Drupal gallery
2. New checkbox "Show Image Captions (visible on popup)", this feature, which is unchecked by default, is causing problems on the Drupal side when we do check it. It is the data-caption attribute conflicting in CK editor.
Can you explain why these changes were made?
Cristobal M
11/13/25, 1:23:36 PM EST
Hello Tracy, well changes are being made on Galleries to improve them, we are currently working on more features right now.
#1 - Yes, the default behiviors for settings like the download button is set to false by default
#2 - Can you describe how the "data-caption" is conflicting in the CK editor? It is marking an error? If you still have the Dev site up please let us know where we can take a look into the issue to see how we can help fixing it.
#1 - Yes, the default behiviors for settings like the download button is set to false by default
#2 - Can you describe how the "data-caption" is conflicting in the CK editor? It is marking an error? If you still have the Dev site up please let us know where we can take a look into the issue to see how we can help fixing it.
Tracy
11/13/25, 3:56:30 PM EST
Hello. When we are receiving the image wrapped in link with data-caption attributes, in drupal a template {themes\contrib\classy\templates\content-edit\filter-caption.html.twig} is getting called and it is converting the image structure to figure.
* Theme override for a filter caption.
*
* Returns HTML for a captioned image, audio, video or other tag.
<figure role="group" class="caption caption-{{ tag }}{%- if classes %} {{ classes }}{%- endif %}">
{{ node }}
<figcaption>{{ caption }}</figcaption>
</figure>
* Theme override for a filter caption.
*
* Returns HTML for a captioned image, audio, video or other tag.
<figure role="group" class="caption caption-{{ tag }}{%- if classes %} {{ classes }}{%- endif %}">
{{ node }}
<figcaption>{{ caption }}</figcaption>
</figure>
Tracy
11/13/25, 3:57:14 PM EST
This is not happening with the images without data-caption attribute.
Cristobal M
11/13/25, 5:17:21 PM EST
Ok, I see, Drupal HTML formater is takig the caption and creating the figure. There are 2 soluctions for that:
1) This module/plugin is using the "full_html" Filter that should prevent using the caption, review your install and see if the filter_caption is disabled.
2) In a new version of this module we are wroking on, we are using a custom #Filter for the fields in the module where we force the caption to be disabled, you can integrate that into the plugin too.
Are you running a custom version of our drupal plugin or using the same version we have? We may include that in the plugin in our side so it can be tested first.
1) This module/plugin is using the "full_html" Filter that should prevent using the caption, review your install and see if the filter_caption is disabled.
2) In a new version of this module we are wroking on, we are using a custom #Filter for the fields in the module where we force the caption to be disabled, you can integrate that into the plugin too.
Are you running a custom version of our drupal plugin or using the same version we have? We may include that in the plugin in our side so it can be tested first.
Tracy
11/17/25, 1:08:18 PM EST
Hi Cristobal. We have addressed the caption issue. As a separate note, the client is reporting that they are getting an errror when they try to download assets from EnterMedia. I cannot reproduce it, and I asked the to try again, and they are still getting the error, 2 different user roles (Archivist and Subarchivist).
One user is getting a loading animation that seems to just go on forever, and another use (subarchivist) is getting the error
404. That’s an error.
The requested URL /assets/mediadb/theme/layouts/application.html was not found on this server. That’s all we know.
Clicked from:
>https://agbuassetlibrary.entermediadb.net/
Can you look on your end and see if you see anything out of the normal in the logs? I don't know how to help them. I have trying impersonating both users, and tried downloading the same asset without issue.
One user is getting a loading animation that seems to just go on forever, and another use (subarchivist) is getting the error
404. That’s an error.
The requested URL /assets/mediadb/theme/layouts/application.html was not found on this server. That’s all we know.
Clicked from:
>https://agbuassetlibrary.entermediadb.net/
Can you look on your end and see if you see anything out of the normal in the logs? I don't know how to help them. I have trying impersonating both users, and tried downloading the same asset without issue.
Tracy
11/17/25, 1:12:50 PM EST
users alex distasi (archivist) and giovanni bernal (subarchivist) - could it be a corrupt queue or something?
Tracy
11/18/25, 9:20:29 AM EST
Hello. Please let us know if there is a user download queue that you can clear or something to help these users?
Cristobal M
11/18/25, 10:47:28 AM EST
Hello, I manually removed (directly in the Order table) some yesterday's orders still marked as "new" since yesterday. I did the same login in as him and download couple assets with no issue. I think we need to know how he is doing the downloads step by step to try to identify the issue. Like he is adding the assets to a basket, then checkout, then once approved were he is clicking to download.
Cristobal M
11/19/25, 11:08:14 AM EST
Hello Tracy,
It’s hard to see, but in the last screenshot you shared here and in the email we found the answer: they are navigating the wrong site. They should be using dam.agbu.org, but they are using agbuassetlibrary.entermediadb.net.
Internally, dams.agbu.org is the site’s root domain. All other domains (like agbuassetlibrary…, agbu-a…, agbu-b…) are used only for DNS and development purposes.
You and I were not able to reproduce the issue because we are authenticated in both domains (dams and agbuassetlibrary), so download permissions work correctly for us on both.
Anyway, I set up a redirect from agbuassetlibrary to dam.agbu.org. They will be asked to log in again on that domain, and that should fix this whole download mystery.
It’s hard to see, but in the last screenshot you shared here and in the email we found the answer: they are navigating the wrong site. They should be using dam.agbu.org, but they are using agbuassetlibrary.entermediadb.net.
Internally, dams.agbu.org is the site’s root domain. All other domains (like agbuassetlibrary…, agbu-a…, agbu-b…) are used only for DNS and development purposes.
You and I were not able to reproduce the issue because we are authenticated in both domains (dams and agbuassetlibrary), so download permissions work correctly for us on both.
Anyway, I set up a redirect from agbuassetlibrary to dam.agbu.org. They will be asked to log in again on that domain, and that should fix this whole download mystery.
Tracy
11/19/25, 11:32:35 AM EST
Thank you. I had tested with both domains yesterday and still could not reproduce, but i did tell them to please use dam.agbu.org moving forward.
Processing...