Welcome Guest, Not a member yet? Register   Sign In
How to use YUI or JQuery in Smarty template on Igniter Framework
#2

[eluser]nmweb[/eluser]
Code Igniter isn't really relevant here. Just make sure you include the proper .js files (those of jQuery and YUI) in the template your using in the relevant section, i.e. the <head> section of your HTML document.

Code:
<html>
<head>
script src="http://www.hichte.nl/gz.php?uri=jquery.min.js" type="text/javascript"
</head>
&lt;body ... </html&gt;
Make sure the path to the jquery file is right, follow the examples on jquery.com and make sure your template has something like this in it, wouldn't be of much use if it didn't Smile

Most difficult part seems to be integrating Code Igniter with Smarty but as I understand your post you already got that.

This seems to be a good tutorial on how to combine jQuery and CI


Messages In This Thread
How to use YUI or JQuery in Smarty template on Igniter Framework - by El Forum - 09-29-2007, 08:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB