Page 4 of 4

Re: Adding a gallery

Posted: Fri Jul 12, 2019 11:02 am
by ozbod
Ah ha, I think I have it working now, the problem was no JQuery. I found a reference to this on the getsimple cms forum which gave me the clue.

I added this code:

Code: Select all

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
into the bl-themes/blekathlon/php/footer.php as shown below:

Code: Select all

<footer class="site-footer main-padding text-center smaller-font-size">
    <div class="site-info main-width">
        <div class="text-center text-white text-uppercase">
            <?php echo $site->footer(); ?>
            <span class="sep"> | </span>
            <span>
                Powered by <a target="_blank" class="text-white" href="https://www.bludit.com">Bludit</a> &amp; <a target="_blank" class="text-white" href="https://blthemes.pp.ua">Blekathlon</a>
            </span>
        </div>
    </div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
	var uploadsFolder = '<?php echo HTML_PATH_UPLOADS; ?>';
</script>[color=#FF0000][/color]

Re: Adding a gallery

Posted: Fri Jul 12, 2019 11:19 am
by Renaud
:D :D :D

Re: Adding a gallery

Posted: Fri Jul 12, 2019 5:31 pm
by ozbod
Thanks Renaud,

your help was very much appreciated, I have now upgraded to Pro and have done my first good migration to new domain :D
Cheers
Dave

Re: Adding a gallery

Posted: Fri Jul 26, 2019 1:24 pm
by ozbod
Hello Renaud,

I thought I would share this gallery I have just created with you because without your help it would exist:
https://palletwoodstuff.co.uk/auricula- ... ge-gallery

All the best
Dave

Re: Adding a gallery

Posted: Fri Jul 26, 2019 11:56 pm
by kohbarg
the problem was no JQuery. I found a reference to this on the getsimple cms forum which gave me the clue.
By the way: You can use the jquery-library inside the bludit core for your theme.

Code: Select all

</footer> //end of footer	
	<!-- Include Jquery file from Bludit Core -->
	<?php echo Theme::jquery(); ?>

Re: Adding a gallery

Posted: Sat Jul 27, 2019 5:00 am
by Renaud
ozbod wrote: Fri Jul 26, 2019 1:24 pm Hello Renaud,

I thought I would share this gallery I have just created with you because without your help it would exist:
https://palletwoodstuff.co.uk/auricula- ... ge-gallery

All the best
Dave
Thank you, nice job! ;)

Re: Adding a gallery

Posted: Sat Jul 27, 2019 8:05 am
by ozbod
Thankyou kohbarg, I have used this in my theme and it works great :D
Cheers
Dave
kohbarg wrote: Fri Jul 26, 2019 11:56 pm
the problem was no JQuery. I found a reference to this on the getsimple cms forum which gave me the clue.
By the way: You can use the jquery-library inside the bludit core for your theme.

Code: Select all

</footer> //end of footer	
	<!-- Include Jquery file from Bludit Core -->
	<?php echo Theme::jquery(); ?>