摘要:
When I runed a 32M database file in phpmyadmin, I got this error in the screen.[代码]There is a good way to fix this problem. Open the my.cnf file in the mysql install path. (Because I install the lampp... 阅读全文
摘要:
html code:代码js code:代码 阅读全文
摘要:
事实上,javascript是不能像PHP,Java那样定义函数参数的默认值的,比如说像下面的例子,是不对的。[代码]调用test(10),test(10, 20)时会以下错误:缺少对象不过javascript提供了另一种方法来处理。使用 arguments 实参数组[代码] 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
So what we need, just run the command below.[代码] 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
1. You have to install the swark extension.2. Below I want to change the $view_parameters.offset to 10 in the template.[代码] 阅读全文
摘要:
As the code below, $object is $node.data_map.content.output.output_xml. [代码] 阅读全文
摘要:
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... 阅读全文