You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
Thx for this great extension. One minor improvment:
When printing month names (e.g. in the monthly archive menu) in multi language stores the months are not translated since Magento use it's own date renderer. To fix this you can easily use Mage::app()->getLocale()->date() instead of php date function.
As I didn't want to overwrite your code basis I used this workaround in add/design/frontend/default/default/template/fontis/blog/menu/archive.phtml
Thanks for letting us know about this issue, and also for putting in the effort of providing a solution. We'll add a fix for this issue to the next release.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thx for this great extension. One minor improvment:
When printing month names (e.g. in the monthly archive menu) in multi language stores the months are not translated since Magento use it's own date renderer. To fix this you can easily use Mage::app()->getLocale()->date() instead of php date function.
As I didn't want to overwrite your code basis I used this workaround in add/design/frontend/default/default/template/fontis/blog/menu/archive.phtml
<?php echo Mage::app()->getLocale()->date(strtotime($archive->getDateString()))->toString(Zend_Date::MONTH_NAME." ".Zend_Date::YEAR); ?>
instead of
<?php echo $archive->getDateString(); ?>
The text was updated successfully, but these errors were encountered: