Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • azilein Friend
    #827954

    Hello

    How do I sort by ctm_start date in the module ACM for events?

    Best Regards,

    Adam M Moderator
    #828771

    Hi @azilein,

    At the moment we haven’t provided this feature in the template but if you want to workaround it, you can open file templates/ja_teline_v/acm/events/tmpl/featured.php and modify the query in :

    $items = JATemplateHelper::getArticles($aparams, $catid, $featured_count);
    
    $i = 0;
    foreach ($items as &$item) {
    
        if ($i < $count_leading) {
            $leading[] = $item;
        } elseif ($i < $count_leading + $count_intro) {
            $intro[] = $item;
        } else {
            $links[] = $item;
        }
    
        $i++;
    }
    azilein Friend
    #828874

    Hello

    Thanks for the answer to my topic. But I think we have a misunderstanding, because I will ordering the Item by ctm_start Date(See Pic in Dropbox)

    It is possible?

    https://www.dropbox.com/s/x2a95xzrzoa00ut/Bildschirmfoto%202015-12-22%20um%2014.57.27.png?dl=0

    Greetings,

    Adam M Moderator
    #834656

    Hi @azilein,

    That’s exactly what I’m talking about.

    At the moment we haven’t provided this feature in the template

    I sent a request to development team so they can check and decide to update this part in next version. Since I cannot assist you to customize the code to sort the article by event date as it’s beyond our support scope.

    azilein Friend
    #1112900

    Any updates of this?

    Hi @azilein,

    That’s exactly what I’m talking about.

    At the moment we haven’t provided this feature in the template

    I sent a request to development team so they can check and decide to update this part in next version. Since I cannot assist you to customize the code to sort the article by event date as it’s beyond our support scope.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 4 replies, has 2 voices, and was last updated by  azilein 6 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum