You are on page 1of 10

T ng k t cc Tools trong Dreamweaver [Part 1]

1. Connection a. Cng dng: Dng to 1 kt ni n 1 database. Trong 1 site c th to nhiu connection tr n nhiu databse. Hoc c th to nhiu connection cng tr n 1 database cng c b. Cch dng: Vo panel Database -> + -> MySQL Connection 2. Recordset a. Cng dng: Dng ly cc record t database vo b nh b. Cch dng: Vo panel Bingdings -> + -> Recordset 3. Dynamic text a. Cng dng: Dng hin 1 field t 1 recordset b. Cch dng: Nhp v tr mun chn ri vo Server Behavior -> + -> Dynamic Text -> Chn field 4. Dynamic Table a. Cng dng: Dng hin ton b recordset thnh 1 table b. Cch dng: Nhp v tr mun chn ri vo menu Insert -> Data Objects -> Dynamic Data -> Chn Dynamic Table -> Chn Recordset 5. Repeat Region a. Cng dng: Lp li 1 vng d liu b. Cch dng: Chn vng d liu mun lp ri vo Server Behavior -> + -> Repeat Region -> Chn recordset v s record mun hin 6. Recordset Navigation Bar a. Cng dng: Hin thanh phn trang theo kiu Trang trc, Trang sau b. Cch dng: Nhp v tr mun chn ri vo menu Insert -> Data Objects -> Recordset Paging -> Recordset Navigation Bar -> Chn recordset v dng Text (hoc Image) -> OK -> Sa cc ch ting Anh thnh ting vit 7. Recordset Navigation Status a. Cng dng: Hin thanh trng thi record, cho user bit h ang xem record th x n record th y b. Cch dng: Nhp v tr mun chn ri vo menu Insert -> Data Objects -> Display Record Count -> Recordset Navigation Status -> Chn recordset -> OK -> Sa cc ch ting Anh thnh ting vit 8. Page List Limited a. Cng dng: Hin thanh phn trang theo kiu s (ging nh google) hoc link. C hn ch s lng trang trn thanh phn trang. b. Cch dng: Nhp v tr mun chn thanh phn trang ri vo Server Behavior -> + -> Tom-Muck.com -> Recorset Navigation -> Page List Limited 9. Page List a. Cng dng: Hin thanh phn trang theo kiu s (ging nh google) hoc link. Khng hn ch s lng trang trn thanh phn trang b. Cch dng: Nhp v tr mun chn thanh phn trang ri vo Server Behavior -> + -> Tom-Muck.com -> Recorset Navigation -> Page List

10. Alternate Color a. Cng dng: Dng i mu cc hng chn l trong 1 table hin d liu t 1 recordset, mu ch nh trc tip trong tool ny b. Cch dng: Chn tag tr ca table, ri vo Server Behavior -> + -> Developer Toolbox -> Dynamic Lists -> Alternate Colors -> Ch nh mu 11. Alternate Color CSS a. Cng dng: Dng i mu cc hng chn l trong 1 table hin d liu t 1 recordset, mu ch nh trong cc class css b. Cch dng: Chn tag tr ca table, ri vo Server Behavior -> + -> Developer Toolbox -> Dynamic Lists -> Alternate Colors CSS -> Ch nh cc class CSS 12. Nested Repeat Region Wizard a. Cng dng: Dng hin d liu t hai bng c mi quan h 1-nhiu. b. Cch dng: Nhp v tr mun chn ri nhp nt Nested Repeat Region Wizard trong tab Developer Toolbox 13. Looper Wizard a. Cng dng: Lp li 1 vng d liu nhiu ct nhiu hng b. Cch dng: Chn vng d liu mun lp ri nhp nt Looper Wizard -> ch nh s hang, s ct 14. Nested Repeat Region a. Cng dng: Lp li 1 vng d liu bn trong 1 Repeat Region hoc Looper Wizard (lp con) b. Cch dng: Chn vng d liu mun lp ri Server Behavior -> + -> Developer Toolbox -> Dynamic List -> Advanced -> Nested Repeat Region 15. Hin th t record a. Cng dng: Hin s th t khi hin cc record trong recordset b. Cch dng: Nhp v tr mun chn s th t ri vo Server Behavior -> + -> Display Record Count -> Auto Numbered Records 16. Login transaction a. Cng dng: Dng to chc nng ng nhp cho user (trng hp bn t to form login trc ri) b. Cch dng: To form Login gm textfield username, password . Ri vo Server Behavior -> + -> Developer Toolbox -> User Login -> Advanced -> Login Transaction 17. Show If User Is Logged In a. Cng dng: Hin th 1 vng d liu khi user login b. Cch dng: Chn vng d liu ri vo Server Behavior -> + -> Developer Toolbox -> Conditional Regions -> Show If User Is Logged In 18. Show If Conditional Region a. Cng dng: Hin th 1 vng d liu theo iu kin b. Cch dng: Chn vng d liu ri vo Server Behavior -> + -> Developer Toolbox -> Conditional Regions -> Show If Conditional Region -> Chn tab Advanced -> G iu kin 19. Login Form Wizard a. Cng dng: Dng to chc nng ng nhp cho user (trng hp bn cha to form login) b. Cch dng: Nhp v tr mun chn (hoc to trang php mi) ri vo Server Behavior -> +

-> Developer Toolbox -> User Login -> Login Form Wizard 20. Logout Transaction a. Cng dng: Dng to chc nng thot cho user. b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> User Login -> Advanced -> Logout Transaction 21. Logout Form Wizard a. Cng dng: Dng to chc nng thot cho user. C th ch nh thot khi np trang hoc thot khi nhp vo 1 dng ch b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> User Login -> Logout Form Wizard 22. User Registration Wizard a. Cng dng: Dng to chc nng ng k thnh vin b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> User Login -> User Registration Wizard 23. Restrict Access to Page a. Cng dng: Dng to chc nng hn ch truy cp vo trang. Ch nhng ai login vo th mi xem c trang web b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> User Login -> Restrict Access To Page 24. Insert Record Form Wizard a. Cng dng: To 1 form thm 1 record vo 1 table b. Cch dng: Nhp nt Insert Record Form Wizard (nt u tin) trong tab Developer Toolbox 25. Date Picker a. Cng dng: Dng hin lch user chn ngy b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Date Picker -> Chn TextFile s tip nhn ngy -> OK 26. Update Record Form Wizard a. Cng dng: To 1 form chnh 1 record trong 1 table b. Cch dng: Nhp nt Update Record Form Wizard (nt th 2) trong tab Developer Toolbox 27. Delete Record Wizard a. Cng dng: xa record trong 1 table b. Cch dng: Nhp nt Delete Record Wizard (nt th 3) trong tab Developer Toolbox 28. Show If Recordset Empty a. Cng dng: Hin th 1 vng d liu khi recordset khng c d liu b. Cch dng: Chn vng d liu ri vo menu Insert -> Data Objects -> Show Region -> Show If Recordset Empty 29. Show If Recordset not Empty a. Cng dng: Hin th 1 vng d liu khi recordset c d liu b. Cch dng: Chn vng d liu ri vo menu Insert -> Data Objects -> Show Region -> Show If Recordset Not Empty

30. Totals Records a. Cng dng: Hin s record trong 1 recordset b. Cch dng: Nhp v tr mun chn ri vo menu Insert -> Data Objects -> Display Record Count -> Totals Records 31. Create Forgot Passsword Form a. Cng dng: To trang qun mt khu b. Cch dng: To trang PHP, ri vo Server Behavior -> + -> Developer Toolbox -> User Login -> Advanced -> Create Forgot Passsword Form -> Sa cc ch ting anh thnh ting vit v nh dng li cho p 32. Custom Trigger a. Cng dng: Dng thc thi 1 on code php trc hoc sau 1 transaction b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Forms -> Custom Trigger 33. Custom Transacsion a. Cng dng: Dng to 1 transaction vi cu lnh sql bt k, hoc dng khi to form gi mail b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Forms -> Advanced -> Custom Transacsion 34. Send Mail a. Cng dng: Gi mail sau 1 transaction no b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Send E-Mail -> Send Mail 35. Send Page Section By E-Mail a. Cng dng: Gi 1 phn ca trang web cho ai khi trang hin ra cho user xem b. Cch dng: Chn vng d liu mun gi mail ri vo Server Behavior -> + -> Developer Toolbox -> Send E-Mail -> Send Page Section By E-Mail 36. Download File a. Cng dng: Download 1 file b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> File Upload -> Download File 37. Throw Error a. Cng dng: Dng pht sinh 1 thng bo li khi tha 1 iu kin no . b. Cch dng: : Vo Server Behavior -> + -> Developer Toolbox -> Forms -> Throw Error 38. Show If File Exists a. Cng dng: Hin 1 vng d liu nu file khng tn ti, thng dng vi tool download file b. Cch dng: Chn vng d liu ri vo Server Behavior -> + -> Developer Toolbox -> Conditional Regions -> Show If File Exists 39. Show Thumnails a. Cng dng: Dng to v hin hnh thumbnail ca 1 hnh ln b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> File Upload -> Show Thumnail

