Author - Robert Popovic

Founder and Technical Director of LERO9, a web agency specializing in Magento and WordPress design and development.

I launched Magebase in April, 2010 and am its editor and contributor. My main topics of interest are Magento development, customization and how to get the most out of Magento with the least amount of headache.

More Info » Follow me on Twitter »

Reader Comments (10)

  1. John Doyle
    John Doyle
    November 2, 2011 at 10:44 am /

    Why did I not think of that… Thanks

    Reply
  2. guy
    November 17, 2011 at 4:20 am /

    hi robert , great simple little extension, thankyou ! … except .. it defaults to sorting in the wrong direction .. oldest at the top … maybe im being dumb , but i cant find a way of setting it to sort the other way up !! guy

    Reply
  3. LL
    LL
    November 17, 2011 at 7:44 am /

    Thank you for the extension. It worked in CE 1.6.
    To default newest to oldest (descending direction), change Toolbar.php about line 119 from ‘asc’ to ‘desc’

       /**
         * Default direction
         *
         * @var string
         */
        protected $_direction           = 'desc';
    
    Reply
  4. jay
    jay
    November 29, 2011 at 5:32 am /

    Hey Robert,

    sorry for the dumb question. But what is the best way to install the extension.
    Load the files in the folders and then
    call http://www.myshop/app/code/local/Magebase/SortbyNewest/sql/sortbynewest_setup/mysql4-install-0.1.0.php
    or how it is done?

    Greeetings

    Jay

    Reply
  5. elvar
    elvar
    January 4, 2012 at 2:31 am /

    Hi Jay, you can do that rather manually in admin interface instead of installing the app. But if you want still install the app just upload everything to your Magento folder and that is it – on first load Magento will install it for you.

    Robert, is there any posibility that I do not have created_at attribute? I cannot find it in admin and nor in mysql database.

    Reply

Add a Comment & Join the Discussion

Insert small snippets of code by using [code]{your_code_here}[/code]
For larger code blocks please use http://pastebin.com and paste your link.

You may also use the following HTML in your comment: <a href="" title=""> <abbr title="">
<acronym title=""> <blockquote cite=""> <cite> <em> <strike> <strong>