forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: EndlessQuest on April 14, 2014, 04:47:58 pm

Title: Album layout distorted
Post by: EndlessQuest on April 14, 2014, 04:47:58 pm
Dear readers,

I suddenly (and unexplainably) have a strange distortion on my gallery. Strangely enough, it does not happen on all albums or all the pages of an album. For example;

This Album: http://www.richards-fotos.nl/coppermine/thumbnails.php?album=64 . The menu should be on the left, but as you can see, it is completely distorted.

This Album: http://www.richards-fotos.nl/coppermine/thumbnails.php?album=63 . The layout for this album is exactly as it should.

I do not understand what could be causing the problem.

Who can help me?

Title: Re: Album layout distorted
Post by: Αndré on April 22, 2014, 02:49:07 pm
Layout looks the same and I guess as expected in both albums (tested with Firefox 28). Please delete your browser cache and attach the screenshot to your next reply, if the error still exists.
Title: Re: Album layout distorted
Post by: EndlessQuest on April 22, 2014, 03:06:04 pm
Hi André,

thanks for your reply. Both galleries look the same indeed. Strange...

I discovered however, that in another album, there is also a distortion that is not fixed after cleaning the cache. Strangely enough, al pages of the album are ok, except for page 6.

I added a screen shot of what it looks like on both IE 9 and Chrome.

Here is the link; http://www.richards-fotos.nl/coppermine/thumbnails.php?album=27&page=6
Title: Re: Album layout distorted
Post by: Αndré on April 22, 2014, 03:21:31 pm
Another user had exactly that issue some weeks ago (German thread (http://forum.coppermine-gallery.net/index.php/topic,77189.msg373076.html#msg373076)). It was caused by a custom function which truncates text.

Please have a look at themes/chaoticsoul/theme.php file, find the function call(s) myTruncate and remove the third parameter (or use the attached theme.php file). That fixed the issue in the other thread, so I assume it will also fix it for you.
Title: Re: Album layout distorted
Post by: EndlessQuest on April 22, 2014, 03:38:27 pm
Hi André,

The problem is indeed fixed by changing the parameters of the myTruncate in the theme.php file.

Thank you very much!