https://discord.umbraco.com
Join Discord
Has the SendingAllowedChildrenNotification been deprecated for V14?
m

marcemarc

over 1 year ago
There is this event in V8->v13 called SendingAllowedChildrenNotification that allows you to use c# to hook into the building of the list of types of documents you can create under a node. I was about to suggest somebody used it in V13, as a way to stop multiple 'Site Setting' nodes from being created, but thought I'd check it was still there, and I couldn't see it in V14? is it no longer a thing?? https://github.com/umbraco/Umbraco-CMS/blob/v13/contrib/src/Umbraco.Core/Notifications/SendingAllowedChildrenNotification.cs
m
s
+7
  • 9
  • 31
  • 142
Excluding items from search
t

TigerMan

about 1 year ago
Hi everyone I have a simple class which retrieves items from Umbraco 13 using examine search and displays them. I was trying to exclude umbracoNaviHide pages by having the below var create = index.searcher.CreateQuery(Indextypes.Content).GroupedNot("umbracoNaviHide", "1") Using this it still returns pages which have been marked as hide. Is there a criteria I need this to meet or anyway to distinguish why this is occurring? Thank you
t
a
j
  • 3
  • 6
  • 142
Custom labels in Umbraco 14 Blocks
d

Dixi

over 1 year ago
Hi guys, are there any docs on the label formatting options for blocks in block list / grid in Umbraco 14? The official docs are still pending to be updated
d
p
+5
  • 7
  • 12
  • 142
Is it possible to move a field to another tab?
t

TigerMan

over 1 year ago
Hi I have a field under tab 1. I now want to move that field to tab 2 but retaining all the existing data. Is this possible as I don't see any option? Thanks
t
k
m
  • 3
  • 2
  • 142
Fresh v13 install on Arm64 (Surface Pro 11)
b

Barry Fogarty

over 1 year ago
Morning! I have a shiny new Surface Pro 11 with the Snapdragon Arm64 chip and I'm having difficulty installing v13 on it. The site builds and boots, but I get a 503 Service Unavailable console error in the
GetSetup
Umbraco API call. Nothing relevant in the Umbraco logs. This happens before the install form appears on the frontend. Interestingly a v14 install works fine, as does an unintended install via
dotnet new umbraco
e.g. the latest LTS with Clean Starter Kit example from Paul Seal's excellent package script writer: https://psw.codeshare.co.uk/?TemplateName=Umbraco.Templates&TemplateVersion=LTS&Packages=&UserEmail=admin%40example.com&ProjectName=MyProject&CreateSolutionFile=true&SolutionName=MySolution&UseUnattendedInstall=true&DatabaseType=SQLite&UserPassword=1234567890&UserFriendlyName=Administrator&IncludeStarterKit=true&StarterKitPackage=clean&OnelinerOutput=false&RemoveComments=false Could be a bug and I'll need to log an issue, but interested to hear if anyone else has tried this on Arm64? It should be the same as what has worked on Mac/Linux for a while right? Could it be to do with the NodeJs version installed on my machine? Thanks!
b
s
+8
  • 10
  • 50
  • 141
Smidge fails to find files
l

Luuk Peters (Proud Nerds)

9 months ago
I have an Umbraco 13 project (13.5.2, also tried to update to 13.6.0) where smidge fails to generate it's cache with an error:
[12:34:07 ERR] Connection id "0HNA1TCKBP0T2", Request id "0HNA1TCKBP0T2:0000000B": An unhandled exception was thrown by the application.
System.IO.FileNotFoundException: No such file exists /umbraco/assets/css/umbraco.min.css (mapped from /umbraco/assets/css/umbraco.min.css)
File name: '/umbraco/assets/css/umbraco.min.css'
   at Smidge.SmidgeFileSystem.GetRequiredFileInfo(IWebFile webfile)
   at Smidge.FileProcessors.PreProcessManager.<>c__DisplayClass8_0.<ProcessFileImpl>b__0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.CreateValue()
   at Smidge.FileProcessors.PreProcessManager.ProcessFileImpl(IWebFile file, BundleOptions bundleOptions, BundleContext bundleContext)
   at Smidge.FileProcessors.PreProcessManager.ProcessFile(IWebFile file, BundleOptions bundleOptions, BundleContext bundleContext)
   at Smidge.FileProcessors.PreProcessManager.ProcessAndCacheFileAsync(IWebFile file, BundleOptions bundleOptions, BundleContext bundleContext)
   at Smidge.Controllers.SmidgeController.Bundle(BundleRequestModel bundleModel)
https://cdn.discordapp.com/attachments/1334850297603821568/1334850582518825011/image.png?ex=679e07fb&is=679cb67b&hm=5d0a19c60737a6792e46ed5da08d135f6ac48db480abf9d5ee8cddd42599087c&
l
s
+3
  • 5
  • 24
  • 139
Setting CORS for Content Delivery API
d

Dean Leigh

over 1 year ago
I have got UmBootstrap working as a Content Delivery API in an Azure Web App and the same page using the JSON in a static HTMX site. However, to do so I have had to allow an origin in Azure. How can I protect that origin so that only my static site can access the API?
d
m
  • 2
  • 4
  • 135
Umbraco 15, deploy on Ubuntu 24, missing Microsoft.AspNetCore.Server.IIS
b

Blago Culjak

12 months ago
This is error when upgraded site from v14 to v 15 upgrading: > Nov 18 17:08:37 vmi1813232.contaboserver.net systemd[1]: Started greencode.service - Green Code service. > Nov 18 17:08:40 server.net greencode[18474]: Unhandled exception. System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.IISServerOptions' from assembly 'Microsoft.AspNetCore.Server.IIS, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. > Nov 18 17:08:40 server.net greencode[18474]: at Umbraco.Extensions.UmbracoBuilderExtensions.AddWebServer(IUmbracoBuilder builder) > Nov 18 17:08:40 server.net greencode[18474]: at Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(IUmbracoBuilder builder, Action`1 configureMvc) > Nov 18 17:08:40 server.net greencode[18474]: at Program.$(String[] args) in /home/github-runner/actions-runner/_work/GreenCode/GreenCode/GreenCode/Program.cs:line 17 Program.cs, line 17:
builder.CreateUmbracoBuilder()
    .AddBackOffice()
    .AddWebsite()
    .AddDeliveryApi()
    .AddComposers()
    .Build();
Is there some dependency that is forcing us to use IIS everywhere?
b
s
+2
  • 4
  • 10
  • 134
Global login redirect?
c

Chris Bass

over 1 year ago
When using role-based permissions for Member page views, the Umbraco 13 backoffice provides a 'Restrict Public Access' popup, that lets you pick the groups with permission, but also forces you to choose a login page and error page. In my case (and I feel like, in many if not most cases) all pages that are restricted have the same login page and the same error page - Is there a way to set this globally (at least, for pages that have access restrictions) or do I really have to teach page editors to set it on each page being restricted?
c
m
m
  • 3
  • 9
  • 134
How to open media picker from custom property editor (v15.1)
r

rstei

10 months ago
As part of custom property editor, I would like to integrate Umbraco's media picker - to be able to select media items. Is there a context or similar I can use to access this picker?
r
u
  • 2
  • 2
  • 133
Previous192021Next

Umbraco

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

Powered by