Hello friends;
I have my gallery finally working perfectly on 1.6.19 updated from 1.5.48. However, I notice a problem where the "latest files" and "most viewed" are displayed outside the margins. The rest of the gallery looks perfect, I imagine it must be a problem with the chaoticsoul theme but I don't know how I can correct it. Can someone guide me?
This is the problems;
https://www.adolfoventas.es/galeria/thumbnails.php?album=lastup&cat=0
https://www.adolfoventas.es/galeria/thumbnails.php?album=topn&cat=0
Any other category or album is displayed perfectly, for example;
https://www.adolfoventas.es/galeria/thumbnails.php?album=42
Thanks! :)
That theme has some code that is inappropriately modifying the thumbnail caption html. Easiest thing to do is to render it non-functional.
In the theme's theme.php file, at about line 1164, change:
function myTruncate($string, $limit, $break=".", $pad="...</span>")
{
// return with no change if string is shorter than $limit
to:
function myTruncate($string, $limit, $break=".", $pad="...</span>")
{ return $string;
// return with no change if string is shorter than $limit
Quote from: ron4mac on August 28, 2022, 08:01:48 PM
That theme has some code that is inappropriately modifying the thumbnail caption html. Easiest thing to do is to render it non-functional.
In the theme's theme.php file, at about line 1164, change:
function myTruncate($string, $limit, $break=".", $pad="...</span>")
{
// return with no change if string is shorter than $limit
to:
function myTruncate($string, $limit, $break=".", $pad="...</span>")
{ return $string;
// return with no change if string is shorter than $limit
Fixed!, you are a genius!! ;D ;D