![]() |
![]() |
![]() |
|
|||||||
| Common Questions Latest releases, patches, bugfixes and changes in eSyndiCat Directory Software free version. Feel really frustrated after having spent several hours trying to figure out what went wrong with your directory? Wait no more! Click the link above and post your issues. Right here. Right now. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Join Date: Mar 2007
Posts: 95
![]() |
i have a java tracking script i want to place so it tracks and retains all visitors information on all pages created,where would i place the java script without messing anything up.
Thanks |
|
|
|
|
|
#2 |
|
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,568
![]() |
Hello Bizfinder,
Try to place your java tracking script in templates/yourTemplate/footer.tpl. In the bottom of the page you will find another JavaScript code. You can try to place your code before or below that code. If you point me out what code you want to use(google analytic or something else), I will show you exact place for it. |
|
|
|
|
|
#3 | |
|
Join Date: Mar 2007
Posts: 95
![]() |
Quote:
|
|
|
|
|
|
|
#4 | |
|
Join Date: May 2010
Posts: 2
![]() |
Quote:
Sorry - I find it. THX Last edited by dtp3; 06-06-2010 at 05:38 PM. |
|
|
|
|
|
|
#5 |
|
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,568
![]() |
You're welcome Bizfinder!
|
|
|
|
|
|
#6 |
|
Join Date: Jul 2007
Location: UK
Posts: 17
![]() |
Hi,
I have this issue, I have 2 things to add. 1 is a javascript tracking code and the other is a java snippet that make a pop under. Neither will work. I have tried placing in /mytemplate/footer.tpl as suggested and all I get is a smarty error appearing in the footer. I have tried placing the script as suggested before the existing esyndicate script in the footer and after it as well as in other places and all i get is smarty errors after adding. Can someone advise as I really need to get my tracking code on all pages and the pop under on the index page. I'm surprised it seems to be such a problem to do such a common thing. Any suggestions appreciated Ta |
|
|
|
|
|
#7 |
|
Join Date: Jul 2007
Location: UK
Posts: 17
![]() |
Forgot to say, I am running Pro v2.3.02 All of the previous posts that answer this question relate to older versions so are no help as not relevant as the files and locations suggested to add the scripts in previous posts no longer exist in the later version (I am running clean CSS script). Thanks
|
|
|
|
|
|
#8 |
|
Super Moderator
Join Date: Oct 2005
Location: (California)
Posts: 5,299
![]() ![]() ![]() ![]() |
Try this rich:
http://www.esyndicat.com/forum/showt...ral#post104361 In the future, please post your questions here: (thanks) http://www.esyndicat.com/forum/forum-81.html |
|
|
|
|
|
#9 |
|
Join Date: Jul 2007
Location: UK
Posts: 17
![]() |
Hi Greg,
As I mentioned, I saw this in other posts and the problem is I do not have the tags {literal}{/literal} in my version. I have pasted a copy of my footer code which is from the clean CSS template below. You can see the {literal} does not exist ?? Also, I appreciate you saying to post in the other category but I just responded to an existing post so have no way to change the category. Thanks <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" style="width: 50%;"> <div id="user1Blocks" class="groupWrapper"> {include file="parse-blocks.tpl" pos=$user1Blocks|default:null} </div> </td> <td valign="top" style="width: 50%; padding-left: 10px;"> <div id="user2Blocks" class="groupWrapper"> {include file="parse-blocks.tpl" pos=$user2Blocks|default:null} </div> </td> </tr> </table> <div id="bottomBlocks" class="groupWrapper"> {include file="parse-blocks.tpl" pos=$bottomBlocks|default:null} </div> </td> <td class="right-column" valign="top"> <div id="rightBlocks" class="groupWrapper"> {include file="parse-blocks.tpl" pos=$rightBlocks|default:null} </div> </td> </tr> </table> <!-- verybottom block --> <div id="verybottomBlocks" class="groupWrapper"> {include file="parse-blocks.tpl" pos=$verybottomBlocks|default:null} </div> <!-- verybottom block --> </div> <!-- content end --> <!-- footer start --> <div class="footer"> {esynHooker name="beforeFooterLinks"} {foreach from=$menus.bottom item=menu name="bottom_menu"} {if $menu.name eq $smarty.const.ESYN_REALM} {$menu.title} {else} <a href="{$menu.url}"{if isset($menu.nofollow)}{$menu.nofollow}{/if}>{$menu.title}</a> {/if} {if not $smarty.foreach.bottom_menu.last} | {/if} {/foreach} {esynHooker name="afterFooterLinks"} <div class="copyright">© {$smarty.server.REQUEST_TIME|date_format:"%Y"} Naughty-Expert</div> </div> <!-- footer end --> </div> <!-- main page end --> <noscript> <div class="js_notification">{$lang.error_javascript}</div> </noscript> {print_img full=true fl="ajax-loader.gif" id="spinner" style="display:none;"} <!-- thumbs preview start --> <div class="thumb"> <div class="loading" style="display: none;">{print_img fl="spinner.gif" full=true class="spinner"}</div> </div> <!-- thumbs preview end --> {esynHooker name="footerBeforeIncludeJs"} {include_file js="js/intelli/intelli.minmax, js/intelli/intelli.thumbs, js/intelli/intelli.search, js/intelli/intelli.common, js/frontend/footer"} {if $manageMode} <div id="mod_box" class="mode"> {$lang.youre_in_manage_mode}. <a href="?switchToNormalMode=y" style="font-weight: bold; color: #FFF;">{$lang.exit}</a> </div> {include_file js="js/frontend/visual-mode"} {/if} {if isset($smarty.get.preview) || isset($smarty.session.preview)} <div id="mod_box" class="mode"> {$lang.youre_in_preview_mode} <a href="?switchToNormalMode=y" style="font-weight: bold; color: #FFF;">{$lang.exit}</a> </div> {/if} {esynHooker name="beforeCloseTag"} </body> </html> |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|