https://discord.umbraco.com
Join Discord
Setting Umbraco path
h

Harry Gordon

over 2 years ago
Hi all, I would just like to confirm, it seems that setting the Umbraco path is no longer possible in Umbraco 10+? I can't find any mention of it but the source seems unambiguous:
/// <summary>
///     Gets or sets a value for the Umbraco back-office path.
/// </summary>
public string UmbracoPath
{
    get => Constants.System.DefaultUmbracoPath;
    [Obsolete($"{nameof(UmbracoPath)}  is no longer configurable, property setter is scheduled for removal in V12")]
    // NOTE: when removing this, also clean up the hardcoded removal of UmbracoPath in UmbracoJsonSchemaGenerator
    set { }
}
h
h
+2
  • 4
  • 6
  • 55
Deploying Umbraco to AWS
t

TheCultOfRa

11 months ago
Hi, I am trying to see if there are any recommended tutorials for deploying Umbraco on AWS behind a load balancer? The best I have been able to find is https://24days.in/umbraco-cms/2023/automatons/umbraco-aws/
t
a
s
  • 3
  • 2
  • 54
TinyMCE (v12) - Extend the init/setup
p

ProNotion

over 1 year ago
Is it possible to extend the TinyMce setup/initialisation? I need to make a change to enhance the behaviour of a couple of features, e.g. apply a specific class to elements when
Justify-Left
or
Justify-Right
are selected from the formatting toolbar.
tinymce.init({
    setup: function(editor) {
        editor.on('ExecCommand', function(e) {
            var selectedNode = editor.selection.getNode(); // Get the currently selected node
            if (e.command === 'JustifyLeft' || e.command === 'JustifyRight') {
                // Remove any previously added alignment classes
                editor.dom.removeClass(selectedNode, 'custom-justify-left custom-justify-right');
                // Check command and add the appropriate class
                if (e.command === 'JustifyLeft') {
                    editor.dom.addClass(selectedNode, 'custom-justify-left');
                } else if (e.command === 'JustifyRight') {
                    editor.dom.addClass(selectedNode, 'custom-justify-right');
                }
            }
        });
    }
});
Is this achievable somehow?
p
m
  • 2
  • 5
  • 54
Umbraco with reverse proxy or Dev Tunnel
m

Markus Johansson

over 1 year ago
I'm working on a site that needs to get webhook requests from external providers, for this the new "Dev Tunnels"-feature in Visual Studio is great. The problem is that Umbraco does not recognize the x-forwarded-host header which makes any absolute links point to https://localhost/ since that is what it's running as internally. I have a slight memory that there might be some "mechanism" in Umbraco that tells the CMS the current URL (so that I can use the headers from the proxy). Anyone knows?
m
k
a
  • 3
  • 7
  • 54
Umbraco 13 and app.UseHsts()
m

MadhackerZA

over 1 year ago
I'm busy with a Umbraco 13 website and I need to add app.UseHsts() to the program.cs file. Where is the best place to add it, should it be before or after app.BootUmbracoAsync() if (app.Environment.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { app.UseHsts(); } Any suggestions will be greatly appreciated.
m
m
  • 2
  • 2
  • 54
RTE Styleselect value changes and not syncing when using uSync
h

Hooky

almost 2 years ago
It appears as though the value for the 'style select' toolbar option has changed in the TinyMCE json configuration from 'styleselect' to 'styles'. This doesn't appear to be mapping when using usync to import these files. We're using the latest version of Umbraco 13 (13.0.2 at time of writing) and uSync (13.0.1). Saving down the property serialised the usync file back down to the new value (which is how I identified the change) but it's not clear this is required - might be a required change to usync possible to convert this value when importing (or at least display an error if it's present) https://cdn.discordapp.com/attachments/1199687789453787176/1199688505475989608/image.png?ex=65c373fc&is=65b0fefc&hm=5cc2091a9f4ac966ddacafb2220eb8ed15b8e66c54648ed88bd75480704daee6& https://cdn.discordapp.com/attachments/1199687789453787176/1199688505719279697/image.png?ex=65c373fc&is=65b0fefc&hm=519207b1b0e84f8df4b19f7d3bd577ab278b1321df7a7f129a3b853f6c08a01c&
h
k
w
  • 3
  • 17
  • 54
Forms and Delivery API
b

Bjarne Fyrstenborg

almost 2 years ago
Currently latest Umbraco comes with Content and Delivery API. https://docs.umbraco.com/umbraco-cms/reference/content-delivery-api/media-delivery-api Is there anything in progress regarding a Forms Delivery API? Currently these endspoints are
GET
.. but I know there are work in v14 regarding management API. Furthermore is will there be endpoints to
POST
form data in a headless setup using Delivery API or would one need to implement this in its own controller/endpoint?
b
a
  • 2
  • 6
  • 54
Enable GZIP Compression
d

Debasish

about 1 year ago
How can I enable GZIP Compression for an umbraco site hosted on Azure?
d
j
+2
  • 4
  • 4
  • 53
Issues with SignInAsync on production server
t

theneXus

about 1 year ago
Hi all, Localhost building - Fine Staging environment - Fine. I have a 3rd party SSO implementation with Umbraco 13. On everything all good I run the following: await _memberSignInManager.SignInAsync(memberIdentity, true); It is not working on production and I can see the ASP Identity cookies are not being set. I am at a bit of a loss what it could be. I have this in my startup to target production but this does not resolve the issue: if (_env.IsProduction()) { services.AddAuthentication(options => { options.DefaultAuthenticateScheme = IdentityConstants.ExternalScheme; options.DefaultSignInScheme = IdentityConstants.ExternalScheme; options.DefaultScheme = IdentityConstants.ExternalScheme; }) .AddCookie(options => { options.ExpireTimeSpan = TimeSpan.FromDays(7); }); } I of course have: app.UseAuthentication(); app.UseAuthorization(); Could anyone help point me in the right direction?
t
m
  • 2
  • 5
  • 53
Get Published Culture in ContentPublishedNotification
r

Rick

over 1 year ago
Hi! I have a small question about a multilingual site in Umbraco with variants. I want to send my content to Azure Search when it is published, so my idea was to use the ContentPublishedNotification and the ContentMovingToRecycleBinNotification and ContentUnpublishingNotification to detect when the content needs to be removed or updated in Azure Search. The problem is that Azure Search requires a unique key to identify the content. Since the content ID is the same across all published cultures, I also need to use the culture of the content to create a unique ID that can be referenced back to Umbraco content. However, within the ContentPublishedNotification, I can't find a way to get the culture of the published content. Does anyone know a trick to obtain this information? Or perhaps another idea that would achieve the same result? Thank you!
r
  • 1
  • 1
  • 53
Previous434445Next

Umbraco

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

Powered by