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!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok