[Pinned] drupal视频教程分享
我们将陆续推出drupal视频分享教程,默认格式为flv格式的文件,点击即可播放:
2012.5.10
drupal7视频教程-drupal区块
2012.5.9
drupal7视频教程-drupal_get_form调用
2012.5.8
drupal7视频教程-构建表单提交after_build
2012.5.5
drupal7视频教程-drupal菜单系统
drupal7视频教程-drupal表单定制
2012.5.10
drupal7视频教程-drupal区块
2012.5.9
drupal7视频教程-drupal_get_form调用
2012.5.8
drupal7视频教程-构建表单提交after_build
2012.5.5
drupal7视频教程-drupal菜单系统
drupal7视频教程-drupal表单定制
[Pinned] drupal的学习之旅
开始drupal的学习之旅,希望能够在这个领域有所作为。好的开始是成功的一半,加油! 有两本书值得推荐,
第一本using drupal,在以下网址有翻译版本。 http://www.verynic.com/node/8
第二本是learning drupal6,同样的翻译版本: http://zhupou.cn/node/567 加油哦!
使用过程中需要了解的一些核心的api:
drupal6 hooks api
drupal7 ubercart hooks api
drupal forms api
Converting 6.x modules to 7.x
查询druapal api
Dynamic queries > Expressions
drupal7模板解析
drupal文档
drupal自动翻译t()
drupal菜单区块等相关翻译
drupal views的教程
drupal常用技巧和经验
drupal建站技巧
使用regions管理你的区块
drupal订餐系统
drupal数据库查询
drupal案例学习
drupal架构师建站规范
drupal集成案例
Distribution packaging
drupal7模块开发教程
drupal开发实例
drupal多语言翻译
drupal views帮助教程
drupal文档
drupal用户社区网站相关的模块
我自己收集的一些drupal资料:http://www.majormoves.net
drupal交流群:199415234
第一本using drupal,在以下网址有翻译版本。 http://www.verynic.com/node/8
第二本是learning drupal6,同样的翻译版本: http://zhupou.cn/node/567 加油哦!
使用过程中需要了解的一些核心的api:
drupal6 hooks api
drupal7 ubercart hooks api
drupal forms api
Converting 6.x modules to 7.x
查询druapal api
Dynamic queries > Expressions
drupal7模板解析
drupal文档
drupal自动翻译t()
drupal菜单区块等相关翻译
drupal views的教程
drupal常用技巧和经验
drupal建站技巧
使用regions管理你的区块
drupal订餐系统
drupal数据库查询
drupal案例学习
drupal架构师建站规范
drupal集成案例
Distribution packaging
drupal7模块开发教程
drupal开发实例
drupal多语言翻译
drupal views帮助教程
drupal文档
drupal用户社区网站相关的模块
我自己收集的一些drupal资料:http://www.majormoves.net
drupal交流群:199415234
现在进行WEB重构的时候,一般我们做DIV 居中是这样:
body{
margin:0px auto;
text-align:center;
}
但是在没申明下面这句解析方法的时候,页面就会出错.不能居中对齐!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
为此困扰了我几天.那么有的朋友就会说:你加上这句不就行了吗? 可是有时候页面并不能全部按上面规定的代码格式来编写,比如说要改多彩滚动条.
直到昨天,一个想法在我脑中闪了一下. 何不用JS来控制页面的边距?说干就干!
找了个页面.添加了下面的一小段代码.
<script language="javascript" type="text/javascript" src="function.js"></script>
function.js内容:
if(window.screen.width>800){document.write("<style type=\"text/css\">body{margin-left:"+(window.screen.width-800)/2+"px}</style>");}
保存,测试. 哈哈,换了几个分辨率都可以正常居中!至此试验成功.
总结一下:
主要是这句代码起的作用:
(window.screen.width-800)/2 //计算页面应该留出的边距数值.800为我的DIV宽度 + 滚动条宽度.实际应用改为你自己的大小.
补充一点:上面这段JS 必须放在你的最后一个CSS连接或</style>的后面.
参考:http://www2.flash8.net/teach/4446.htm
body{
margin:0px auto;
text-align:center;
}
但是在没申明下面这句解析方法的时候,页面就会出错.不能居中对齐!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
为此困扰了我几天.那么有的朋友就会说:你加上这句不就行了吗? 可是有时候页面并不能全部按上面规定的代码格式来编写,比如说要改多彩滚动条.
直到昨天,一个想法在我脑中闪了一下. 何不用JS来控制页面的边距?说干就干!
找了个页面.添加了下面的一小段代码.
<script language="javascript" type="text/javascript" src="function.js"></script>
function.js内容:
if(window.screen.width>800){document.write("<style type=\"text/css\">body{margin-left:"+(window.screen.width-800)/2+"px}</style>");}
保存,测试. 哈哈,换了几个分辨率都可以正常居中!至此试验成功.
总结一下:
主要是这句代码起的作用:
(window.screen.width-800)/2 //计算页面应该留出的边距数值.800为我的DIV宽度 + 滚动条宽度.实际应用改为你自己的大小.
补充一点:上面这段JS 必须放在你的最后一个CSS连接或</style>的后面.
参考:http://www2.flash8.net/teach/4446.htm
http://drupal.org/documentation/modules/file
Adding a file field to a content type
Managing attachment display
Managing file locations and access
Accessing Private Files
PHP configuration
For file uploads to work, PHP must be configured properly. The following PHP configuration variables may need to be set or configured, in your PHP php.ini file, .htaccess file, or settings.php files.
file_uploads = On must be set to "On"
upload_max_filesize = 24M can't be larger than post_max_size
max_input_time = 300 small values may cause timeouts for large file uploads
memory_limit = 64M small values may cause out of memory errors for large file uploads
max_execution_time = 180 small values may cause timeouts for large file uploads
post_max_size = 24M limits the size of input submitted to the website (including attached files)
Adding a file field to a content type
Managing attachment display
Managing file locations and access
Accessing Private Files
PHP configuration
For file uploads to work, PHP must be configured properly. The following PHP configuration variables may need to be set or configured, in your PHP php.ini file, .htaccess file, or settings.php files.
file_uploads = On must be set to "On"
upload_max_filesize = 24M can't be larger than post_max_size
max_input_time = 300 small values may cause timeouts for large file uploads
memory_limit = 64M small values may cause out of memory errors for large file uploads
max_execution_time = 180 small values may cause timeouts for large file uploads
post_max_size = 24M limits the size of input submitted to the website (including attached files)
http://drupal.org/node/1256440
drupal中对图片的处理,列出部分目录:
Image module: Troubleshooting
Image derivative sizes
Attaching images to other nodes
Comparison of Image-handling modules
Comparison of Lightbox-type modules
Configuration of module Image Assist
Configuring Views_Galleria
Creating a FTP based Photo Sharing site
Creating image galleries
Flickr
IMCE: Image uploader and browser
Image Browser
Image galleries
Image gallery: pager with "prev - next" navigation for images
Image utility modules
Imagecache Profiles
Imagecache: dynamic image manipulation
Img package (abandoned): Easy way to display images in posts & comments
Integrating image_attach with your custom node type
Jcarousel block
Lightbox2
Mass import of image files
Upgrading Image Module from Drupal 5 to Drupal 6
Using IMG tags with image module
Slideshow Creator
Using Imagemagick with Image module
Views Gallery enhancements
Views tips and recipes for image module
YAGM: Yet Another Gallery Module
jCarousel Lite
Adding Images to your text
Cloudfront Installation
Configuration of Module Image
Customising Image Gallery Themes
Image processing
drupal中对图片的处理,列出部分目录:
Image module: Troubleshooting
Image derivative sizes
Attaching images to other nodes
Comparison of Image-handling modules
Comparison of Lightbox-type modules
Configuration of module Image Assist
Configuring Views_Galleria
Creating a FTP based Photo Sharing site
Creating image galleries
Flickr
IMCE: Image uploader and browser
Image Browser
Image galleries
Image gallery: pager with "prev - next" navigation for images
Image utility modules
Imagecache Profiles
Imagecache: dynamic image manipulation
Img package (abandoned): Easy way to display images in posts & comments
Integrating image_attach with your custom node type
Jcarousel block
Lightbox2
Mass import of image files
Upgrading Image Module from Drupal 5 to Drupal 6
Using IMG tags with image module
Slideshow Creator
Using Imagemagick with Image module
Views Gallery enhancements
Views tips and recipes for image module
YAGM: Yet Another Gallery Module
jCarousel Lite
Adding Images to your text
Cloudfront Installation
Configuration of Module Image
Customising Image Gallery Themes
Image processing




