Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claus Frovin 3 posts 73 karma points
    Jun 27, 2023 @ 20:05
    Claus Frovin
    0

    Eventlist in the right order

    Hello Umbraco experts!

    I am currently webmaster at www.aalborgopera.dk using Umbraco 6.0 (Yes, I know it's a very old and unsupported version - but maybe some of you sharks have been in the game for a long time:)

    However, I have a problem showing the calendar events on the frontpage in the right order. The events show descending (last date first) instead of ascending (first date first). Is their any quick way to fix that?

    Thanks in advance!

    Kind regards, Claus Frovin

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Jun 28, 2023 @ 13:55
    Marc Goodson
    0

    Hi Claus

    It will depend completely on the code that your site uses to write out the Calendar Events!

    With Umbraco 6, this might be XSLT or a WebForm User Control or a Dynamic Node Razor file or an MVC Partial View (if I remember correctly).

    If you look at your Homepage, in Umbraco, on the Properties tab, it should tell you which template the page is using.

    If you look in the settings section of Umbraco you should find the corresponding template, then if you find the part of that template where the calendar of events is written out, that will show which technology it is using...

    hopefully you'll spot something that is 'getting' the events and it will be a case of adding an .OrderByDescending("propertyAlias") where the propertyAlias is your event date field, if it's using the date it was created in Umbraco then this will be CreateDate etc

    if you can post that bit of code we can advise further!

    regards

    Marc

  • Claus Frovin 3 posts 73 karma points
    Jun 28, 2023 @ 14:23
    Claus Frovin
    0

    Thanks. Marc, for your reply.

    However, I can't recognize any of the tabs you are referring to. My backend of Umbraco looks like this (see attached). I only have access to content, media and members sections. Is there a higher level of administration access?

    enter image description here

    And sorry. The site is in Danish, which doesn't make it easier for you guys:-/

    I can't find any code or scripts anywhere. Hope you can help me a step forward.

    Thanks, Claus

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Jun 28, 2023 @ 15:31
    Marc Goodson
    0

    Hi Claus

    Yes there is a higher level of administrative access that gives you access to the code!

    Maybe you or someone else in the organisation has that admin account and can login and grant your user permissuins to the developer and settings sections.

    If not and its a long time ago, and nobody know nothing about anything and if you have access to the database, you can update your user in the user to application table to grant your login elevated credentials.

    Regards

    Marc

  • Claus Frovin 3 posts 73 karma points
    Jun 28, 2023 @ 15:50
    Claus Frovin
    0

    Thanks, Marc. That explains a lot:)

    I will try to find out if somebody in the organization can help me gain access to the developer, but I have my doubts:) Otherwise I will try to gain access to the database.

    Thank you, Marc. Your responses have been very helpful.

    The best, Claus

Please Sign in or register to post replies

Write your reply to:

Draft