fontis / fontis_blog Goto Github PK
View Code? Open in Web Editor NEWNative blog for Magento
License: Open Software License 3.0
Native blog for Magento
License: Open Software License 3.0
I get the following message on Blog page load.
Error message
E_ERROR: Call to undefined method Fontis_Blog_Helper_Data::addRequestTag()
Stack trace
…Layout called at /var/app/current/app/code/community/Fontis/Blog/Block/
Rss.php (28)
…reLayout called at /var/app/current/app/code/core/Mage/Core/Block/
Abstract.php (293)
…:setLayout called at /var/app/current/app/code/core/Mage/Core/Model/
Layout.php (456)
…reateBlock called at /var/app/current/app/code/core/Mage/Core/Model/
Layout.php (472)
…::addBlock called at /var/app/current/app/code/core/Mage/Core/Model/
Layout.php (239)
…erateBlock called at /var/app/current/app/code/core/Mage/Core/Model/
Layout.php (205)
…alled at /var/app/current/app/code/core/Mage/Core/Controller/Varien/
Action.php (344)
…alled at /var/app/current/app/code/core/Mage/Core/Controller/Varien/
Action.php (269)
… /var/app/current/app/code/community/Fontis/Blog/controllers/
RssController.php (28)
…alled at /var/app/current/app/code/core/Mage/Core/Controller/Varien/
Action.php (418)
…/var/app/current/app/code/core/Mage/Core/Controller/Varien/Router/
Standard.php (250)
…called at /var/app/current/app/code/core/Mage/Core/Controller/Varien/
Front.php (172)
…ont::dispatch called at /var/app/current/app/code/core/Mage/Core/Model/
App.php (354)
in Mage_Core_Model_App::run called at /var/app/current/app/Mage.php (684)
in Mage::run called at /var/app/current/index.php (87)
If I look for addRequestTag() in the code I see Rss.php which has
protected function _prepareLayout()
{
Mage::helper("blog")->addRequestTag(array(self::CACHE_TAG, Fontis_Blog_Helper_Data::GLOBAL_CACHE_TAG));
return parent::_prepareLayout();
}
on lines 26-30, but I indeed cannot find the definision of the function addRequestTag() itself.
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(); ?>
Hi, @chnorton @lloydhazlett @fontis any update on issue #1?
I downloaded new files and overwrote on top of previous install but i am still getting same error.
Any tips to fix the issue will be appreciated.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.