上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 30 下一页
摘要: tar -- 压缩/解压代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--tar-tvfarchive.tar#冗余的显示archive.tar里面的文件tar-cfarchive.tarfoobar#将foo和bar打包成archive.tartar-xfarchive.tar#从archive.tar解压文件tar-zxvfarchive.tar.gz#在解压archive.tar.gz过程中冗余的显示所包含的文件tar-zxvfCarchi 阅读全文
posted @ 2011-01-06 15:16 DavidHHuan 阅读(421) 评论(0) 推荐(0)
摘要: cck (embed in the kernal in drupal 7)The Content Construction Kit allows you to add custom fields to nodes using a web browser.viewsThe Views module provides a flexible method for Drupal site designers to control how lists and tables of content (nodes in Views 1, almost anything in Views 2) are pres 阅读全文
posted @ 2011-01-04 18:46 DavidHHuan 阅读(413) 评论(0) 推荐(0)
摘要: When working on a project by yourself in localhost, maybe sometime you changed something, and after that, you want to revert it, then you need the version control system (VCS) to help you. It allows you to revert to a previous version if a change breaks something, work with several people and give a 阅读全文
posted @ 2011-01-01 17:21 DavidHHuan 阅读(281) 评论(0) 推荐(0)
摘要: the correct codes of embed flash in html is as below:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--objectclassid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7, 阅读全文
posted @ 2010-12-14 16:04 DavidHHuan 阅读(418) 评论(0) 推荐(0)
摘要: Drupal 6:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//ThiswilladdaJSfiletoyourhead(specificallythe$scriptsvariableinpage.tpl.php)drupal_add_js(drupal_get_path('module','my_module').'/my_module.js');//ThisaddinlineJStotheheadofthedocumentdrupal 阅读全文
posted @ 2010-12-14 15:48 DavidHHuan 阅读(567) 评论(0) 推荐(0)
摘要: Let say we have three table as:[代码]From their structure we can know that product table and category table are MANY_MANY relation, category_product is the middle table, then how can we get the product records when we have a category.id?Set the modelsProduct:代码Code highlighting produced by Actipro Cod 阅读全文
posted @ 2010-12-11 19:22 DavidHHuan 阅读(792) 评论(0) 推荐(0)
摘要: After i downloaded the lampp and unpacked it in /opt/lampp, then i try to run it,Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->sudo /opt/lampp/lampp startI got these message:Code highlighting produced by Actipro CodeHighlighter (freeware)http:// 阅读全文
posted @ 2010-11-18 00:17 DavidHHuan 阅读(1709) 评论(0) 推荐(0)
摘要: After I installed the ubuntu, and then i try to install the language packageSystem >> Administration >> Language SupportI got this error:The action would require the installation of packag... 阅读全文
posted @ 2010-11-17 01:46 DavidHHuan 阅读(1088) 评论(0) 推荐(0)
摘要: Let say we have one main domain, andfour sub domain, also, we have to develop them all to French andEnglish. The structure as below:main      www.example.com  child_one  child_one.example.com  child_t... 阅读全文
posted @ 2010-11-10 11:29 DavidHHuan 阅读(845) 评论(0) 推荐(0)
摘要: Here i will take stay.com for example, because this website i think is a very beatiful and flexiable website.For example, under her home page, the urls of the citys are as: http://www.stay.com/london,... 阅读全文
posted @ 2010-10-28 18:01 DavidHHuan 阅读(760) 评论(0) 推荐(0)
摘要: 页面代码:代码这样在点击test这个div的时候,就可以改变地址栏的参数并跳到指定的acthor。 阅读全文
posted @ 2010-10-27 18:18 DavidHHuan 阅读(1411) 评论(0) 推荐(0)
摘要: Assume we have two file, of two packages. Here i will use web.go extension to run this example.These two files are located in the same folder.test.go[代码]user.go[代码]The steps to run the app.1. Compile ... 阅读全文
posted @ 2010-10-25 15:02 DavidHHuan 阅读(504) 评论(0) 推荐(0)
摘要: When reading the code of Yii blog example, we can find that, the code of site/login, as below:[代码]The LoginForm is located in protected/models, it extends from CFormModel, in the views/site/login.php,... 阅读全文
posted @ 2010-10-22 17:58 DavidHHuan 阅读(707) 评论(0) 推荐(0)
摘要: If you are creating a function that you intend to be strictly private (i.e. no other module should rely on it being a stable function or call it), start the function name with "_your_module_name_". If... 阅读全文
posted @ 2010-10-20 15:20 DavidHHuan 阅读(284) 评论(0) 推荐(0)
摘要: Here is a step by step to show how to run command in the server with yii framework.1. Create the web application.[代码]2. Edit myapp/protected/config/console.php:[代码]3. Create myapp/protected/commands/D... 阅读全文
posted @ 2010-10-20 14:32 DavidHHuan 阅读(1174) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 30 下一页