How do you use TinyMCE in ASP.NET Boilerplate? - ckeditor

I'm using ABP 2.1.2 with the AdminBSB theme. I see the theme incorporates both TinyMCE and CKEditor, either of which I want to use in a form.
Have these been created as Angular modules in ABP or must I create them myself? If they are already supported, how do I use them?

ABP doesn't have implementation of those Angular modules. You have to create yourself.

Related

How to implement leptonX theme

I was trying to add the new leptonX theme provided by ABP framework. But i couldn't find a doc for the MVC project. There is one for the angular. Have anybody tried adding to MVC project?
In your web project, you need to run the command:
abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX --prerelease
Or
dotnet add package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX --prerelease
Follow instructions as per Abp Team: https://docs.abp.io/en/commercial/latest/themes/lepton-x/commercial/mvc

What is the best way to create a new blank UI while keeping the ABP Framework infrastructure?

In a Multitenancy B2C application, the interface created by the Application Startup Template applies well to the backoffice, but for the storefront website I think it would be necessary to create a blank UI project (angular or MVC).
What would be the best practice for keep the ABP infrastructure that provides functionality such as customization by Tenant, Tag Hellpers, Proxies, Localization, etc. without bringing unnecessary dependencies such as JS libraries and other components like menus, datatables, sidebars?
What you are looking for is a Public application template. Abp framework is created modularity in mind so that you can use modules in each other if they are developed in modular way.
I don't think it is feasable to say "add these projects and libraries".
However, you can check the microservice demo, PublicWebSite application at abp-samples to see which libraries are added so that you can modify an empty project as you desire.
Overriding a View Component The ABP Framework, pre-built themes and modules define some re-usable view components. These view components can be replaced just like a page described above.
https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-view-component
Replacing ALL UI Theme Package with your custom Project by copy the Basic Theme (from Github).
MVC https://community.abp.io/articles/creating-a-new-ui-theme-by-copying-the-basic-theme-for-mvc-ui-yt9b18io
Blazor https://community.abp.io/articles/creating-a-new-ui-theme-by-copying-the-basic-theme-for-blazor-ui-qaf5ho1b
Or check these others links https://community.abp.io/articles/changing-ui-theme-for-abp-mvc-razor-pages-ui-ravx6a0o.

Codeigniter librarys vs core classes

I need to create some functionality that will be used by nearly all my controllers.
So I need to create a custom class. Now do I do this as a Core class? Or as a library? How do these differ?
I use the core class override technique when there's some behavior of one of the core classes that I want to change project wide. A great example of this is using Jamie Rumbelow's model class in /core/MY_Model.
For functionality that will be USED in each controller, I build a library to perform those functions and autoload it, then call the functions from that library as needed.
You want a library is you are developing a class. For simple functions, create a helper. If you are developing functionality that interacts with your database, create a model.
Add your custom helpers and libraries in you application folder.

spring view template skinning

How can I implement a css based template skin for spring MVC app. Also, is it possible to change the template path for spring MVC file at runtime to load completely different theme based on user selection or url called?
Take a look at Spring Themes. Also, there are other options:
You may change class of <body>, for example, and have different themes as it is done in Dojo.
You may load stylesheets as alternate and switch them with JS.

Multiple development environments for one project in IntellijIDEA

I am developing large web project, using IntellijIDEA (11.1.3).
I would like to have some environment, where I will be working under HTML templates. I won't use any server-side programming there, just HTML markup, CSS style sheets and JavaScript.
As well, I need different environment, where I will create dynamic application, using not only markup, style sheets and client-side programming, but also Maven, Spring MVC, Hibernate, PostgreSQL and, probably, other technologies.
I will use Tomcat to deploy both my template and my final application into container to view it in browser.
The question is how to structure my project?
That would be absolutely great if someone could show me step-by-step instructions of creating sample project, but any advises are appreciated.
IntelliJ IDEA 11 has a special Web module type for the plain HTML/JS projects, create one module of this type and another Java module for the rest of the technologies.

Resources