Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs استخدام حرفي) (هندى الوسم لإضافة مجموعات تحليلات تتبع لقانون BlogSome استضافة مدونات

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 هو وورد الحرة القائمة على خدمة استضافة المواقع ، والتي تم اختيار شعبي قبل وصول WordPress.com على المدونين الذين يريدون ورد منصة المدونات دون التفرع الى عشرة سنتات. 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. لا يزال يستخدم حتى BlogSome تركة ورد الإصدار 1.5.1 ألفا ، فإنه لا يزال يجتذب بعض المدونين لأنه يتيح مدون لإضافة ومكان الإعلانات الخاصة مثل غوغل] [أدسنس على بلوق.

BlogSome has been using Smarty template engine as its presentation framework. BlogSome وقد تم استخدام هندى قالب المحرك كما إطارها العرض. 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. نتيجة لذلك ، عندما يضيف مستخدم جوجل تحليلات شفرة تتبع إما عن طريق وضع شفرة التتبع الجديدة (ga.js) أو إرث شفرة تتبع (urchin.js) في BlogSome هتم شفرة المصدر (يمكن الوصول إليها عبر مدير --> الملفات) ، والخطأ التالي عند أي صفحات الويب على بلوق يتم فتح أو بزيارتها.

Smarty syntax error زقحان خطأ في بناء الجملة

File index.html, line 280: syntax error: الملف index.html ، سطر 280 : خطأ في بناء الجملة :
unrecognized tag 'var' سمة غير معترف بها 'فار'

If you own this blog, and wish to fix this problem, you can log in here. إذا كنت تملك هذا بلوق ، وترغب في حل هذه المشكلة ، يمكنك تسجيل الدخول هنا.

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. يحدث الخطأ بسبب هندى قالب المحرك محاولات لترجمة وتفسير بعض المصطلحات في جوجل تحليلات شفرة التتبع التي تتعارض مع هندى قالب محدد بناء الجملة. As a workaround, Smarty does provide tags, كحل ، هندى لا توفر السمات ، {literal} and {/literal} (الحرفي) و (/ الحرفي) , which allows a block of data to be taken literally. ، والذي يسمح كتلة من البيانات التي يتعين اتخاذها حرفيا.

{literal} tags are typically used around Javascript or stylesheet blocks where {curly braces} would interfere with the template delimiter syntax. () السمات الحرفي عادة ما تستخدم في جميع أنحاء جافا سكريبت أو أنماط كتل حيث الأقواس المجعدة () من شأنه أن يتدخل في قالب محدد بناء الجملة. Anything within {literal}{/literal} tags is not interpreted, but displayed as-is. أي شيء داخل الحرفي) ((/ السمات) الحرفي لا يفسر ، ولكن عرضه كما هو. 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. وهو ما يعني أي شيء داخل العلامات سيكون بدا في عينه في المباراة النهائية أتش تي أم أل الإخراج لمتصفح الويب لتفسير ، وهناك تغيير وسيتم ذلك عن طريق هندى المحرك.

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. وبالتالي ، لإصلاح غوغل تحليلات شفرة تتبع الخطأ على BlogSome ، مجرد تضمين شفرة تتبع مع () الحرفي قبل غوغل تحليلات شفرة جافا سكريبت ، خلفا مع (/ الحرفي) بعد التتبع. For example, على سبيل المثال ،

{literal} (الحرفي)
Google Analytics Tracking Code Append Here جوجل تحليلات تتبع قانون إلحاق هنا
{/literal} (/ الحرفي)

IMPORTANT : The page is machine translated and provided "as is" without warranty. هام : الصفحة هو آلة تترجم وتقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.


One Response to “Use {Literal} Smarty Tag to Add Google Analytics Tracking Code to BlogSome Hosted Blogs” واحد ردا على "استخدام حرفي) (هندى الوسم لإضافة مجموعات تحليلات تتبع لقانون BlogSome استضافة مدونات"

  1. @hmad @ حماد
    September 4th, 2009 10:24 September 4th ، 2009 10:24
    1 1

    i try to search for tutorial to add google adsense in to free wordpress blog ط محاولة البحث عن البرنامج التعليمي لإضافة ادسينس في لبلوق الحرة وورد

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> يمكنك استخدام هذه العلامات : <ahref=""title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquote<cite><code><دل التاريخ والوقت = "">> <i><qcite=""><strike><strong>

Subscribe to comments feature has been disabled. الاشتراك في تعليقات تم تعطيل هذه الميزة. To receive notification of latest comments posted, subscribe to لاستلام إشعار آخر التعليقات المنشورة ، والاشتراك في My Digital Life Comments RSS feed بلادي الرقمي الحياة التعليقات آر إس إس or أو register to receive سجل للاستقبال new comments in daily email digest. تعليقات جديدة في البريد الإلكتروني يوميا هضم.
Custom Search

New Articles مقالات جديدة

Incoming Search Terms for the Article البحث عن الشروط الواردة في المادة

smarty literal زقحان الحرفي - -- literal smarty زقحان الحرفي - -- smarty google analytics زقحان جوجل تحليلات - -- add anlytics smarty إضافة anlytics زقحان - -- google literal search البحث جوجل الحرفي - -- how to put ads on blogsome كيفية وضع الإعلانات على blogsome - -- literal code javascript الرمز الحرفي جافا سكريبت - -- smarty templates and google analytics زقحان القوالب وجوجل تحليلات - -- smarty {literal} زقحان الحرفي () - -- web analytics services تحليلات الويب الخدمات - -- where to add google trackin حيث أن أضيف trackin جوجل - -- google literal جوجل الحرفي - -- how to use smarty tags on wordpress template كيفية استخدام العلامات زقحان في قالب وورد - -- literal {} code analytics الحرفي () تحليلات رمز - -- use="literal" استخدام = "حرفيا" - -- Google: {literal} البريد الإلكتروني : (الحرفي) - -- insert analytics code in smarty ادخال رمز تحليلات في زقحان - -- smarty literal change زقحان تغيير الحرفي - -- analytics smarty تحليلات زقحان - -- google analytics and smarty جوجل تحليلات وزقحان - -- google adds problem smarty جوجل تضيف زقحان المشكلة - -- how to add google analytics tracking code كيفية إضافة شفرة تتبع جوجل تحليلات - -- use of Google tracking code استخدام مجموعات شفرة تتبع - -- outputting google tracking with smarty إخراج تتبع جوجل مع زقحان - -- error when adding analytics code خطأ عند إضافة رمز تحليلات - -- smarty tag add on إضافة على العلامة زقحان - -- smarty templates google analytics زقحان قوالب جوجل تحليلات - -- smarty ga.js ga.js زقحان - -- adding google analytics + smarty template مضيفا جوجل تحليلات + زقحان القالب - -- add analytics to smarty tpl إضافة إلى تحليلات لافوري زقحان - -- analytics {/literal} تحليلات (/ الحرفي) - -- google analytics tag جوجل تحليلات سمة - -- google analytics code smarty التحليلات مدونة جوجل زقحان - -- google tracking code in smarty جوجل شفرة تتبع في زقحان - -- title tag in smarty عنوان علامة في زقحان - -- Tracking Code htm تتبع قانون هتم - -- google analytics tagging file download جوجل تحليلات علامات تنزيل الملف - -- how to tag email google analytics كيفية علامة البريد الإلكتروني جوجل تحليلات - -- how to add directory in smarty كيفية إضافة الدليل في زقحان - -- inserting google analytics code إدراج التحليلات مدونة جوجل - -- SMARTY insert google analytics الدناصورى ادخال جوجل تحليلات - -- smarty urchin.js urchin.js زقحان - -- smarty google code زقحان مدونة جوجل - -- smarty code google analytique زقحان مدونة جوجل analytique - -- where to add tracking code analytics حيث تتبع تحليلات لإضافة رمز - -- add analytics code in smarty template? إضافة رمز في تحليلات زقحان القالب؟ - -- analytics smarty literal تحليلات الحرفي زقحان - -- display wordpress blog latest entry on index page that uses smarty ورد بلوق عرض آخر دخول على صفحة الفهرس الذي يستخدم زقحان - -- google analytics et smarty جوجل تحليلات وآخرون زقحان - -- how to add a smarty if statement for adsense كيفية إضافة زقحان إذا كان بيان لادسينس - --