https://discord.umbraco.com
Join Discord
MediaWithCrops does not contain a definition for URL
t

TigerMan

over 1 year ago
Hi I don't know what I'm doing wrong for a simple task. I created a composition with a property for an image. Select Media picker as the type. I create a home page which has a master page listed and all the properties data come through fine when I do @Model.PageName But as soon as I use @Model.PageImage.Url() Or .GetCropUrl("cropName") I get the error "MediaWithCrops does not contain a definition for GetCropUrl and no accessible extension method accepting a first argument of type 'MediaWithCrops' could be found. I've checked versions and all versions are the same for Umbraco 13 but I don't why this is happening?
t
s
  • 2
  • 1
  • 202
Get CMS Culture
y

Yasein H. Burqan

almost 2 years ago
How can I Get CMS Culture by code? I want to get the current language that is the user work in by C# like : if user work on English get English if user work on French get French ...etc ?
y
r
j
  • 3
  • 8
  • 202
Recommended plugin for cookie managment?
m

Matthew Alexandros

over 1 year ago
I live in the US but am looking to run google adsense ads on my site and my understanding is they require me to be GDPR and CCPA compliant which means I need some way to let users op-in to the google cookies. I don't know much about these things so I was wondering what is a good, free, plugin for Umbraco 13 people are using to handle cookie compliance? Idealy it would work with UmbForms too as I will need to make a contact page some day.
m
d
+3
  • 5
  • 19
  • 200
[SOLVED] Need Help with Microsoft Entra ID Authentication for Members in Umbraco 13.5.2
o

Olti

11 months ago
Hi everyone, I’m trying to implement Microsoft Entra ID Authentication for Members in an Umbraco CMS project following this official guide: [Add Microsoft Entra ID Authentication.](https://docs.umbraco.com/umbraco-cms/13.latest/tutorials/add-microsoft-entra-id-authentication?fallback=true) Here’s my setup: - Umbraco Version: 13.5.2 (.NET 8) - uSkinned Site Builder: 6.1.2 (though I believe it shouldn’t matter here). What I’ve done so far:
o
k
+2
  • 4
  • 72
  • 197
v13 Best way to transform External Index properties
h

Hooky

about 1 year ago
Hi all 👋 I'm currently migrating a solution up to v13 from v8. It previously had a custom index for dealing with some products which had some custom values in that index. We're trying to remove this custom index and just rely on the ExternalIndex as is recommended however we would still like to include/transform the custom values. What/how/where is the best place to do this? Can I just create an IndexPopulator and amend the external index that way and if so is this just a composer I'd need to register in order for it to work or should it be attached to a Notification handler for example. How does a custom index populator behave in relation to the default OOTB one (will it run after)? Any help or advice would be great
h
d
j
  • 3
  • 11
  • 197
Skybrud Redirects (Umbraco v13) - static file / media based redirect rules not triggering
n

Nik

over 1 year ago
Has anyone seen static file redirects not triggering with SkyBrud? Working on a site that has been migrated to v13 (originally v7 => v8, now v13). Skyrbud was installed back in the v8 days and has a large amount of redirects in it, however all of the ones that seem to be for static files / media items (i.e. end in a file extension) are not triggering, If the file extension is removed in the redirect rule and from the requested URL they trigger. I'm not really sure where to start my investigation with this, so looking for some pointers.
n
j
a
  • 3
  • 8
  • 197
[Solved] PDF Generator
c

Craig100

over 1 year ago
Is there a decent PDF generator for Umbraco that works with V13? I've tried the WebWonders one but it won't install and looks like it hasn't been updated in a long while.
c
d
+5
  • 7
  • 83
  • 197
How to redirect azurewebsites.net domain when hosting as an Azure Web app?
t

TackleMcClean 🏅

over 1 year ago
Setting up a .NET web app on Azure nets you an automatic `projectname.azurewebsites.net`domain. But you might also opt for setting up a custom domain. Doing so you probably want all your traffic to go to the custom domain, effectively redirecting all requests to the automatically assigned azurewebsites domain to your custom domain. How would you go about setting this up? Years ago one would use the web.config file. Is this possible to use in modern .NET Core contexts? My limited knowledge on this says that web.config is for IIS servers, while newer solutions - inlucing Umbraco - use the Kestrel server.
t
m
+3
  • 5
  • 14
  • 196
How do i authenticate to the Content Delivery API with Swagger or Postman
n

Navorski

over 1 year ago
Can someone help me on my way? I created an API, an UmbracoApiController, with the [UmbracoMemberAuthorize] attribute. I Configured swagger to be able to authorize Everything seems to be in place and to work. But how do i authenticate with Swagger, or with Postman, or whatever? when i go to https://localhost/umbraco/swagger, i can see the swagger api, and when i want to authenticate, i have to fill in a client_id and a client_secret. But i have no idea where to get those? https://cdn.discordapp.com/attachments/1242595241077375058/1242595241219850310/image.png?ex=664e687f&is=664d16ff&hm=725f3c4adc068b9f71b6a1a0688cf566f11aabbd9de24c86de6bb9a52b3f319d&
n
d
+2
  • 4
  • 8
  • 196
Programmatically creating block list items, and saving to page
l

Lewis Heaton

over 1 year ago
I have a page in Umbraco 13, i'm trying to create a few block list items, then save this to the page. The page is being generated fine when i comment out the setValue for setting the block list item. I found a our.umbraco post from 2020, which pointed to https://github.com/umbraco/UmbracoDocs/blob/e64ec0e5b28b4e5a37b7865691621e45dd82701f/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Block-List-Editor/index.md which is what i followed. Any docs / suggestions on how to get this working?
l
d
  • 2
  • 7
  • 195
Previous121314Next

Umbraco

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

Powered by