Group Blog
 
 
ѹҤ 2550
 1
2345678
9101112131415
16171819202122
23242526272829
3031 
 
20 ѹҤ 2550
 
All Blogs
 

͹ Dreamweaver CS3 ͹ 06 : ҧ Libraries Server Side Includes

㹵͹ ҡйԸշЪ update ˹ҵҧ䫴ͧس дǡǴǢ ͡˹ͨҡ template 㹡ҧẺ˹ Library Server Side Includes Ъ»Ѵس㹡 update 䫴 ¹ѹ¤Ѻ



Server Side Includes

ҷس͡Ẻ䫴 س͡Ẻѹ㹡¹ŧѧ ҧ ҷس˹䫴 س礧ҡ䫴ͧس仴 ͷö link ѧ˹ҹ ǤسҨҡ¹ŧǹ͹ѹ˹ ǹ footer ǹ˭Ǩçҧشͧ˹ ǡѺԢԷ(copyright)ͧ䫴س ·ͧ¹ѹ㹷ء˹ҷ觹 ѹ֧繡ôշس觷¡ server side include(ssi) ʹբͧѹͤس¹ŧ觷س include ͵Ƿس¹ŧ س繵ͧ¹ŧء˹ҷ觹 ѹ¹ŧء˹ҷ觹ѹسѵѵ Ǥس繵ͧ upload ˹ҷ¹ŧҹ鹷 include ѧ server ء駷سӡ¹ŧ س upload include س¹ŧǹ鹵 ѧ server

ͷس : ء˹ html سҧ Template յ include ŧ سͧ extension ͹ʡ .shtml .shtm server سѺ红䫴ͧس еͧͧѺҹ server side include(ssi) ͹㹵͹оٴ֧Ըշҧ سԸշӧҹ ssi ÷سзѹҹԧ䫴ͧس سͧӶҹѺѷѺ Host 䫴ͧس

- server سöҹ server side include ?
- еͧ繵 include directory ˹
- еͧ駪ͧ͢ extension ͹ʡŢͧ include ŧ (ǹ˭ .shtml .shtm) Шеͧ駪 extension ͹ʡŢͧ ssi 觵ǹ ԡ server з ҧ .ssi .inc .txt

ѧ سͧžǡ͹ ֧öҹ server side include

Server Side Include ջª Ъ»Ѵҡ Ҥسҧյ include Ѻҹ

- header ͵Ǣͧ
- footer ǹ觷ҧҧشͧ˹ ǹ˭ԢԷ copyright ͧ䫴
- ѡͧ䫴
- ¢ͧ䫴



ҧ include

1. Copy ǹǹ˹˹绷سͧèз繵 include
2. ҧ˹ html 价 File ͡ Blank Page çͧ Page Type: ͡ HTML çͧ Layout: ͡ Ǥԡ Create Ẻٻҧҧҧ






3. 仴ٷ code html ͧ˹ҧ 价 View ͡ Code ͡ Code ѧٻҧҧҧ ѧҡ鹡͡ code dreamweaver ҧ ǡ delete ѹ͡





4. Ѻ价 design view ¡ Design 价 View ͡ Design ѧҡ鹡 paste 觷س copy Ҩҡͷ 1 ŧ

5. Ҥس觷 link ٻҾ 觷繵 include سͧҷ link ٻҾͧ觷㹹 еẺ Relative to: Site Root Ẻ Document سö͡觷繵 link ٻҾ ǤԡٻԴ dialog box ͧ Select File سöٵҧԸշҡٻҧҧ ٻáẺ觷 link 繵˹ѧ ǹٻͧẺ觷 link ٻҾ 觵ǹسͧ駷駵çͧ Src Link ѧҡ dialog box ͧ Select File Դ س͡çͧ Relative to: Site Root











