上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页
摘要: html code:代码js code:代码 阅读全文
posted @ 2010-08-17 19:14 DavidHHuan 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 事实上,javascript是不能像PHP,Java那样定义函数参数的默认值的,比如说像下面的例子,是不对的。[代码]调用test(10),test(10, 20)时会以下错误:缺少对象不过javascript提供了另一种方法来处理。使用 arguments 实参数组[代码] 阅读全文
posted @ 2010-08-15 15:39 DavidHHuan 阅读(599) 评论(0) 推荐(0) 编辑
摘要: That is just my method to create the ajax module. Here I will build a module "myajax" and locate it in sites/all/modules/1. Create the .info file, insert the content as below.[代码]2. Create the .module... 阅读全文
posted @ 2010-08-14 23:00 DavidHHuan 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1. Install captcha2. Go to admin/user/captcha3. Check "Add CAPTCHA administration links to forms"4. Go to your webform node (just view it, do not edit)5. Expand the "CAPTCHA" fieldset at the bottom of... 阅读全文
posted @ 2010-08-13 14:14 DavidHHuan 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Creating radio buttons, checkboxes, and select lists is a little tricky in Webform, since they're all part of the "select" component type. To create these types, follow the instructions below for the ... 阅读全文
posted @ 2010-08-12 19:10 DavidHHuan 阅读(381) 评论(0) 推荐(0) 编辑
摘要: So what we need, just run the command below.[代码] 阅读全文
posted @ 2010-08-12 13:30 DavidHHuan 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 1. Set the hosts file.Open /etc/hosts file, add the code as below for example:# drupal127.0.0.1 drupal2.39.lan.gz127.0.0.1 *.drupal2.39.lan.gz2. Set the Virtual Hosts in ApacheOpen /opt/lampp/etc/http... 阅读全文
posted @ 2010-08-05 17:31 DavidHHuan 阅读(1925) 评论(0) 推荐(0) 编辑
摘要: When installing Drupal 6.17, I got some errors as below: [代码]It seems that there is not a good way to resolve this via google.com, but that I have a an method.Add a "@" before the ereg(), the code of ... 阅读全文
posted @ 2010-07-22 13:59 DavidHHuan 阅读(278) 评论(0) 推荐(0) 编辑
摘要: By default, we can put the static pages in protected/views/site/pages.For example, I put the static "about.php" in protected/views/site/pages.The way of Yii to get the current name when to use in menu... 阅读全文
posted @ 2010-07-21 22:49 DavidHHuan 阅读(360) 评论(0) 推荐(0) 编辑
摘要: I have a default site with url www.example.com, and now I want to build another subsite with subdomain mysite.example.com.1. Set the folder of the submain.Create a folder mysite.example.com under site... 阅读全文
posted @ 2010-07-21 17:29 DavidHHuan 阅读(323) 评论(0) 推荐(0) 编辑
摘要: When I use this extension of ezXML Export, I found that when the content contains &, the xml can be exported but can't open.Then i Found that the type of the attribute is a text line, and in the c... 阅读全文
posted @ 2010-07-16 16:57 DavidHHuan 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1. You have to install the swark extension.2. Below I want to change the $view_parameters.offset to 10 in the template.[代码] 阅读全文
posted @ 2010-07-12 15:04 DavidHHuan 阅读(269) 评论(0) 推荐(0) 编辑
摘要: As the code below, $object is $node.data_map.content.output.output_xml. [代码] 阅读全文
posted @ 2010-07-08 14:54 DavidHHuan 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Below we list the core components that are pre-declared byCWebApplication.assetManager: CAssetManager -manages the publishing of private asset files.authManager: CAuthManager - manages role-based acce... 阅读全文
posted @ 2010-07-07 23:04 DavidHHuan 阅读(534) 评论(0) 推荐(0) 编辑
摘要: When I want to access a node of eZ via SSL, here are something to be done in my test envirement.1. Modify the setting fileOpen the file "settings/override/site.ini.append.php", add the code below : [代... 阅读全文
posted @ 2010-07-05 17:18 DavidHHuan 阅读(449) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 28 下一页