Total members 10260 | Gratitudes |It is currently Mon May 21, 2012 4:55 pm Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Topic
 Topic subject: How to add Google plus button to smarty template (.tpl)
PostPosted: Wed Dec 14, 2011 12:53 am 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2277
Location: Earth
Has thanked: 39 time
Have thanks: 61 time

To add google plus button generated code or any javascript code you will need to use the {literal} tag

for instance :
Code:

{literal}
<
script>
function display(){
document.write(“javascript hello world <br/>);
}
</script>
{/literal}


or

Code:
{literal}
Your generated JavaScript code. 
{/literal}
 

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  


 Similar topics
 How can I increase the PageRank of my website on Google?
 Strong tag with button tag
 Radio Button list validation
 put image on button in C#
 how to rank in google
 impact on the Google PageRank?
 Google Talk
 disable button
 Google Chrome input file
 redirect page based on user selection radio button

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 3 guests



Jump to:  
Previous Topic | Next Topic 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team