How to sort news articles from Oldest(from the current date) to newest?

I have a list of news announcements from the month of "Jan 2015" to "Dec 2015". For example each month having a one event, so totally 12 events. But I need to display the latest news articles from current date of latest upcoming news at the top(i.e. May 2015) to farthest at the bottom(i.e. Dec 2015)

Try with sort!
{module_announcement sort="datereverse"} or {module_announcement sortType="datereverse"}. I'm not sure what syntax we use with the new render engine.
With the old syntax it would be {module_announcement,filter,id,noTemplate,effect,targetFrame,reserved,reserved,reserved,r eserved,sort}

Similar Messages

  • How to get the date starting from 1 to the current date from the system dat

    Dear all,
    Please tell me how to get the date starting from 1 based on the system date
    and it should come with respect of time also.
    example.
    suppose today is 6 Dec, 2006
    so ABAP report should find the 1 dec. 2006.
    Please help me as soon as possible.
    Regards,

    concatenate sy-datum0(2) '01' sy-datum4(4) into v_firstdate.
    or yo ucan use the fm:
    HR_JP_MONTH_BEGIN_END_DATE
    usage:
        call function 'HR_JP_MONTH_BEGIN_END_DATE'
             exporting
                  iv_date             = sy-datum
             importing
                  ev_month_begin_date = gv_begda
                  ev_month_end_date   = gv_endda.
    Regards,
    Ravi
    Message was edited by:
            Ravi Kanth Talagana

  • How to Sort transported KM content based on the creation date

    Hi ,
         I transported KM content through ICE offline transfer.  all the files are copied. but the problem is all are copied with the todays date as modified date.
    but I need to sort these based on the creation date.
    all these files are with the xml templates.
    Can only help in this regard
    Thank you

    Hi,
    Enter the format that you have defined in the configuration of the property in the Additional Metadata parameter. Use the syntax customFormat=<pattern>.
    In this link, you have at the end screenshots where to navigate in KM to see the property metadatas of your property:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/645d4357-0701-0010-07bd-a2ea8c4d0aaf
    Here see the Defenitions of the KM Metadata Properties:
    https://wiki.sdn.sap.com/wiki/display/KMC/DefenitionsoftheKMMetadata+Properties
    Regards,
    Praveen Gudapati

  • Newbie: how to create a dynamic select list of the current date + 5 years

    Hi - I'm a JSP newbie (coming from a PHP background), and am trying to create a select list that contains the current year, plus 5 years. So, the list when generated (today), would display:
    2007
    2008
    2009
    2010
    2011
    2012
    Obviously, the code would need to generate inside the option tags, as well as in the value property of the option tag.

    function addit(){
              var val = 2012; //you can take this from js date object and strip it off
              for (var i=2007; i <= val;++i){
                   addOption(document.getElementById("mycombo"), i, i);
    function addOption(selectbox,text,value)
         var optn = document.createElement("OPTION");
         optn.text = text;
         optn.value = value;
         selectbox.options.add(optn);
    }without hardcoding:
    function addit(){
              var dd = new Date();
              var yearnow = dd.getFullYear();
              for (var i=yearnow; i <= yearnow + 5 ;++i){
                   addOption(document.getElementById("mycombo"), i, i);
    function addOption(selectbox,text,value)
         var optn = document.createElement("OPTION");
         optn.text = text;
         optn.value = value;
         selectbox.options.add(optn);
    in your jsp:
    <body onload="addit();">
    <form>
    <select name="mycombo">
    <option> Select year</option>
    </select>
    </form>
    </body>
    Message was edited by:
    skp71
    Message was edited by:
    skp71

  • How to prevent an automatic fill in of the current date into a Date/Time Field

    hi,
    maybe i checked out a strange behaviour of the adobe designer. when i put a "normal" data/time field (with no data pattern, display pattern, etc.) on a form and then change (on the pdf preview tab) to the newly designed date field,i have to stay about 2 minutes on this field not filling it out.
    after these minutes the current date is filled in automatically in the date/time field.
    what can i do preventing that? any hints?
    thanks in advance.
    markus

    I don't have any info on timelines, all I can say is check back in future versions of Acrobat :(
    Chris
    Adobe Enterprise Developer Support

  • How to get the current Date from the system?

    How do I acquire the current date from the system? Also, if possible, can I assign the day, month and year separately into three variables and how? It would be thankful if some simple Example could be given. Thanx!

    import java.util.*;
    public class count {
    public count() {
    Calendar now = Calendar.getInstance();
    int month = now.get(Calendar.MONTH);
    int day = now.get(Calendar.DAY_OF_MONTH);
    int dayyear = now.get(Calendar.DAY_OF_YEAR);
    int year = now.get(Calendar.YEAR);
    int a = 365;
    int b = a - dayyear;
    System.out.println("The day is the" + " " + day);
    System.out.println("IT is the" + " " + month + " " + "month of the year");
    System.out.println("The year is" + " " + year);
    System.out.println("This many days till next year" + " " + b);
    public static void main(String[] args) {
    count cou = new count();
    }

  • I have a new Macbook Pro. All data from prior Mac was migrated to new Mac. If I run Time Machine and "inherit" the old backups will TM take up where I left off, or delete and overwrite the current data?

    I have a new Macbook Pro. All data from prior Mac was migrated to the new Mac. I want to continue Time Machine on the new Mac and retain the history. An option is to "inherit" the old Time Machine. I want to make sure this does not errase the current data, but creates a current backup.

    Please visit Pondini's Time Machine FAQ for help with all things Time Machine.

  • Need to connect to upgraded Oracle EBS R12 version from R11. The current ODI set up is pointing to R11, Can i use the same connection to point to R12? Please hele experts..

    Need to connect to upgraded Oracle EBS R12 version from R11. The current ODI set up is pointing to R11, Can i use the same connection to point to R12? Please hele experts...
    Rp

    1. in physical connections part can i use the same work schema
    2. Can i use same contexts created or do i need to create everything as new and then try?
    Thanks,
    Rp.
    Hi,
    As you mentioned that you just upgraded the database, so the data is same and schema is same you can connect with the same work schema.
    Yes, you can use the same contexts , but need to do Reverse Engineering for your new database.
    And about data server, i think you also have no need to create new data server, if hostname,sid and port etc are same as these were with R11(consult with your DBAs regarding it)

  • Regarding subtraction of 10 days from the current date

    Need to know how I can get 10 days subtracted from the current date before the report is excuted. This needs to appear in the selection screen before the report is excuted.
    The select option contains two fields the first field is the date which is 10 days subtracted from the current date and the next field is the current date.
    Please suggest.
    Thanks.

    Hi Dolly
    I had a same req before check that code:
    AT SELECTION-SCREEN OUTPUT.
    IF pa_older = 'X'.
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    EXPORTING
    date = pa_end  "<<<<< date or in ur case sy-datum
    days = '10'
    months = '00'
    signum = '-'
    years = '00'
    IMPORTING
    calc_date = pa_end1.  " <<< subtracted date
    ENDIF.

  • Can I use an Adobe Professional license from 2008 with the current version of Adobe Acrobat XI Pro?

    Can I use an Adobe Professional license from 2008 with the current version of Adobe Acrobat XI Pro?

    With "license" you mean serial number?  If that serial number was for a different Acrobat version (e.g. 9), you cannot use it for the current version XI.
    You can however use it to purchase an upgrade from http://www.adobe.com/products/acrobat.html

  • Variant must get the current date from the system.

    Hi All,
    I really appreciate your help on below please;
    I need to create a variant and schedule a report program once a day.
    But variant must get the current date from the system (sy-datum).
    The program should run for the values in the variant in schedule job run;
    Can I do this using SAP variants (for Report Program) and schedule the job.
    Many thanks
    Iver

    Standard functionality.
    http://help.sap.com/saphelp_nw70/helpdata/en/c0/98039be58611d194cc00a0c94260a5/frameset.htm
    Thomas

  • HT3842 Those steps don't work. I'm using the lastest version of itunes (11.0.1.12) on Windows. This article was last updated in 2009 and lists itunes 7.7. Anyone have any ideas, or is there a new article that accounts for the changes to itunes?

    Those steps don't work. I'm using the lastest version of itunes (11.0.1.12) on Windows. This article was last updated in 2009 and lists itunes 7.7. Anyone have any ideas, or is there a new article that accounts for the changes to itunes?

    Try This
    http://support.apple.com/kb/PH12359

  • TS2446 i cant remember the answers to my security questions.  i have reset my password and added the recovery email account but still cant figure out how to purchase new content. it asks me the same security questions. how do i fix this?

    i cant remember the answers to my security questions.  i have reset my password and added the recovery email account but still cant figure out how to purchase new content. it asks me the same security questions. i also have a temp pin. how do i fix this?

    If you've just added an address to your account then it will be an alternate/secondary email address, a rescue email address can only be added by answering 2 of your security questions. If you already had one on your account then go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email addressthen you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Hi I've recenty purchased a new imac   time capsule   airport express.   I've set up a new network, rather than extended the current one. How do I change my new network to an extended one or create an extended network?

    Hi I've recenty purchased a new imac + time capsule + airport express.
    I've set up a new network, rather than extended the current one. How do I change my new network to an extended one or create an extended network?
    Michael

    detailed in terms of what focus?
    here is a video guide about using the airport utility
    http://www.youtube.com/watch?v=65Jv6m43eIE

  • Aggregator did not receive statistics from [sb03] for the current view

    I'm receiving a warning message in a BEA Aqualogic Service Bus console "Aggregator did not receive statistics from [sb03, sb05, sb06, sb04, sb02, sb01] for the current view".
    I don´t have any idea what is the root cause of this issue.
    Thanks,
    Norberto Enomoto

    Norberto,
    I've found this link with a list of SB Runtime Messages.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/messages/alsb/kernel/l10n/ServiceDomainMBean.html
    One of this refer to the problem you're having:
    BEA-473051
    Error: Aggregator did not receive statistics from servers for the current view
    Description
         There is a communication failure between Aggregator server and other managed servers. One of the managed servers failed to send statistics to the managed server on which Aggregator is running.
    Cause
         Communication failure between managed servers.
    Action
         Wait for some time and try again.
    Att.
    José Compadre Junior
    Edited by: user10076953 on 22/03/2010 11:09
    Edited by: user10076953 on 22/03/2010 11:09

Maybe you are looking for

  • WWC-41653 error on Partner Application

    We're trying to configure a partner application. After logging in to SSO we get the error message: "The partner application configuration is missing or expired. Please contact the administrator. (WWC-41653)" Does anyone have any tips on where to look

  • Anyconnect created profile not shown in connection list, especially the wireless profiles.

    Dears, Kindly advise as we encounter anyConnect issue, when creating profile for using with ISE, the new created profile is not shown in the connection list. I'm using profile editor to create profile for EAP-Fast, the issue is that the profile that

  • User SIMPCDIA has no RFC authorization for function group BBPC

    Hello all, I am working with SRM 7.0 and when I try to list all account values in the corresponding matchcode, I have this error message: User SIMPCDIA has no RFC authorization for function group BBPC User SIMPCDIA is a dialog user created in backend

  • Is there a way to upgrade my six-year old Mac

    I bought an iMac with 24" screen in 2008. I would like to know if there is a way to upgrade it with more memory or processing speed. Here are the current specs: Model Name:          iMac   Model Identifier:          iMac8,1   Processor Name:         

  • Yoga 8 442_001_020 English install help

    I found the 020 update for the Yoga 8 on the Russian forum but even with attempting translation and lots of head scratching I can't figure out where to actually click the download button.  The install instructions are a little involved as well and I'