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

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


 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 07-16-2009, 06:20 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

I have tried to figure out the PHPWS way to do this: I need to make a single page that has some JS in it and also the JS must use some information provided via the $_REQUEST object. In a static page, this is pretty easy to do. I have NO IDEA how to do it in this system.

Here's what I've tried so far:

1. Add the javascript to a page_smith template and use that template for this page. Have the javascript request look for {variables} passed from theme.php. Then add PHP to the theme.php file that will get the variables I need from the $_REQUEST and plug them into the correct {variables}


The problems are:
A: Doesn't work. I think because the {VARIABLE} is in the page_Smith template and not in the theme.tpl. This is because I don't want this stuff showing up on all pages, just the one page.

B: Seems like a badly designed solution since it relies on third party mods (a pagesmith template) for application functionality and modifies the whole website for a function needed on only one page.

Any ideas on how I should properly do this?
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

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


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

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


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
Single page Registration form محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-05-2010 04:40 PM
Forum How to make 'Search Single Content Type' the default tab on Advanced Search page? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-23-2010 11:10 PM
Forum Single page Registration form محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-10-2010 09:20 PM
Forum Single page Registration form محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-10-2010 08:30 PM
Make 'Search Single Content Type' the default tab on Advanced Search page محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 02-16-2010 09:50 AM


الساعة الآن 05:10 PM


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

RSS RSS 2.0 XML MAP HTML