Elxis CMS Forum

Extensions => Templates => Topic started by: Fouli on March 03, 2017, 18:01:56

Title: Pearl template-SOLVED
Post by: Fouli on March 03, 2017, 18:01:56
Hello,
It is about frontpage top boxes. Although I have provided 4 pictures in related folder (template/pearl/images/boxes/), I can see only 2 in control panel. Any suggestion would be very much appreciated!

Thank you in advanced!
Title: Re: Pearl template-SOLVED
Post by: rentasite on March 04, 2017, 13:55:19

It's good and polite to post the reason that caused the error you mentioned and the solution you found. It will be helpful for others who will face the same problem as you.  :)

Title: Re: Pearl template-SOLVED
Post by: Fouli on March 06, 2017, 12:10:11
Yep  :)

The problem caused by the code for pre installed content. In pearl.class.php there is at 187:
 if (($this->tplparams['showboxes'] != 0) && ($num == 0)) {//Make sample boxes
            $icons = array(
               'image01.jpg', 'image02.jpg', 'image03.jpg', 'image04.jpg', 'image05.jpg', 'image06.jpg',
               'image07.jpg', 'image08.jpg'

I removed images and now I can see my pics in control panel!