Ҥس address ͧ site س㹪ͧ HTTP address: ͧ dialog Site Definition ѹ Dialog ͹ ÷з link ҹӧҹҧ١ͧ ҷҹԧ سͧ駪ͧ͢䫴١ͧ 㹪ͧ HTTP address: ͧ dialog box ͧ Site Definition 觤سöѺ仵 价 Site ͡ Manage Sites ѧҡ鹡͡ site سѧӧҹҡ list ǡԡ Edit ҡ鹡ͧ䫴س 㹪ͧ HTTP address: ҧ //www.dw3thai.com ͷ س騴¹ Щй鹡÷ӧҹ Server Side Includes س繵ͧŧ¹䫴 ͧ䫴س͹








6. 鹵͹ش¤ͤس駪ǹ save ѹ .html .ssi ͹ʡ(ѺҺѷѺ host 䫴س繹ʡ) µ駪 includes ͪ蹷ѷѺ host 䫴س directory ˹



觷 include ŧ template

1. ԡ㹺dzسͧ觷 include template
2. 价 Insert ͡ Server Side Include ѧҡ鹤س Browse include includes ͡ѹ ǡԡ OK


͹ ǹ繵 include template ͧس Ҥسͧ¹ŧ觷 include ѧ include Ҩٷ link ˹ 10 ˹ س˹Ңաѧա 2 ˹ س繵 include 12 ˹ ѧҡ ˹绷 link Ѻ template ǹ 12 ˹͹ѹ Фس upload 繵 include س¹ŧѹ价 server 繡¹ŧѺ˹ҵҧ template ǹ س繵ͧ upload ˹ҷ template ǹ 觡»ѴҤسҡ



Library Items Dreamweaver

Ҥسͧ÷ҧչʡ .shtml server سԡͧѺҹ server side includes سö Library items Dreamweaver Ѻǹ˹Ңͧ µ͡ update ˹ҹ ǹ ¹ŧҹ Library update ˹ҷ Library ǹ سͧ upload ˹ҷ¹ŧѧ server ֧繼ŷ¹ŧ


ҧ Library item :

1. ͡ copy ǹسҡ Library items template
2. 价 File ͡ New ǡ Blank Page ǡ Library item Ǥԡ Create
3. Library Դ س paste 觷س copy 㹹
4. س save ǡ駪ͷѺ


ѧҡسҧ Library item سö insert ѹ template ˹绵ҧ Ըբҧҧ

1. 价 Window ͡ Assets
2. ԡͤ͹ͧ Library(ٻҧҧ) panel Assets
3. ͧ͢͡ library سͧ
4. Insert ҧҧͧ panel





͹Ҩоٴ֧ͧá˹ Editable Regions Template


Ѻͧè¹ Dreamweaver CS3 Ẻ͹մ سö仴´մ͵ҧ 䫴 //www.dw3thai.com 觨մմ͹ҹ ԹҴͷ (ҡ) ¤ǡ 10 Ҥ§ 150 ҷ (觷ҧɳŧ¹) е͹շҧ͡աҧ㹡êԹ ԡ¡Թ·ҧҡɳ 觡سдǡ觢 سö仴´ҡ link Ѻ




 

Create Date : 20 ѹҤ 2550
5 comments
Last Update : 20 ѹҤ 2550 10:06:27 .
Counter : 2178 Pageviews.

 




觤آѺѺ

 

: zunzero 26 ѹҤ 2550 20:51:51 .  

 




ѴջФ դآҡ 觴 Դѧö

 

: Pook_nana 30 ѹҤ 2550 23:46:32 .  

 

Happy New Year Ka...
դآ ʴ ʹ еʹ仹Ф

 

: lukpad 31 ѹҤ 2550 12:11:22 .  

 

ͺسѺ .. зءҹ鹹Ѻ դآ㹻Ѻ

 

: tutorcat 14 Ҥ 2551 16:04:01 .  

 

ѹ 秧 ǡѺҹաͺ

 

: Ш͹ 16 áҤ 2551 19:39:17 .  

: * blog comment ੾Ҫԡ
Comment :
  *ǹ comment ö javascript style sheet
 


tutorcat
Location :


[ Profile ]

ԻҢͧ Blog [?]
ҡͤѧ
Rss Feed

Դ͡ : 3 [?]




Friends' blogs
[Add tutorcat's blog to your web]
Links
 

 Pantip.com | PantipMarket.com | Pantown.com | © 2004 BlogGang.com allrights reserved.