magento file 树形结构
http://www.8tiny.com/source/magento/nav.html?index.html ......
Create Shipping Method Module
Introduction This tutorial is similar to Creation of Payment Method module, and differs the most in adapter model. Each shipping method can be done as separate module or few methods can be combined in same module if they share functionality or could be used together. Our new module will be called NewModule. Replace all instances of ‘NewModule’ with name of your module and ‘newmodule’ with simplified code, that contains only alphanumeric characters and underscore. Replace all instances of ‘YourCompany......
ubuntu 双系统
哎,老兄,咱俩的问题一模一样啊, 这是我在网上找的,用这个方法可以进去系统,但是我也不知道怎么修复 要是找到了也告诉我一下哦, 先,当显示sh:grub的时候,敲入如下代码 ls,会显示当前硬盘分区的情况,像我的结果就是 (hd0) (hd0,1) (hd0,5) (hd0,6) (hd0,1)是C盘,我把ubuntu安装在D盘,就是(hd0,5),其实只要知道有哪几个分区就行了,可以一个个试的,然后是下面的代码: set root=(hd0,5) enter loopback loop0 /ubuntu/disks/root.disk enter set root=(loop0) enter linux /bo......
图文教你虚拟机安装Ubuntu
安装前的准备工作 最近国外厂商和国内Linux爱好者都在热议的话题是,Linux有能力挑战Windows的市场地位了。为什么呢?因为最流行的Linux--Ubuntu发布新版本10.10了,它的人机交互界面越来越棒。 但对大部分不了解Linux操作系统的人来说,都还有这样的想法:要重装系统才能玩Ubuntu,我才懒得干呢。Linux初学者说我不会安装咋办呢?针对这些问题,小编借这篇文章,手把手教大家用虚拟机来安装Ubuntu 10.10。 虚拟机的好处大家都知道......
Create An External Database Connection in Magento
While I'm confident that many people in the Magenosphere have figured this one out, it took a whole Saturday night and part of my soul for me to achieve it. Hopefully, by presenting this code here, I can save you from the pain I endured :) Creating The Connection To create your connection, create a custom module and add the following to your config.xml. The code below is the bare minimum needed to get the external database connection working. ? 1 2 3 4 5 ......
Run Magento Code Externally
If you're working with Magento often you'll find sometimes you need to use Magento functions and classes outside of the Magento platform. This can be easily achieved with the following lines of code. ? 1 2 3 4 5 6 7 8 9 10 require_once('app/Mage.php'); //Path to Magento umask(0); Mage::app(); // Now you can r......
Accessing Static Blocks In Magento
Sometimes a client asks to be able to manage certain areas of their Magento ecommerce website that would usually require access to template files. While this is okay, most clients consider HTML a foreign language and would probably do more harm than good. To remedy this, a lot of developers would consider creating a custom module. While this isn't bad, sometimes it can require too much work if the client only wants to change one line of text! A much easier and quicker solution is to use a static block. Static Blocks can be included into your design in three main ways: Inside a ......
addAttributeToFilter Conditionals In Magento
addAttributeToFilter is a function that can be called on a product collection in Magento. In short, it adds a condition to the WHERE part of the MySQL query used to extract a product collection from the database. ? 1 2 3 4 $_products = Mage::getModel('catalog/product')->getCollection() ->addAttributeToSelect(array('name', 'product_url', 'small_image')) ->addAttributeToF......
Magento Checkout Error: undefined Javascript Alert
This error occurs when the user gets to the final step in the Magento Onepage checkout: the order review. When they click the submit button the page loads for a few seconds and then a Javascript alert box is displayed with the message 'undefined'. Not only does this destroy the trust a customer has in your website, it actually stops them from completing the purchase. This means you are losing money and customers! Unfortunately there is no quick generic fix for this but hopefully, by explaining the cause and a way to identify the error, you will be able to overcome this on your own.......
Magento Cron Jobs
What is Cron? To quote Wikipedia, 'cron is a time-based job scheduler in Unix-like operating systems.' It functions similarly to Windows Task Scheduler in that it allows you to specify actions to be ran after a certain interval. This can be useful for running daily backups or deleting your logs at the end of every month. Where is Cron Used in Magento? By default, cron is used in Magento for various things such as keeping your catalog indexes up to date and refreshing catalog price rules. Cron jobs can also be set up for custom modules, which we will cover shortly. D......
- Page:51/146 1460 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(760)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)