Will be able to create own language file by using
{{translate text="A text to translate to your current locale"}}
or
$this->__(A text to translate to your current locale);
Add custom text in
app/locale/language_pack/Package_Translate.csv
app/locale/language_pack/Package_Translate.csv
使用火狐会更好 Download Best view using Mozilla Firefox. Download
Thursday, July 31, 2014
Magento: Add translation ability into a static block or CMS page
on CMS page or static block, will be able to use {{translate text="A text to translate to your current locale"}}
Magento: ActiveCampaign Settings not loading issue
After installing ActiveCampaign extension, when clicking on status, the Settings page show blank. (hope this may help everyone)
1st, in order to solve this, enable System log to see what is the problem.
System -> Configuration -> Developer -> Enable "Log Settings"
*The problem shows unable to load Connection.php. this is due to installation problem that the file has installed as a directory.
1st, in order to solve this, enable System log to see what is the problem.
System -> Configuration -> Developer -> Enable "Log Settings"
*The problem shows unable to load Connection.php. this is due to installation problem that the file has installed as a directory.
Monday, July 7, 2014
Simple SSL Setup for MAMP
I met this problem during my development process. I unable to load the site when it comes to https
Here are the simple solution I did. Hope this might help you.
go to /Applications/MAMP/conf/apache/httpd.conf, and uncomment this line
go to /Applications/MAMP/conf/apache/extra/httpd-ssl.conf
change the following
Here are the simple solution I did. Hope this might help you.
go to /Applications/MAMP/conf/apache/httpd.conf, and uncomment this line
# Secure (SSL/TLS) connections
Include /Applications/MAMP/conf/apache/extra/httpd-ssl.conf
Include /Applications/MAMP/conf/apache/extra/httpd-ssl.conf
go to /Applications/MAMP/conf/apache/extra/httpd-ssl.conf
change the following
Subscribe to:
Posts (Atom)