1. ellector
  2. Commercial Templates
  3. Monday, 09 October 2023
  4.  Subscribe via email
I have purchased and installed your template. And all I get is a 500 error

BEHAVIOR:: CAPTION NOT FOUND

I don't know what I am doing wrong.
I have seen in the forum some similar error. I see that you seem to indicate a script, but I don't know in which file it has to be inserted and if the error is the same.
Thank you very much in advance

Carles Codina
References
  1. http://www.ellector.com
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

It appears your template overrides are not getting updated. To amend, could you try deleting your template html folder (../templates/J51_skylar/html and then re-installing the template.

If this does not resolve the issue, may I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Carles,

I had the following problem with SKYLAR_J4: In the J3 version, I had used class "caption" to get (formatted) captions under my pictures. In the J4 version, this didn't work. To solve the problem, Ciaran privided me with the following scripf:

<script>
document.addEventListener("DOMContentLoaded", function() {
const imgs = document.querySelectorAll(".maincontent img.caption");

for (const img of imgs) {
const caption = document.createElement("p");
caption.classList.add("img_caption");
caption.innerText = img.getAttribute("title");
img.after(caption);
}
});
</script>

This script has to be placed here:
Skylar_J4_Custom_Code_Caption.jpg

I'm not quite sure whether this helps.

Regards
Rolf
Attachments (1)
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!