https://discord.umbraco.com
Join Discord
Optimal settings for Smidge (Runtimeminification) in local dev and production
c

CodeSharePaul

about 2 years ago
Hi all, We've been having some issues with smidge in local dev. When working on css changes, they don't get picked up unless we do a rebuild which really slows down the workflow for our front end devs. Please can you help me work out what the optimal settings for smidge (RuntimeMinification) should be for local development without needing to rebuild and for when the site is published? Kind regards Paul
c
m
+4
  • 6
  • 62
  • 478
Select media "Upload" button issue - Greyed out
k

knightyknight

over 1 year ago
We are experiencing an issue with image uploads in the back office. When I try and upload an image to an image field by clickng the upload button within the picker slide-in dialog, I cannot because it is greyed out. This is even after upgrading from Umbraco 11 to 13 and it's also a bug we saw on a previous totally seperate Umbraco 7 installation. Can anyone advise on this? The image field does have a start node, if that helps with diagnosis? Thanks https://cdn.discordapp.com/attachments/1214170059182972999/1214170059476312074/image.png?ex=65f822fc&is=65e5adfc&hm=2db0599b9ba7d45e774e1199799991e43f75af8336e1d141891eb0d5770bdd21&
k
a
+2
  • 4
  • 14
  • 474
Cleaner way to get parent node
t

TigerMan

over 1 year ago
Hi I have the below code public IPublishedContent GetPage(guid id) { var umbracoHelper = _umbracoHelperAccessor.TryGetUmbracoHelper(out var h); Return h.Content(id); } When I need a page I call GetPage(1234-5678-....) and the page is returned. This page could be 5 levels down. So the only way I'm able to get the parent is by writing something like GetPage(1234-5678-....).Parent.Parent.Parent Until I reach the homepage. That code looks ugly by adding multiple parents at the end of the GetPage function. Is there a better way to get the parent node for the site when using C#?
t
s
+3
  • 5
  • 9
  • 469
New Umbraco 13 site - cannot log in
m

MobyDog

almost 2 years ago
First u13 site locally, .net 8 set up, just installed u13 and can see the front end fine but cannot log into the backoffice. Just keep getting "oops! we couldn't log you in. Please check your credentials and try again". I'm 100% sure my credentials are correct, I still have the commands with which I set it up. Is this an error which is actually referring to something else, ie, not actually a credentials issue? Think the db is set up correctly, like I say, I can see the front end ok. I have used code generated by PSW Codeshare - initially with uSkinned, uSync, SQL server etc, and then just a plain vanilla version using SQL Lite and neither backend worked. Is there something I'm missing? Thanks!
m
s
  • 2
  • 5
  • 467
[Solved] Block List Multi-Url Picker label - how to get picked node name?
r

Rich G

over 1 year ago
I'm trying to show the value of a Multi-URL picker from a block list. I've looked at @Joe Glombek docs here (thanks Joe! https://joe.gl/ombek/blog/umbraco-angularjs-filter-cheat-sheet/ I can get the 'title' from the picker by using myURLPicker[0].name However I want the actual node that's been picked, the 'link' In the API it comes back as 'destinationId', but that doensn't work here. Any ideas please?
r
l
+2
  • 4
  • 17
  • 444
Upgrading to Umbraco 13
j

Josef Henryson

almost 2 years ago
I am trying to upgrade to U13 from latest 12 but I run into heaps of issues. After upgrading VS multiple times and installing dotnet 8.0 SDK etc I try to run my project. It wants to find the source for System.Globalization\GlobalizationMode.cs for debugging. Have you experienced similar problems and managed to proceed with the upgrade? What did you do in that case? Cheers and happy X-mas!
j
a
s
  • 3
  • 11
  • 427
Umbraco 12 RTE pasting from Word
j

jonroberts

almost 2 years ago
In our umbraco 8 site when we paste from Word it seemed to automatically remove the Word markup tags and keep the normal styles such as Bold, Italic etc. In 12 this doesnt seem to be the case. If we use Clear Formatting it removes the Bold, Italic styles too. Any ideas if there is a setting in 12 that we can implement that will allow us to paste direct from Word to the RTE keeping the normal styles and removing the Word mark up automatically?
j
d
+6
  • 8
  • 24
  • 419
Content Delivery API properties missing with expand
c

Conner

over 1 year ago
I am new to umbraco and trying to build a site as a learning project. I am trying to use
?expand=all
on the content api but properties of some nested content is empty. is about 4 levels deep in response object
c
t
p
  • 3
  • 33
  • 419
Smidge - Configuring bundles in V13
d

Dean Leigh

over 1 year ago
How do we configure bundles now? I was adding config in Startup.cs e.g.:
services.Configure<SmidgeOptions>(options =>
            {
                options.DefaultBundleOptions.ProductionOptions.FileWatchOptions.Enabled = true;
                options.DefaultBundleOptions.ProductionOptions.SetCacheBusterType<AppDomainLifetimeCacheBuster>();
                options.DefaultBundleOptions.ProductionOptions.CacheControlOptions.CacheControlMaxAge = 12000;
            });
But am no longer using Startup files. I have tried in the notification handler and I'm down to a single syntax error, undoubtedly a terrible way to do it but I'm trying to learn the new way as I go. FWIW other than this I have Smidge minifying and bundling as it should do ht @AaronSadlerUK https://cdn.discordapp.com/attachments/1212081950794194994/1212081951251501166/image.png?ex=65f08a48&is=65de1548&hm=8051eefc44db1ed4afb92c0c39c87868a57c0f9b993fe9fefd52c94b114c2c01&
d
s
  • 2
  • 9
  • 418
Best way to restrict public access to Umbraco panel
b

Berhan Soylu(Clockwork-Gold-TR)

about 1 year ago
Hi there, What's the best practice to restrict umbraco backoffice to public? We found blocking /umbraco#/ in URL but not all of the firewalls capable of doing this.
b
m
+5
  • 7
  • 37
  • 411
Previous234Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by