摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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,... 阅读全文
摘要:
页面代码:代码这样在点击test这个div的时候,就可以改变地址栏的参数并跳到指定的acthor。 阅读全文
摘要:
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 ... 阅读全文
摘要:
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,... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
尊重原创,原文地址:http://www.slyar.com/blog/ubuntu-alternate-iso-upgrade.html1、下载Ubuntu ISO镜像2、挂载光盘镜像,要使用-o loop参数,镜像文件及挂载位置可自行修改sudo mount -t iso9660 -o loop /media/disk/ubuntu-i386.iso /media/cdrom03、开始升级,如果之前改了挂载位置,这里也要对应修改sudo gksu "sh /cdrom/cdromupgrade"还有一种就是1、添加iso文件源:sudo mount -t iso9660 阅读全文
摘要:
其实,文章的重点是放在了如何配置php的xdebug环境,毕竟环境搭好了,像NetBeans,Eclipse这样的IDE,随便哪个都可以做php的调试的。操作环境:OS: Ubuntu 10.04Server: xampp 1.7.3a1. 下载xdebug.so方便懒人,不用去编译,所以就提供一个32位的xdebug.so。http://download.csdn.net/source/2757... 阅读全文
摘要:
1. Scene of building a theme.代码2. Build a function: hook_theme()[代码]3. Build a function: theme_hook()[代码] 阅读全文
摘要:
I am a fresh man of java and play framework, maybe there is everyone know how to seperate the admin to a module, so please forgive me and help to build play framework better. :)Let use yabe for exampl... 阅读全文
摘要:
代码代码 阅读全文
摘要:
Please see the command below: 代码That is to say i got the error: Too many levels of symbolic links. The reason is that, when I creating the symbolic link, I only used the relative path, but not the abs... 阅读全文
摘要:
1. Download the stax, and then uncompress it.http://stax-downloads.s3.amazonaws.com/sdk/stax-sdk-0.3.8-dist.zip2. Set the enviroment, open the file ~/.bash_profile (in fact that you may have to create... 阅读全文