Giter Site home page Giter Site logo

fontis_blog's People

Contributors

chnorton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fontis_blog's Issues

Call to undefined method Fontis_Blog_Helper_Data::addRequestTag()

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.

Unable to insert image

Hi I am unable to insert images in the post. Can you please help.

I didn't realize this before, so used in production, but client came back with this issue. I hope you will help me asap.

image

Thank you.

International date format

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(); ?>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.