Magento 1.9.X 系列教程

Magento安装下载教学: Magento教程 1:免费购物车系统,轻松建立Magento第一步! Magento教程 2:Magento 社群版安装教学! Magento教程 3:如何在Magento社群版(Community Edition)安装范例资料? Magento工作流程: Magento教程 4:主机环境准备 Magento教程 5:系统安装与备份 Magento教程 6:商店设定与参数 Magento教程 7:客制化网站 Magento基本操作: Magento教程 8:如何新增首页选单? Magento教程 9:如何上传商品? Magento教程 10:如何修改网站文字? Magento教程 11:Inline Transla… Read More

提交表单到弹出窗口 Submit a form into a popup (含实例)

实例目的:一些网站不允许被包含在iframe中(例如paypal standard),为了实现让用户仍然留在本站的目的,下面的实例可供参考。   方法一: HTML的方式 DEMO <form id="paypal-payment-form" name="paypal-payment-form" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="POPUPW" onsubmit="POPUPW = window.open('about:blank','POPUPW','width=900,height=700,scro… Read More

Ubuntu 16.04: 开启wifi设置 How To Enable WiFi In Ubuntu 16.04

Enable WiFi in Ubuntu 16.04. How to enable WiFi in Ubuntu, using Terminal (command line). Fix “Ubuntu WiFi is disabled by hardware switch” on Ubuntu 16.04 and other Ubuntu Derivative Systems. How To Enable WiFi In Ubuntu 16.04 Open Systems Settings and navigate to “Software and Updates” under System tab. Once you are there, click on the “Additional

值得使用的CSS库添加图像悬停效果!

一个悬停效果简单来说可以定义为在颜色,产生的效果文字的大小或形状或任何其他形式的变化发生,当你把鼠标光标移动到图像。这可以通过CSS编码容易实现。这里我们介绍国外8个CSS库添加图像悬停效果,提高网站的交互性。 1. Aero CSS3 Hover Effects ($13) 这是一个令人印象深刻、轻量级、响应式的图片悬停效果库,完全由纯 CSS3 实现。 2. Imagehover.css imagehover.css是一个精心设计的CSS库,让你轻松的为图片添加悬停效果。超过 40 种效果,而压缩后只有 19KB 大小。 项目地址:https://github.com/ciar4n/imagehover.css 下载:i… Read More

Magento: 产品页面下jquery change函数失效 Call javascript function onchange product option on Magento product page

明显的原因是change函数跟magento默认的onchange函数冲突。 一个方法是编辑 /js/varien/configurable.js  文件 : Place call to your function just above return; in function reloadPrice: function() 另一个不修改核心文件的方法是: Try $(document).on('change','#multiid',function(){ alert('Change Happened'); }); As your select-box is generated from the code, so you have to use event deleg… Read More

终于我还是放手了, 但是只想说,暂别 Aptana Studio 3,Phpstorm来吧!(附:个人遇到的小问题的解决方法以及phpstorm 2016.1, phpstorm2016.2破解码)

从2012年的时候就开始用Aptana Studio,那个时候还是Aptana Studio 2版本,一直用的都是超爽,但是近来Aptana Studio 3 在ubuntu系统下频繁闪退(应该是跟java安装有关,但是自己懒得一直倒腾了),尤其是升级系统到ubuntu 16.04之后,终于到了难以忍受的地步,除非有更新,否则暂时不会用Aptana Studio 3了,现在开始用Phpstorm 了, Phpstorm 虽好,但是总感觉比Aptana Studio 3差点什么。 好吧,Phpstorm 2016.1 在ubuntu 16.04下还是相当稳定的,用了些天,慢慢习惯了它,在此纪念一下。 官网:https://www.j… Read More

如何在Webstorm/Phpstorm中设置连接FTP,并快速进行文件比较,上传下载,同步等操作

Phpstorm除了能直接打开localhost文件之外,还可以连接FTP,除了完成正常的数据传递任务之外,还可以进行本地文件与服务端文件 的异同比较,同一文件自动匹配目录上传,下载,这些功能是平常IDE,FTP软件中少见的,而且是很耗工作时间的一个操作。换句话说,在 Webstorm/Phpstorm中操作ftp能找到原来版本控制的感觉。唯一的缺点是:上传,下载的打开链接要稍费时间,适合的场景在于单文件的编 辑,这个如果网速够快一般可以忽略,而且就个人体验,虽然链接的速度稍慢,传输的速度并不慢。 1. 设置: 设置的入口有两处, a. Tools->Deployment->configruati… Read More

如何优雅的使用 phpStorm

按照惯例依然是从百科上复制一条简介: PhpStorm 是 JetBrains 公司开发的一款商业的 PHP 集成开发工具。PhpStorm可随时帮助用户对其编码进行调整,运行单元测试或者提供可视化debug功能和智能HTML/CSS /JavaScript/PHP编辑、代码质量分析、版本控制集成(SVN、GIT)、调试和测试等功能。另外,它还是跨平台。在Windows和 MacOS下都可以使用。PhpStorm-让开发更智能,而不是更困难。 听说phpStorm 10支持php7呃 优点 跨平台。 对PHP支持refactor功能。 自动生成phpdoc的注释,非常方便进行大型编程。 内置支持Zencode。 生成类的继承… Read More

Ubuntu 16.04 安装 Openjdk for Aptana How can I install Openjdk on Ubuntu 16.04?

Since I upgrade to the latest version of Ubuntu, cannot install Java OpenJDK needed to compile android custom roms, when I run sudo apt-get install openjdk-7-jdk appear the following error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that

Ubuntu 16.04 安装第三方Apps Can’t Install Third-Party Apps on Ubuntu 16.04? You’re Not Alone

Having trouble installing third-party .debs on Ubuntu 16.04? You, my friend, are far from alone. A huge number of you have pinged us about a big ol’ bug in the Xenial Xerus’ new Software app. A bug that leaves you unable to install popular apps like Steam, Google Chrome, and Nylas N1, using .deb files. Double-clicking on a .deb installer opens the Softwar…

Ubuntu 16.04 安装 LAMP Install Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04

Verified and Tested 03/1/16 Introduction In this How-To, we install LAMP on an Ubuntu 16.04 Server. LAMP is a simple software bundle made of 4 components, Linux, Apache, MySQL, and PHP. Linux the core of the platform, in this case, we are using Ubuntu 16.04. Apache is the web server, majority of the web servers in the world

Ubuntu 16.04 安装 player Install Flash Player for Watching Video in Ubuntu 16.04 Xenial Xerus (LTS)

Install Flash Player for Watching Video in Ubuntu 16.04 Xenial Xerus (LTS), Ubuntu 15.10 wily werewolf, Ubuntu 15.04 vivid Vervet, ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS) and Other Ubuntu Derivative System 使用Adobe® 闪存 ®播放器是一个轻量级的浏览器插件和丰富的互联网应用程序运行时,提供一致的和引人入胜的用户体验,令人惊叹的音频/视频播放,和令人兴奋的游戏。 Flash Player安装在超过13亿个系统上,是提供… Read More

Magento: 判断是否为手机浏览 Optimise Web’s Mobile Detect Class for Magento

项目地址:Optimise Web’s Mobile Detect Class for Magento Optimise Web’s Mobile Detect Class for Magento MobileDetect.net is a lightweight PHP class for detecting mobile devices. Optimise Web’s Magento extension allows using Mobile Detect’s functions from within Magento. Usage Mage::helper(‘mobiledetect’)-… Read More