Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs Utiliser (literal) balises Smarty pour ajouter Google Analytics Tracking Code à Blogsome blogs hébergés

BlogSome is a free WordPress based web hosting service, which has been a popular choice before arrival of WordPress.com for bloggers who want a WordPress blogging platform without forking out a dime. Blogsome libre WordPress est un service Web basé sur l'hébergement, qui a été un choix populaire avant l'arrivée des WordPress.com pour les bloggers qui veulent une plateforme de blogs WordPress sans fork un sou. Even BlogSome still uses the legacy WordPress version 1.5.1-alpha, it still attract some bloggers as it allows blogger to add and place own ads such as Google AdSense on the blog. Même Blogsome utilise toujours la version de WordPress 1.5.1-alpha héritage, il attirent encore certains blogueurs, car elle permet d'ajouter blogueur et le lieu propres annonces, tels que Google AdSense sur le blog.

BlogSome has been using Smarty template engine as its presentation framework. Blogsome a utilisé le moteur de template Smarty comme cadre de présentation. As a result, when user adds Google Analytics tracking code by placing either new tracking code (ga.js) or legacy tracking code (urchin.js) in BlogSome HTM source code (accessible via Manager -> Files), the following error occurs when any web pages on the blog is opened or visited. En conséquence, lorsque l'utilisateur ajoute un code de suivi Google Analytics en plaçant une ou l'autre nouveau code de suivi (ga.js) ou code de suivi existants (urchin.js) dans Blogsome code source HTM (accessible via le Manager -> Fichiers), l'erreur suivante se produit lorsque toutes les pages Web sur le blog est ouvert ou visités.

Smarty syntax error Smarty erreur de syntaxe

File index.html, line 280: syntax error: Fichier "index.html", line 280: erreur de syntaxe:
unrecognized tag 'var' var unrecognized tag '

If you own this blog, and wish to fix this problem, you can log in here. Si vous possédez ce blog, et que vous souhaitez corriger ce problème, vous pouvez vous connecter ici.

Google Analytics Tracking Code BlogSome Error

The error happens because Smarty template engine attempts to translate and interpret some keywords in Google Analytics tracking code that conflict with Smarty template delimiter syntax. L'erreur se produit parce que moteur de template Smarty tente de traduire et d'interpréter certains mots clés dans Google Analytics code de suivi qui sont en conflit avec template Smarty délimiteur de syntaxe. As a workaround, Smarty does provide tags, Pour contourner ce problème, Smarty ne fournit tags, {literal} and {/literal} (literal) et (/ literal) , which allows a block of data to be taken literally. , Qui permet à un bloc de données qui doivent être prises littéralement.

{literal} tags are typically used around Javascript or stylesheet blocks where {curly braces} would interfere with the template delimiter syntax. (literal) "sont généralement utilisés à travers Javascript ou feuille de style des blocs où les accolades () pour effet de gêner le modèle de syntaxe délimiteur. Anything within {literal}{/literal} tags is not interpreted, but displayed as-is. Tout contenu situé entre (literal) (/ literal) ne sera pas interprété, et affiché comme tel. It means anything inside the tags will be appeared exactly the same in the final HTML output for web browser to interpret, and no change will be done by Smarty engine. Cela signifie rien à l'intérieur des balises seront apparaissaient exactement les mêmes dans la sortie finale pour le navigateur web HTML à interpréter, et aucun changement ne sera effectué par le moteur de Smarty.

Thus, to fix Google Analytics tracking code error on BlogSome, just embed the tracking code with {literal} before Google Analytics Javascript code, succeeding with {/literal} after the tracking. Ainsi, pour fixer Google Analytics Tracking error code sur Blogsome, juste intégrer le code de suivi avec (literal) avant que Google Analytics code Javascript, succédant avec (/ literal) après le repérage. For example, Par exemple,

{literal} (literal)
Google Analytics Tracking Code Append Here Google Analytics Tracking Code Here Append
{/literal} (/ literal)

