Post by leetvape » Fri Jan 06, 2012 5:55 am

I cannot get this to work for the life of me and I am about to poop kittens.

What am I doing wrong? Here is my code:

Image

I have wrapped the javascript in php. When I refresh the page, I get this error:

"Parse error: syntax error, unexpected '<' in /home/leetvape/public_html/catalog/view/theme/gray/template/common/footer.tpl on line 34"

Very frustrating and I know it's some simple, silly syntax error that just isn't processing in my brain.

SOS!

Thanks in advance,

-Jordan
Last edited by leetvape on Sat Jan 07, 2012 2:54 am, edited 1 time in total.

New member

Posts

Joined
Fri Dec 30, 2011 5:40 am

Post by billyggla » Fri Jan 06, 2012 11:28 am

Try this

Code: Select all

<?php echo '<script type="text/javascript">Seal("http://www.leetvape.com/image/website_seal_small.gif", "GSSL", "none");</script>'; ?>

Active Member

Posts

Joined
Mon Sep 20, 2010 7:05 am

Post by leetvape » Fri Jan 06, 2012 11:24 pm

Image

Doesn't break the site but nothing shows up either:

Image

Bah!

New member

Posts

Joined
Fri Dec 30, 2011 5:40 am

Post by billyggla » Sat Jan 07, 2012 2:17 am

Try changing to this

Code: Select all

<?php echo '<script type="text/javascript">Seal("https://leetvape.com/image/website_seal_small.gif", "GSSL", "none");</script>'; ?>

Active Member

Posts

Joined
Mon Sep 20, 2010 7:05 am

Post by leetvape » Sat Jan 07, 2012 2:54 am

Got it! Thanks a million! <script> tag needed https and in my header.tpl the script tag was on two lines and the php was breaking it. Moved the javascript call in the header to one solid line with no gaps between >< and it works! Woo!

New member

Posts

Joined
Fri Dec 30, 2011 5:40 am

Post by victorj » Sun Jan 08, 2012 4:44 am

Your ssl is still not working okay still some items are send through http

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland
Who is online

Users browsing this forum: No registered users and 12 guests