https://discord.umbraco.com
Join Discord
TinyMCE - V13 Custom Config
d

Dean Leigh

almost 2 years ago
In our V8 we have some custom conif in tinyMceConfig.config:
<!-- this area is for custom config settings that should be added during TinyMCE initialization -->
    <customConfig>
        <!--    <config key="myKey">mySetting</config>-->
        <config key="entity_encoding">raw</config>
          <config key="style_formats">
            [
            {"title":"Headers","items":[{"title":"Header 2 (H2)","block":"h2"},{"title":"Header 3 (H3)","block":"h3"}]},
            {"title":"Languages","items":[{"title":"English","inline":"span", "attributes":{"lang":"en"}},{"title":"Japanese","inline":"span", "attributes":{"lang":"ja"}},{"title":"Chinese","inline":"span", "attributes":{"lang":"zh-Hans"}}]}
            ]
          </config>
    </customConfig>
I understand this is now done in appsettings.json Are there any tutorials or examples where I can achieve the same result?
d
j
h
  • 3
  • 4
  • 321
How to preserve line breaks from an Umbraco.TextArea?
c

Craig100

over 1 year ago
V13.1.1 I've tried : @Model.Content.OverlayText?.ReplaceLineEndings() but it's still all in one line. This is what the input looks like (below). I've tried soft line endings and hard, both the same. I'd rather not change the control over to an RTE if I can get away with it. Any advice appreciated. Thanks. https://cdn.discordapp.com/attachments/1212812728817680384/1212812729077862441/image.png?ex=65f332df&is=65e0bddf&hm=f6492e7fcb29c69d372317d4d96c58e523aac399e28422178b7b2be68cf3128a&
c
s
+3
  • 5
  • 8
  • 320
Upgrading 13 to 15 Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common
r

Rich G

11 months ago
Hey, Attempting to upgrade our 13 project to 15. Apart from a few packages that haven't been upgraded it's going ok, except can't get past this error: NU1608      Detected package version outside of dependency constraint: Umbraco.Cms.Web.BackOffice 13.0.0 requires Umbraco.Cms.Web.Common (>= 13.0.0 && < 14.0.0) but version Umbraco.Cms.Web.Common 15.1.1 was resolved. I get an error in all the following cases: - Removing all references in the project file to Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common - Only referencing Umbraco.Cms.Web.BackOffice - Referencing both Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common Looked at removing all references to Umbraco.Cms.Web.BackOffice / Umbraco.Cms.Web.Common in code, but seems to be baked in, used for Models builder etc.
r
l
+2
  • 4
  • 5
  • 314
Umbraco + AppInsights
c

Chad

about 1 year ago
Does anyone have this fully working, including Exceptions being logged? We seem to be hitting a scenario whereby the actual Exception details are not being sent to AppInsights (but the 500 response is being logged).
c
d
j
  • 3
  • 10
  • 312
Umbraco forms - silent error during upgrade migration
w

weedroid

12 months ago
I have a site running Umbraco v13 which I have upgraded from v8 via v10. I am now trying to install the latest version of Umbraco Forms - I have installed the package via Nuget and can load the Forms section in the backend, however doing so shows this error: Invalid column name 'DeleteEntries'. On checking the Installed Packages view I can see there are Pending migrations for the Umbraco Forms package, selecting the option to Run them shows a "successfully completed" message in the front-end but the console the site was run from shows the following errors: [10:35:00 INF] Create Foreign Key: ALTER TABLE [UFUserGroupFormSecurity] ADD CONSTRAINT [FK_UFUserGroupFormSecurity_UFForms_Key] FOREIGN KEY ([Form]) REFERENCES [UFForms] ([Key]) [10:35:00 ERR] Exception (9b7b8baf). Microsoft.Data.SqlClient.SqlException (0x80131904): There are no primary or candidate keys in the referenced table 'UFForms' that match the referencing column list in the foreign key 'FK_UFUserGroupFormSecurity_UFForms_Key'. Could not create constraint or index. See previous errors. Plan failed at step 7c7bc5ee-4c5b-42dc-9576-5ce6dfbddb8e Has anybody encountered this error or similar before, or has any advice on resolving it?
w
o
+2
  • 4
  • 17
  • 308
The factory has not been configured with a proper connection string.
j

jsh6791

over 1 year ago
Hello all. I have an issue I have been trying to track down off and on for a couple days. Recently upgraded from 13.2.1 to 13.2.2. Running vanilla Umbraco; no code modifications, use SQL Server back end. I can run it locally pointing at a SQL server at my web host company and it works fine. When I do a web deploy, I get the message: Unhandled exception. System.InvalidOperationException: The factory has not been configured with a proper connection string. at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.Initialize()... I can connect directly to the SQL server using the exact same connection string info as well, so I know the connection string is correct. I've obfuscated the connecting string below, but here it is. Again, when I run the code locally on my machine, it works fine connecting to this server. "umbracoDbDSN": "Data Source=tcp:s23.winhost.com;Initial Catalog=########;User ID=#######r;Password=#######;Integrated Security=False;TrustServerCertificate=true;", What am I missing? Is something cached on the web host's server? I have completely deleted everything off the server (via FTP) and redeployed, but the same error persists. I appreciate any and every bit of help anyone can provide.
j
s
  • 2
  • 1
  • 307
Blazor+UmbarcoCMS
m

marcusjmsweden

over 1 year ago
Using this to discuss Content Delivery API and Blazor.
m
l
+9
  • 11
  • 121
  • 305
Any tutorials or blog posts on adding a new custom field to an existing examine index?
u

_tommadden

over 1 year ago
I'm looking to add a single new field to the external index. This seemed like a trivial task and quite easy in v8 but all I can seem to find so far for modern Umbraco are articles about creating new indexes. TIA, tom
u
j
+3
  • 5
  • 11
  • 304
Examine indexes need to be rebuilt regularly
d

Dan

over 1 year ago
Hi, I'm working on a v13 site which has around 10k content nodes. It has a news search facility on the front-end which uses Examine and separately its Content Delivery API also powers a third-party app. We're finding that both the news search (which relies on the 'out of the box' External examine index) and the Content Delivery API keep failing to yield any results after 'a few days'. Logging into the CMS and rebuilding the indexes fixes it, but that's not a viable long-term solution. I wondered if anyone knows what might be causing the indexes to be dropped and/or if there's a way they can be automatically set to rebuild, periodically? The site is hosted on the client's own Windows VM — it's a decent spec AFAIK but it is used to host several sites. Could it be a memory issue? (Although I thought indexes were written to disk so that might not be too relevant?) Any pointers gratefully received!
d
j
  • 2
  • 1
  • 289
Forms files missing?
j

Josef Henryson

almost 2 years ago
Hi. Docs and code says there should be an UmbracoForms folder in App_plugins. After nuget installation of Forms 13.0.1 I do not have that folder. What might be wrong here? Also the files in Views/Partials/Forms were missing. Downloaded them from docs page though. https://cdn.discordapp.com/attachments/1206882876767997992/1206882876935634984/image.png?ex=65dda044&is=65cb2b44&hm=0314d73b87545d406bcb5592a35d82785133ac4d0ddb372d982d1290158a1e03&
j
m
m
  • 3
  • 6
  • 289
Previous678Next

Umbraco

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

Powered by