40. Dependent Dropdown Wizard a. Cng dng: Dng to 2 list/menu c quan h vi nhau b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Dependent Dropdown Wizard 41. Dependent Dropdown a. Cng dng: Dng thit lp quan h cho 2 list/menu ang c b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Dependent Dropdown 42. Numeric Text Field a. Cng dng: Dng chn text field ch cho php g s

b. Cch dng: To 1 text field ri vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Numeric Text Field -> Ch nh cc thng s -> OK

b. Cch dng: To 1 text field ri vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Smart Date -> Ch nh nh hnh -> OK

Allow negative: cho php g s m Allow float: cho php g s thc Display spin control: Hin nt tng gim Greater than: User phi phn s ln hn s ny Less than: User phi phn s nh hn s ny Default value: Gi tr mc nh 43. Smart Date a. Cng dng: Dng to text field cha ngy, c nt tng gim ngy (xem hnh)

44. Masked TextField a. Cng dng: Dng to text field user nhp theo mu m bn quy nh (xem hnh)

b. Cch dng: To 1 text field ri vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Masked TextField -> Ch nh mu nh bn di -> OK

A: A-Z, a-z X: A-Z, a-z, 0-9 9: 0 - 9 ?: Bt k k t no

Nu g k t khc, n s xut hin trong mu 45. Restriced Text Area a. Cng dng: Dng to hn ch s k t nhp vo trong 1 textarea (xem hnh)

b. Cch dng: To 1 textarea ri vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Restriced Text Area -> Ch nh s k t ti a v 2 thng s nh hnh -> OK

46. Editable Drop-down a. Cng dng: Dng to 1 list menu cho php user g hoc chn 1 gi tr t database, hoc thm gi tr mi vo database

b. Cch dng: To 1 textfield v recorset cha d liu ri vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Editable Drop-down -> Ch nh thng s -> OK

47. Auto Complete Text Field a. Cng dng: Dng to 1 list menu cho php user g hoc chn 1 gi tr t database b. Cch dng: To 1 textfield v recorset cha d liu ri vo Server Behavior -> + -> Developer Toolbox -> Form Controls -> Auto Complete Text Field -> Ch nh thng s -> OK

48. Create Dynamic List Wizard a. Cng dng: Dng to list cc record trong 1 table hoc 1 recordset. S dng khi mun xem v qun l cc d liu trong table. Thng dng trong phn qun tr website b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Dynamic Lists -> Create Dynamic List Wizard 49. Create Dynamic Form Wizard a. Cng dng: Dng to form thm, chnh, xa record. Thng dng trong phn qun tr website b. Cch dng: Vo menu Insert -> Developer Toolbox -> Create Dynamic Form Wizard 50. Upload File a. Cng dng: Upload 1 file. Thng dng kt hp vi tool Dynamic Form to chc nng upload file b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> File Upload -> Upload File -> Chn text file cha tn file, field s lu tn file vo. Folder cha file , cc tn m rng m bn chp nhn, kch thc ti a ca file upload -> OK 51. Check Detail Records a. Cng dng: Kim tra cc record bn quan h nhiu khi xa 1 record bn quan h 1.Thng dng kt hp vi tool Dynamic Form b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Form Validation -> Check Details Records 52. Detele Detail Record a. Cng dng: Xa cc record quan h nhiu khi xa 1 record bn quan h 1.Thng dng kt hp vi tool Dynamic Form

b. Cch dng: Vo Server Behavior -> + -> Developer Toolbox -> Form Validation -> Delete Details Records 53. Server-Side Includes From Table a. Cng dng: Dng khi mun giu a ch cc trang web ca bn (thay th tn tht cc file bng cc tn gi) b. Cch dng: Bn phi to 1 table cha m t cc trang. Ri vo Server Behavior -> + -> Developer Toolbox -> Server-Side Includes -> Server-Side Includes From Table -> Chn table m t cc trang web v khai bo cc field cha tn gi, field cha tn tht ca cc trang web, field cha title, field cha keyword v description cho cc trang. 54. Server Side Includes From List a. Cng dng: Dng khi mun giu a ch cc trang web ca bn (thay th tn tht cc file bng cc tn gi). b. Cch dng: Ging nh tool Server-Side Includes From Table nhng m t cc trang bn khng t trong table m g trc tip trong tool ny.

You might also like