https://discord.umbraco.com
Join Discord
GOD Mode in Umbraco showing Connection String
j

jonroberts

over 1 year ago
@Dan 'Diplo' Booth in God mode - a CMS user can see the Connection String to the database. Our client who has performed a Pen Test on the CMS has flagged this as a Security issue. Are you aware of this?
j
k
+9
  • 11
  • 24
  • 62
Content delivery API best practises for navigation
f

Florent Grandjean

about 2 years ago
Hi all 👋 , I'm building an NextJS website with the Content delivery API. 1) What are the best practise to create a multi level navigation, are you using a custom made API or is it possible to get it from the delivery API ? 2) Is it fine to do different API calls for one page if you want to load sub-content or other content? As it doesn't seems to be possible to fetch different pages in one call. Thanks for your inputs
f
c
  • 2
  • 7
  • 62
Displaying Headings (Labels) in Block List in Umbraco 15?
w

warLock

8 months ago
In older versions of Umbraco (e.g., Umbraco 8 or 9), we could use the { title } keyword to display list headings within Nested Content. However, in Umbraco 15, more modern structures like Block List and Block Grid are used instead of Nested Content. How can I achieve this in Umbraco 15? Can you help me? https://cdn.discordapp.com/attachments/1345787940328181801/1345787940550475940/image.png?ex=67c5d230&is=67c480b0&hm=6f6433eac4c6963efe7139ed472603c389ad59b4cb4801cadc6538062c5bc0e4&
w
l
  • 2
  • 2
  • 61
Models Builder settings not working as expected in staging. Ambiguous reference.
z

ZimmertyZim

about 1 year ago
I have a project with the following settings:
"ModelsBuilder": {
        "ModelsMode": "SourceCodeManual",
        "ModelsDirectory": "~/../MyProject.Models",
        "ModelsNamespace": "MyProject.Models",
        "AcceptUnsafeModelsDirectory": true,
        "FlagOutOfDateModels": true
    }
This works locally: I generate the models, see them added to my class library, build successfully, and the application runs without issues. However, when deploying to staging, I encounter an ambiguous reference error. It seems to reference Umbraco.Cms.Web.Common.PublishedModels instead of MyProject.Models. It’s almost as if the appSettings.Staging configuration is being ignored. I’ve added the same settings to the base appSettings. I suspect the the staging configuration is ignored; as the back office prompts for connection details during the first boot and then adds the connection string to the default appSettings file. Comparing with another site that has the same settings/setup and generates .cs files in the MyProject.Models folder, my newly deployed site only generates a .dll. I can’t find any differences in the build/publish profiles, Program.cs, appSettings, etc. Is there something obvious I’m missing? Why would it work locally but fail on the server?
z
h
+2
  • 4
  • 8
  • 61
Login using Content API + members in headless frontend
s

Sebastian Pierre

over 1 year ago
We're using the content api in Umbraco 13 (Cloud) and render it in a completely standalone SvelteKit-frontend. Now I want to utilize the members and the content api to create a login, is this possible and how would one go about doing so?
s
p
  • 2
  • 1
  • 61
Creating MapControllerRoute from within the controller ?
s

Sebastian Dammark

over 1 year ago
I've created 2 controllers for robots and sitemap. I've also created 2 MapControllerRoute for robots.txt and sitemap.xml in Startup.cs Everything is dandy 🙂 But being me and knowing my ability to remember, I for sure will zapp my memory regarding MapControllerRoutes on my next assignment. So here the question goes 🙂 Would it be possible to do it from within the controllers ? This way it all will located the same place.
s
m
j
  • 3
  • 7
  • 61
UmbHost: uSync failing to import Templates and Content Types
s

Sam

9 months ago
Hey all, I've run into some issues with a uSync import into my site. When I try to import settings, I get the following errors relating to the Templates and Content Types - anyone come across anything like this before? @User https://cdn.discordapp.com/attachments/1329113050271191052/1329113050422444072/usync-1.png?ex=6789287c&is=6787d6fc&hm=ed39a205ebc07e849ed230ddab28299eaeaded4cee9c8ed06e385aaac1f2e94e& https://cdn.discordapp.com/attachments/1329113050271191052/1329113050912915526/usync-2.png?ex=6789287d&is=6787d6fd&hm=a212351294c815cc78e61873acf4dbf7841b5167747d69b391c671c5dbc27d11& https://cdn.discordapp.com/attachments/1329113050271191052/1329113051185811517/usync-3.png?ex=6789287d&is=6787d6fd&hm=5bb47e0ba578a0b3ffdda884b9dd4f244d90081c012e8ec4a39691e0eb453a52&
s
a
  • 2
  • 6
  • 60
Best way to use Block Settings?
p

PascalEugster

over 1 year ago
I want to make use of the block settings to enable some basic styling for all blocks like: background color, spacing top & bottom, padding. Is there a way to make it available for all blocks and a simple way to update the code which makes it work for all blocks.cshtml?
p
d
d
  • 3
  • 31
  • 60
[SOLVED] Umbraco Cms 13 on Azure Web App with SQLLite results in 500.30?
e

EricCeric

over 1 year ago
Hi! I am trying to upload a Umbraco Cms 13 website to the Azure Web App but I keep receiving the following message: HTTP Error 500.30 - ASP.NET Core app failed to start Common solutions to this issue: The app failed to start The app started but then stopped The app started but threw an exception during startup Troubleshooting steps: Check the system event log for error messages Enable logging the application process' stdout messages Attach a debugger to the application process and inspect For more guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS. I have added this to my
e
s
  • 2
  • 6
  • 60
{SOLVED] Add field to internal index (internal search) v10
s

SiempreSteve

over 1 year ago
Have a code field that the admins would like to use in the Umbraco internal backoffice search. I've tried adding this field to the internal index (pretty sure that's what's used in the internal search?). I can see this code getting hit on startup but doesn't seem to affect the search results. Can anyone spot any issues? using Examine; using Examine.Lucene; using Microsoft.Extensions.Options; using Umbraco.Cms.Core; using Umbraco.Cms.Core.Composing; namespace ZZ.Web.v10.Extensions { public class ConfigureInternalIndexOptions : IConfigureNamedOptions { public void Configure(string name, LuceneDirectoryIndexOptions options) { if (name.Equals(Constants.UmbracoIndexes.InternalIndexName)) { options.FieldDefinitions.AddOrUpdate(new FieldDefinition("code", FieldDefinitionTypes.FullText)); } } public void Configure(LuceneDirectoryIndexOptions options) { throw new System.NotImplementedException(); } } public class ExamineComposer : IComposer { public void Compose(IUmbracoBuilder builder) { builder.Services.ConfigureOptions(); } } }
s
j
s
  • 3
  • 5
  • 60
Previous394041Next

Umbraco

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

Powered by