Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs Uporaba () Literal Smarty Tag Dodaj Google Analytics kodo za sledenje BlogSome Hosted Blogi

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 je prost temelji WordPress web hosting storitev, ki je priljubljena izbira pred prihodom WordPress.com za Bloggers, ki želijo WordPress blogging platformo brez forking iz iDime. 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. Tudi BlogSome še vedno uporablja različico WordPress zapuščina 1.5.1-alfa, je še vedno pritegniti nekaj bloggers, saj omogoča blogger dodati in kraj lastne oglase, kot je Google AdSense na blog.

BlogSome has been using Smarty template engine as its presentation framework. BlogSome je bil z uporabo Smarty template motorja, kot je njeno predstavitev okvira. 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. Kot rezultat, ko uporabnik doda Google Analytics kodo za sledenje tako, da se bodisi na novo kodo za sledenje (ga.js) ali zapuščino kodo za sledenje (urchin.js) v BlogSome vir HTM kodo (dostopen preko Manager -> Files), ko pride do naslednje napake vse spletne strani na blog je odprt ali obiskali.

Smarty syntax error Smarty skladenjska napaka

File index.html, line 280: syntax error: File index.html, vrstica 280: syntax error:
unrecognized tag 'var' nepriznane tag 'var'

If you own this blog, and wish to fix this problem, you can log in here. Če ste lastnik ta blog, in želijo popraviti to težavo, se lahko prijavite tukaj.

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. Napaka se zgodi, ker Smarty template motorja poskusi za prevajanje in razložiti nekatere ključne besede v Google Analytics koda za sledenje, da je v nasprotju z Smarty template delimiter sintakso. As a workaround, Smarty does provide tags, Kot rešitev, Smarty ne zagotavlja oznake, {literal} and {/literal} (dobesedno) (in / dobesedni) , which allows a block of data to be taken literally. , Ki omogoča bloka podatkov, ki jih je treba sprejeti dobesedno.

{literal} tags are typically used around Javascript or stylesheet blocks where {curly braces} would interfere with the template delimiter syntax. Dobesedno) (oznake se navadno uporabljajo približno Javascript ali stylesheet blokih, kjer bi (zavitih oklepajih) posega v predlogo delimiter sintakso. Anything within {literal}{/literal} tags is not interpreted, but displayed as-is. Vse, kar v dobesednem) ((/ dobesedni tags) se ne razlaga, ampak prikazana kot-je. 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. To pomeni, da karkoli znotraj oznake se bo pojavil popolnoma enak v končne proizvodnje HTML za spletni brskalnik z razlago, in ne bodo spreminjali, opravi motor 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. Tako, da se določi Google Analytics kodo za sledenje napake na BlogSome, samo embed kodo za sledenje z) (dobesedno pred Google Analytics kodo Javascript, ki sledijo z (/) dobesedno po sledenje. For example, Na primer,

{literal} (dobesedno)
Google Analytics Tracking Code Append Here Google Analytics za sledenje Code Pripni Here
{/literal} (/ dobesedni)

IMPORTANT : The page is machine translated and provided "as is" without warranty. POMEMBNO: stran je stroj prevod in če "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumeti. Please refer to Prosimo, da original English article original angleški člen whenever possible. kadar je to mogoče.


One Response to “Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs” En odgovor na "Use () Literal Smarty Tag Dodaj Google Analytics kodo za sledenje BlogSome Hosted Blogs"

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

    i try to search for tutorial to add google adsense in to free wordpress blog jaz začeti iskati tutorski dodati Google AdSense se v prostem WordPress blog

Leave a Reply Leave a Reply

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> Lahko uporabite te oznake: <a href="" <abbr title=""> <acronym <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Naročite se na komentarje funkcija je bila onemogočena. To receive notification of latest comments posted, subscribe to Če želite prejemati obvestila o najnovejših pripombe napoten, se naročite na My Digital Life Comments RSS feed Moje digitalno življenje razložiti RSS feed or ali register to receive Registrirajte se za prejemanje new comments in daily email digest. novi komentarji v dnevni email prebavljajo.
Custom Search

New Articles Novi členi

Incoming Search Terms for the Article Prihajajoč preiskava pogoj zakaj člen

smarty google analytics Smarty Google Analytics - -- analytics smarty error analytics Smarty error - -- Google Analytics JavaScript changes Google Analytics JavaScript spremembe - -- smarty where literal need Smarty kjer dobesedno potrebo - -- where to put google tracker in free wordpress kam google tracker v prostem WordPress - -- add google analytics tracking code to windows live dodati Google Analytics kodo za sledenje okno živeti - -- adding analytics to free wordpress dodajanje analitike za prosti WordPress - -- add wordpress web hosted blog to google analytics dodaj wordpress web gostil blog na google analytics - -- google analytics code error Google Analytics koda napake - -- google analytics smarty Google Analytics Smarty - -- hosted wordpress html literal gostišče WordPress html dobesednem - -- php smarty literal php Smarty Dobesedno - -- add google anaytics ccode as blogger HTML/Javascript gadget Dodajte Google anaytics ccode kot Blogger HTML / Javascript gadget - -- google analytics on smarty templates Google Analytics za Smarty templates - -- inserting google analytics tracking code into wordpress vstavljanje Google Analytics kodo za sledenje na wordpress - -- iphone+how toadd google ads code iPhone + kako toadd google ads code - -- literal code google analytics Dobesedno code google analytics - -- php smarty analytics php Smarty analytics - -- smarty interpret Smarty razlaga - -- smarty interpret as html Smarty razlagajo kot html - -- smarty literal code Smarty dobesedno code - -- where to put google analytics code in a blog kam Google Analytics kodo v blog - -- add google analytics to smarty tpl file dodate Google Analytics za Smarty tpl datoteko - -- best place to add google tracking code in a wordpress tempplate Najboljši kraj, da dodate Google kodo za sledenje na WordPress tempplate - -- google analytics php smarty error Google Analytics php Smarty error - -- how google analytics smarty termplate Kako Google Analytics Smarty termplate - -- syntax error: unrecognized tag 'literal' smarty skladenjska napaka: neprepoznan oznako "dobesedno" Smarty - --