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?
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!
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?
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.
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.
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.
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
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
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?
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
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
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
is working on a reply...