stilv Posted January 21, 2012 Share Posted January 21, 2012 am i doing something wrong? ok php tags working had to change the code to {php} include('pages/intro.txt'); {/php} ** but facebox is not, am i doing something working? header.tpl <link rel=alternate type=application/rss+xml title=Las Vegas and Henderson Pest Control href=http://feeds.feedburner.com/Las-Vegas/Pest-Control /> <link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" /> <link rel="stylesheet" type="text/css" href="templates/{$template}/extra.css" /> <link rel="stylesheet" type="text/css" href="templates/{$template}/glossy-buttons.css" /> <!-- The Pop --> {literal} <script src="templates/{$template}/jquery.js" type="text/javascript"></script> {/literal} <link href="templates/{$template}/facebox.css" media="screen" rel="stylesheet" type="text/css"/> {literal} <script src="templates/{$template}/facebox.js" type="text/javascript"></script> {/literal} homepage.tpl {literal} <script type="text/javascript"> jQuery(document).ready(function($) { $('a[rel*=facebox]').facebox() }) </script> {/literal} <div class="downarrowdiv"> {php} include('pages/intro.txt'); {/php} </div> 0 Quote Link to comment Share on other sites More sharing options...
k1ng440 Posted January 24, 2012 Share Posted January 24, 2012 link please 0 Quote Link to comment Share on other sites More sharing options...
k1ng440 Posted January 24, 2012 Share Posted January 24, 2012 (edited) Please read http://www.smarty.net/docsv2/en/language.function.literal.tpl <link rel="alternate" type="application/rss+xml" title="Las Vegas and Henderson Pest Control" href="http://feeds.feedburner.com/Las-Vegas/Pest-Control" /> <link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" /> <link rel="stylesheet" type="text/css" href="templates/{$template}/extra.css" /> <link rel="stylesheet" type="text/css" href="templates/{$template}/glossy-buttons.css" /> <!-- The Pop --> <script src="templates/{$template}/jquery.js" type="text/javascript"></script> <link href="templates/{$template}/facebox.css" media="screen" rel="stylesheet" type="text/css"/> <script src="templates/{$template}/facebox.js" type="text/javascript"></script> {literal} <script type="text/javascript"> $(function(){$('a[rel="facebox"]').facebox(); }); </script> {/literal} <div class="downarrowdiv"> {php} echo file_get_contents('pages/intro.txt');{/php} </div> should be fixed Edited January 24, 2012 by k1ng440 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.