magento varian form datetime,date
$dateFormatIso = 'yyyy-M-d HH:mm:ss'; $fieldset->addField( 'start_time', 'date', array( 'name' => 'start_time', 'time' => true, &nb......
magento date
$date="2012-7-18 14:00:00"; $change= Mage::getModel('core/date')->gmtDate("Y-m-d H:i:s", $date); Zend_Debug::dump($change); Zend_Debug::dump(Mage::getModel('core/date')->date("Y-m-d H:i:s", $change)); die(); ......
magento admin form 表单元素大全
开发Magento后台的时候经常用到表单(Varien_Data_Form),下面是所有表单元素的添加方法: 1.input type=”text” $fieldset->addField(‘title’, ‘text’, array( ‘label’ => Mage::helper(‘form’)->__(‘Title3′), ‘class’ => ‘required-entry’, ‘required’ => true, ‘name’ => ‘title’, ‘onclick’ => “alert(‘on click’);”, ‘onchange’ => “alert(‘on change’);”, ‘style’ => “border:10px”, ‘value’ => ‘hello !!’, ‘disabled’ => false, ‘readonly’ =&......
Mysql_不能用ip链接_能用localhost 和 127.0.0.1链接
Mysql_不能用ip链接_能用localhost 和 127.0.0.1链接 OS:Ubuntu lijg@lijg-pc:~/tempdb$ mysql -h localhost -uroot -p lijg@lijg-pc:~/tempdb$ mysql -h 127.0.0.1 -uroot -p 但是用ip就不行了 lijg@lijg-pc:~/tempdb$ mysql -h 192.168.7.247 -uroot -p t800 Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.7.247' (111) 解决方法: 步骤1、确认已有账户权限 mysql> use mysql Reading table information for completion of table and column names You can turn off this feature ......
How do I make Magento use two MySQL Servers
I setup a replicated mysql server in magento.. following this blog post: http://www.magentocommerce.com/blog/comments/performance-is-key-notes-on-magentos-performance/ I added this into my /app/etc/local.xml <default_setup> <connection> <......
Connect different database from Magento
Some of you might have worked on Magento. I am listing here points for connecting another database from Magento. 1) Suppose your database for Magento Project is named ‘magento’. 2) There is one other database named ‘wp’. 3) For using this database inside Magento, you need to setup connection in ‘config.xml’ file which resides in ‘urmagentodirectory/app/etc’ 4) In ‘config.xml’ there is a tag ‘’ inside which default connection is setup, you need to write this code under this. ? ......
How does URL rewriting works?
Createa category Diagram1-1 Wejust input the category's name, and set "is active" to Yes,and then click Save Category Diagram1-2 Wecan see that the URL key is automaticly generated. The value is"nikon-camera". Whena category is created, in database table core_url_rewriting,there is a new record created at the&nbs......
magento -- 使用translate.csv来修改翻译
一般Magento的语言包都是指/app/locale目录下的文件夹,以中文包为例,/app/locale/zh_CN下的所有文件就是中文语言包的全部内容(具体可见从http://www.magentochina.org/bbs/下载的Magento汉化包)。 细 心地人可能会发现,除了这里有csv文件,在模板文件目录下 也有一个locale文件夹,这里同样有个文件名为translate.csv的csv文件 (在各自语言文件夹下,比如默认在locale下就只有一个 en_US文件夹,里面自带一个translate.csv文件)。 现在我们 来做个实验,在你所使用的模板目录下/app /design/frontend/default/default/locale(这里以default ......
magento blog and tutorials
Magento Tutorials, Tips and Extensions - For Developers by Developers http://magebase.com/category/magento-tutorials/ ......
Demystifying Magento’s Layout XML – Part 1
Demystifying Magento’s Layout XML – Part 1 By Paryank Kansara on September 28, 2010 / 32 Comments The ‘View’ of Magento’s MVC pattern implementation is divided in two parts: Layout and Template. The template represents a HTML block while layout defines the location of the block on a web page. Magento provides ultimate flexibility and re-usability of design by layouts defined in XML. Layout XML Layout XML files can be found in app/design/frontend/[package]/[theme]/layout. Each Magento module may define its own layout XML file in the config.xml file.......
- Page:22/145 1448 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(748)
- 日志(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)