إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 08-01-2010, 08:50 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,610
عدد الـنقاط :3341
 تقييم المستوى : 2139

I am customising my site. A lot.

And I am doing a lot of editing to the templates to move them around. However, one thing that vBulletin doesn't tell you is that even the {vb:raw vboptions} is of limited scope!


First of all, I've had to move all of my header information into the navbar template, because for some barmy reason only the navbar template has the scope to know that the home CMS tab has been selected or enabled there.

But now I find that in my modified template, the facebook connect item doesn't work because the vboptions variable doesn't contain the facebookconnect enabled boolean in scope! I mean WTF?!?! Why not just keep the same variable in scope throughout the loading of a page?!? Especially with something like vboptions that literally could be relied upon by EVERYTHING in your site.

It's time consuming and frustrating.

Can you tell me, what 'options' are in scope and can I use inside the navbar, header, and footer templates?!?!

Code:

{vb:raw facebook_header}

that is the offending code that only triggers / in scope in header. not elsewhere
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 06:33 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML