Anders Bjerner

2K posts

Anders Bjerner

Anders Bjerner

@abjerner

System Developer @limbodotworks - Umbraco MVP - Find me on GitHub: https://t.co/SA3bxTPkFV

Denmark 参加日 Haziran 2011
459 フォロー中394 フォロワー
Anders Bjerner
Anders Bjerner@abjerner·
@OwainCodes 👍 for 1Password Have been using it for some years now, and super satisfied. Like already mentioned by others, LastPass has had some breaches in the past, which they didn't seem to handle all too well.
English
1
0
1
62
Anders Bjerner
Anders Bjerner@abjerner·
@OwainCodes I wrote this years ago, and should probably have been better at keeping references, so I can't remember what algorithm is used. It doesn't look exactly like the Haversine examples that I can find, but not too far off. IIRC my implementation aligns with the Google Maps JS SDK.
English
0
0
0
16
Anders Bjerner
Anders Bjerner@abjerner·
@OwainCodes If it helps anything, and you're using one of our Umbraco packages, you'll most likely already have our "Skybrud.Essentials" package installed as well. For one, it let's you do this: #distance" target="_blank" rel="nofollow noopener">packages.skybrud.dk/skybrud.essent…
English
1
0
1
54
Anders Bjerner
Anders Bjerner@abjerner·
@sfilip If a card property isn't filled out, the general corresponding news page property is used as fallback. Eg. if no card image has been selected, the hero image is used as fallback.
English
0
0
2
29
Anders Bjerner
Anders Bjerner@abjerner·
@sfilip As most things, this really depends on what requirements the client has. For the most amount of control, I think there should be some general properties like title, teaser and hero image that are used on the actual news page. And then some optional properties for the cards.
English
1
0
3
84
Sotiris Filippidis
Sotiris Filippidis@sfilip·
When creating e.g. news items in #Umbraco that need to be shown in a block as "cards" (image, title, description), do you: - Add explicit properties for cards to the news item? - Use the fields from the news item itself? - Define these properties in the "cards" block?
English
2
0
2
473
Anders Bjerner
Anders Bjerner@abjerner·
@mortenbock Something like Postman, or something with additonal features? I know of Nightingale, which should be a lighter alternative for Postman. nightingale.rest
English
0
0
1
41
Anders Bjerner
Anders Bjerner@abjerner·
@AaronSadlerUK Pretty sure it already is. RCLs mostly mean something when working locally. When doing a dotnet publish, all the files are extracted from the RCLs and part of the output like normal. "Umbraco.Cms" has a sub dependency for this NuGet package: nuget.org/packages/Umbra…
English
1
0
1
78
Aaron Sadler
Aaron Sadler@AaronSadlerUK·
Just a thought... Could the #umbraco backoffice be moved into a RCL, byt backoffice I mean the angularjs dependency... The slowest part of my CI/CD or FTP deployments is simply due to the number of js files for angular, as an RCL this would be 1 file... Just a thought
English
1
1
0
437
Anders Bjerner
Anders Bjerner@abjerner·
@OwainCodes It should still be possible to use a package.manifest file in your RCL in U11 (but not U10). But I very much prefer to declare them in C# - here is an example: github.com/limbo-works/Li… The key is to extend the "DataEditor" class and adding the attribute to the class.
English
0
0
0
74
Anders Bjerner
Anders Bjerner@abjerner·
@paulmccarthy79 It's probably because of this: github.com/ClosedXML/Clos… So I think the fix is "just" to update dependency to the newest version. It could potentially cause issues if people are still using older versions of ClosedXml in their own code.
English
0
0
1
28
Paul McCarthy
Paul McCarthy@paulmccarthy79·
@abjerner Yes, that’s done it, XSLX import works at 0.96.0 so must be a change in the ClosedXML source code 😡.
English
1
0
0
28
Anders Bjerner
Anders Bjerner@abjerner·
@paulmccarthy79 Are you by any chance using the "ClosedXml" package in your own code as well? And if so, is the version different from 0.96.0? I see now that there is a newer version available, so if they've introduced a breaking change, that could be why you're getting the exception.
English
2
0
0
30
Paul McCarthy
Paul McCarthy@paulmccarthy79·
@abjerner Method not found: 'System.Object ClosedXML.Excel.IXLCell.get_Value()'. I exported the existing redirects from Umbraco, added a row including url, destination url, type, temporary and added a 0 for node id and 0000-0000 etc for Destination Key. Didnt add dates
English
1
0
0
40
Anders Bjerner
Anders Bjerner@abjerner·
@paulmccarthy79 Any exceptions? I've tested with Office 2010 and Office 360, and haven't encountered any issues with reading the XLSX files.
English
1
0
0
22
Paul McCarthy
Paul McCarthy@paulmccarthy79·
@abjerner That’s working really well. Xslx seems to fail to import - probably an excel number formatting issue and frankly life’s too short! Once I re-save as a csv it imports correctly.
English
1
0
0
15
Anders Bjerner
Anders Bjerner@abjerner·
@paulmccarthy79 Documentation could be better, so a good tip is to try and add a few redirects, and them export them to see the format. But it's worth noticing that not every column is mandatory.
English
1
0
0
18
Paul McCarthy
Paul McCarthy@paulmccarthy79·
@abjerner This is awesome. Do you know if anyone has a sample csv/xslx/json file with the column headings specified?
English
1
0
0
5
Anders Bjerner
Anders Bjerner@abjerner·
@OwainCodes @attack_monkey I think I use exploring the source code more than reading the documentation. You can learn a lot from browsing and searching through the code in the GitHub repo. But that also kinda requires that you know what to look for.
English
0
0
0
50
Anders Bjerner
Anders Bjerner@abjerner·
@attack_monkey @OwainCodes A good tip is to look at existing data types via IDataTypeService and inspect the data - eg. what configuration it is saving and what .NET type the configuration has. Some has their own type, while others have a dictionary with key value pairs instead.
English
0
0
1
30
Anders Bjerner
Anders Bjerner@abjerner·
@crgrieve I imagine I've also wrote CMS system in the past. Sometimes it just makes sense writing it like that 😉
English
0
0
2
47