magento widgets

piaoling  2011-04-28 14:22:33

  Overview Magento Widgets allow business users with no technical knowledge to easily add dynamic content (including product data, for example) to pages in Magento Stores. This allows for greater control and flexibility in creating informational and marketing content through administrator tools, enabling intuitive and efficient control of content such as:   Dynamic product data in Marketing Campaign Landing Pages Dynamic Information such as Recently Viewed Items into Content Pages Promotional images to position in different blocks, side columns and other locatio......

类别 :  magento(258)  |  浏览(3490)  |  评论(0)

JavaScript字符串函数大全

piaoling  2011-04-28 14:11:36

JS自带函数 concat 将两个或多个字符的文本组合起来,返回一个新的字符串。 var a = "hello"; var b = ",world"; var c = a.concat(b); alert(c); //c = "hello,world" indexOf 返回字符串中一个子串第一处出现的索引(从左到右搜索)。如果没有匹配项,返回 -1 。 var index1 = a.indexOf("l"); //index1 = 2 var index2 = a.indexOf("l",3); //index2 = 3 charAt 返回指定位置的字符。 var get_char = a.charAt(0); //get_char = "h" lastIndexOf 返回字符串中一个子串最后一处出现的索引(从右到左搜索)......

类别 :  JS(21)  |  浏览(3748)  |  评论(0)

Ubuntu 11.04 安装过程中的屏幕截图(多图)

piaoling  2011-04-28 13:59:18

Ubuntu 11.04 将于 4月28日正式发布,这次相信不会跳票,没几天了。 先来看看安装过程中的截图吧(以前把这种贴成为杀猫贴,好在现在都是宽带): ......

类别 :  默认(752)  |  浏览(3189)  |  评论(0)

Magento's architecture and what that means for PHP developers. Read full article

piaoling  2011-04-28 11:56:13

Magento for Developers: Part 1 - Introduction to Magento   Alan Storm de-mystifies Magento's architecture and what that means for PHP developers. Read full article ......

类别 :  默认(752)  |  浏览(3312)  |  评论(0)

php获取文件类型

piaoling  2011-04-28 11:52:06

<?php $filename = "D:/htdocs/bak/upload/fff/把心交出来.wma"; $file     = fopen($filename, "rb"); $bin      = fread($file, 2); //只读2字节 fclose($file); $strInfo  = @unpack("c2chars", $bin); $typeCode = intval($strInfo['chars1'].$strInfo['chars2']); $fileType = ''; switch ($typeCode) {     case 7790:         $fileType = 'exe';         break;     case 7784: &n......

类别 :  PHP(78)  |  浏览(3784)  |  评论(0)

PHP正则表达式 /i, /is, /s, /isU等

piaoling  2011-04-28 10:39:13

PHP正则表达式 /i, /is, /s, /isU等 都是些什么东西呢? i 匹配大小写 s 模式中的圆点元字符(.)匹配所有的字符,包括换行符 x 模式中的空白字符除了被转义的或在字符类中的以外完全被忽略,在未转义的字符类之外的 # 以及下一个换行符之间的所有字符,包括两 头,也都被忽略 A (PCRE_ANCHORED) 如果设定了此修正符,模式被强制为“anchored”,即强制仅从目标字符串的开头开始匹配即自动在模式开头加上^。 D (PCRE_DOLLAR_ENDONLY) 如果设定了此修正符......

类别 :  PHP(78)  |  浏览(3634)  |  评论(0)

Tutorial: Creating a Magento Widget - Part 1

piaoling  2011-04-28 09:57:35

You can start with an introductory blog post on Magento Widgets to get understanding of the key concepts and terminology. Introduction The Magento Community Edition Version 1.4 facilitates the use of custom frontend extensions by introducing a new concept of customizable widgets, which can provide more control over the frontend behavior and visual block placement to store owners. Developing a widget doesn’t differ much from developing a regular Magento extension which provides some frontend functionality. Each Magento extension can have any number of widgets. You can also de......

类别 :  默认(752)  |  浏览(3644)  |  评论(0)

深入理解Magento

piaoling  2011-04-27 18:58:14

前言 我从2007年开始使用Magento,应该算是国内第一批使用Magento的用户。但是我却从来没有认真研究过Magento,更多的停留在应用层面。虽然也做过一些插件,但也就是依葫芦画瓢而已。偶然间看到Alan Storm的一系列关于Magento的文章, 我忍不住的心潮澎湃,相见恨晚。Alan的文章循序渐进,深入浅出地讲述了Magento的架构和工作方式, 把一个复杂系统的内部结构淋漓尽致的展现在我们面前。读完以后,我茅塞顿开,感叹Magento的强大,架构之美。于是我决定翻译Alan的文章......

类别 :  magento(258)  |  浏览(3609)  |  评论(0)

JSON

piaoling  2011-04-27 14:14:40

JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写,同时也易于机器解析和生成。它基于JavaScript(Standard ECMA-262 3rd Edition - December 1999)的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家族的习惯(包括C, C++, C#, Java, JavaScript, Perl, Python等)。这些特性使JSON成为理想的数据交换语言。 结构形式   JSON建构于两种结构:   1. “名称/值”对的集合(A collection of name/value pairs)。不同的语言中,它被理解为对象(object)......

类别 :  默认(752)  |  浏览(3506)  |  评论(0)

2011 程序员薪资调查报告

piaoling  2011-04-27 13:52:41

自2011年初,CSDN在网上发起“2011年软件行业技术人员薪资大调查”以来,引起了广大开发者们的热烈反响,短短两月时间内,近万名开发者提交了调查数据。尽 管这只是中国百万开发者大军的一小部分,但他们所在的行业几乎涵盖了整个中国软件的产业链,他们的职位几乎代表了一个软件团队体系的每一个层面,而且 “一叶知秋”,所以透过这些调查数据和变化,我们或许可以一瞰中国软件开发者的普遍生存状态,甚至可帮助开发者,更准确地定位自己在产业内的坐标......

类别 :  生活(60)  |  浏览(4167)  |  评论(0)
  • Page:68/146  1452 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类