Adding a gallery

ozbod
Sr. Bludit
Posts: 35
Joined: Sat Jun 15, 2019 10:26 am
Location: Stamford, UK
Contact:

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]
User avatar
Renaud
Sr. Bludit
Posts: 48
Joined: Tue Feb 19, 2019 9:08 pm

:D :D :D
ozbod
Sr. Bludit
Posts: 35
Joined: Sat Jun 15, 2019 10:26 am
Location: Stamford, UK
Contact:

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
ozbod
Sr. Bludit
Posts: 35
Joined: Sat Jun 15, 2019 10:26 am
Location: Stamford, UK
Contact:

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
kohbarg
Sr. Bludit
Posts: 33
Joined: Tue Jun 11, 2019 11:36 am
Has thanked: 2 times
Been thanked: 2 times

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(); ?>
User avatar
Renaud
Sr. Bludit
Posts: 48
Joined: Tue Feb 19, 2019 9:08 pm

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! ;)
ozbod
Sr. Bludit
Posts: 35
Joined: Sat Jun 15, 2019 10:26 am
Location: Stamford, UK
Contact:

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(); ?>
Post Reply