摘要:
多图片或者是JS,CSS并行下载,但是 CSS,JS里的图片路径应该如何书写:是用相对路径还是绝对路径。绝对路径是变成变量还是什么
阅读全文
posted @ 2012-08-29 22:56
myjavawork
阅读(126)
推荐(0)
摘要:
Zend Framework 的总结:快速配置zend Framework基于配置文件的配置基于init方法的配置
阅读全文
posted @ 2012-08-29 16:17
myjavawork
阅读(166)
推荐(0)
摘要:
magento的开发原则: 1.不要修改magento的Core. 2.对于需要添加的功能,如果使用theme即可以解决的问题,即修改theme即可。如果必须做成插件才可以完成的,则考虑使用插件 3. 规范的书写代码 MAGENTO与theme的开发要点 添加以及移除javascript以及CSS 静态块的使用 setting template 新页面的布局 常用的layout...
阅读全文
posted @ 2012-08-26 16:33
myjavawork
阅读(930)
推荐(0)
摘要:
magento需要总结的点很多,个人感觉可以从以下的几个方面考虑: magento的基本使用 magento的模板 magento的体系结构 magento的插件开发 magento的基本使用 Global-Website-Store methodology Managing products the customer-focused way Flat rate shipping Tabl...
阅读全文
posted @ 2012-08-26 12:13
myjavawork
阅读(279)
推荐(0)
摘要:
wordpress custom formA last option is to write a custom function (in yourfunctions.phpfile) and hook that function to theget_search_formaction hook.function sanofi_search_form( $form ) { $form = '<form role="search" method="get" id="searchform" action="'
阅读全文
posted @ 2012-08-21 17:56
myjavawork
阅读(279)
推荐(0)
摘要:
CSS中对font-facelast-child 等 一系列的IE支持并不理想的解决
阅读全文
posted @ 2012-08-20 11:04
myjavawork
阅读(146)
推荐(0)
摘要:
$rss = fetch_feed($rss_feed);//display the RSS feed wp_widget_rss_output( array( 'url' => $rss_feed, 'title' => $title, 'items' => $rss_items, 'show_summary' => 1 ) );http://www.wprecipes.com/wordpress-tip-fetch-and-display-rss-feeds
阅读全文
posted @ 2012-08-19 18:18
myjavawork
阅读(162)
推荐(0)
摘要:
wordpress 自定义编辑器:在编辑器中添加 HTML标签,或者让用户可以通过点击编辑器中的按钮来生成shortcodeshortcode相关:http://brettterpstra.com/adding-a-tinymce-button/http://codex.wordpress.org/TinyMCE_Custom_Buttonshttp://alisothegeek.com/2011/05/tinymce-styles-dropdown-wordpress-visual-editor/
阅读全文
posted @ 2012-08-18 14:49
myjavawork
阅读(227)
推荐(0)
摘要:
jquery 的live事件机制总结
阅读全文
posted @ 2012-08-03 17:11
myjavawork
阅读(146)
推荐(0)
摘要:
得到博客的首页: <?php echo home_url( '/' ); ?> 得到模板中的CSS文件位置,image 图片的位置 <link href="<?php bloginfo('template_directory'); ?>/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <img src="<?php blogi...
阅读全文
posted @ 2012-07-30 19:07
myjavawork
阅读(174)
推荐(0)