cofoundry | NET Core CMS & application framework | Content Management System library
kandi X-RAY | cofoundry Summary
kandi X-RAY | cofoundry Summary
Cofoundry is an open source .Net Core CMS and application framework focusing on:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cofoundry
cofoundry Key Features
cofoundry Examples and Code Snippets
Community Discussions
Trending Discussions on cofoundry
QUESTION
I would like to embed Cofoundry's built-in administration interface visual editor in other custom non-admin pages. The idea is not to use any of the fancy attributes like [HTML], but rather be able to load the editor using low level JavaScript and HTML instead of installing yet another editor myself and use that.
I suppose it is a standard HTML editor, so given the URLs for it in Cofoundry, I assume it would be possible to use the editor's own standard documentation for embedding the editor.
So, question, which editor is it - and what are the built-in URLs (paths) to it's components?
...ANSWER
Answered 2021-Mar-26 at 11:40As of v0.9 Cofoundry uses TinyMCE as the HTML editor. You'd be better off using your own build of the editor than linking to the Cofoundry source as it's liable to change.
QUESTION
Assume a custom entity booking like this:
...ANSWER
Answered 2021-Mar-18 at 10:54No, as of v0.9 sorting/filtering on custom entity model data is not directly supported. Issue 318 discusses workaround with building a search index, and there are open issues for implementing similar features.
QUESTION
Is there any Cofoundry specific solution to embedding views in assemblies and use these views by the main website assembly?
For instance I have /Views/CofoundryPages/Components/BookingRequest/Default.cshtml
which is the view for a ViewComponent that belongs to a separate assembly "Bookings.dll". But I have to leave the cshtml view file in the main website assembly "Website.dll".
Is there a standard way to embed my Default.cshml file in "Bookings.dll" and still have the Cofoundry framework pick it up in its virtual path provider (or what ever it is)?
...ANSWER
Answered 2021-Mar-14 at 21:22Yes, you can use the modular system that Cofoundry itself uses to bootstrap the admin panel and for plugins. There's a couple of things to consider here:
Register your Assembly
To register your assembly with Cofoundry, simply add a class that implements IAssemblyResourceRegistration
. This is a simple marker class that gets picked up by the DI system and registers it with the Cofoundry AssemblyResourceProvider
so your views can be found. E.g.
QUESTION
For various reasons I want to show an editable version of a data model in Cofoundry. My data model has an enumeration field and in the administration interface, I can make it show up as a select list by adding the SelectList attribute:
...ANSWER
Answered 2021-Mar-14 at 19:13In Cofoundry, UI elements are designed for the admin panel only. As of v0.9 they are written in AngularJS specifically for the admin panel and at some point in the future will likely be rewritten using a more modern framework.
In general, Cofoundry takes an unobtrusive approach to integrating into your application, therefore it does not dictate a specific framework, style or layout for your website/application - that is up to you to implement, so in this case you will need to build out your own select list.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cofoundry
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page