IMPORTANT : The page is machine translated and provided "as is" without warranty. IMPORTANT: La page est traduit et machine fournis «tels quels», sans garantie. Machine translation may be difficult to understand. La traduction automatique mai être difficile à comprendre. Please refer to S'il vous plaît se référer à original English article Article original en anglais whenever possible. mesure du possible.


One Response to “Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs” Une réponse à "utiliser (literal) balises Smarty pour ajouter Google Analytics Tracking Code à Blogsome blogs hébergés"

  1. @hmad @ Hmad
    September 4th, 2009 10:24 4 septembre 2009 10:24
    1 1

    i try to search for tutorial to add google adsense in to free wordpress blog J'essaie de chercher des tutoriel pour ajouter Google AdSense pour blog gratuit wordpress

Leave a Reply Laissez une réponse

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Vous pouvez utiliser ces tags: fete_christel <abbr titre=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <<q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Abonnez-vous aux commentaires a été désactivé. To receive notification of latest comments posted, subscribe to Pour recevoir la notification des derniers commentaires postés, abonnez-vous à My Digital Life Comments RSS feed My Digital Life Comments RSS Feed or ou register to receive s'inscrire pour recevoir new comments in daily email digest. nouveaux commentaires dans le courriel quotidien digérer.
Custom Search

New Articles Nouveaux Articles

Incoming Search Terms for the Article Scruter Les terms pour un jour Article

smarty literal smarty littérale - -- literal smarty littéral smarty - -- smarty google analytics smarty Google Analytics - -- add anlytics smarty Ajouter anlytics smarty - -- google literal search Google Recherche littérale - -- how to put ads on blogsome comment mettre des annonces sur Blogsome - -- literal code javascript code javascript littérale - -- smarty templates and google analytics templates Smarty et de Google Analytics - -- smarty {literal} - -- web analytics services services d'analyse Web - -- where to add google trackin où ajouter Trackin google - -- google literal Google littérale - -- how to use smarty tags on wordpress template comment utiliser les balises Smarty sur wordpress template - -- literal {} code analytics literal () Analytics code - -- use="literal" USE = "littéral" - -- Google: {literal} Google: (literal) - -- insert analytics code in smarty Analytics insérer du code dans smarty - -- smarty literal change smarty changer littérale - -- analytics smarty Analytics smarty - -- google analytics and smarty Google Analytics et smarty - -- google adds problem smarty Google ajoute smarty problème - -- how to add google analytics tracking code comment ajouter un code de suivi Google Analytics - -- use of Google tracking code utilisation de code de suivi Google - -- outputting google tracking with smarty la sortie de suivi de Google avec Smarty - -- error when adding analytics code Erreur lors de l'ajout d'analyse de code - -- smarty tag add on smarty tag add on - -- smarty templates google analytics templates Smarty Google Analytics - -- smarty ga.js smarty ga.js - -- adding google analytics + smarty template ajouter Google Analytics + template Smarty - -- add analytics to smarty tpl Ajouter Analytics à TPL smarty - -- analytics {/literal} Google Analytics (/ literal) - -- google analytics tag Google Analytics tag - -- google analytics code smarty Google Analytics code smarty - -- google tracking code in smarty un code de suivi Google dans smarty - -- title tag in smarty Titre de balise dans smarty - -- Tracking Code htm Htm Tracking Code - -- google analytics tagging file download Google Analytics marquage télécharger - -- how to tag email google analytics comment marquer email google analytics - -- how to add directory in smarty comment ajouter le répertoire de Smarty - -- inserting google analytics code l'insertion de code de Google Analytics - -- SMARTY insert google analytics SMARTY insérer google analytics - -- smarty urchin.js smarty urchin.js - -- smarty google code smarty code Google - -- smarty code google analytique smarty analytique code Google - -- where to add tracking code analytics - -- add analytics code in smarty template? Ajouter Analytics code dans smarty template? - -- analytics smarty literal analyse littérale smarty - -- display wordpress blog latest entry on index page that uses smarty affichage blog wordpress plus récente entrée sur la page d'index qui utilise Smarty - -- google analytics et smarty Google Analytics et smarty - -- how to add a smarty if statement for adsense Comment ajouter un smarty instruction if pour AdSense - --