From 44899bafd5a3d2bd5a846f33240b2595f715c4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alper=20Ebi=C3=A7o=C4=9Flu?= <9526587+ebicoglu@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:12:20 +0300 Subject: [PATCH] Update Tags.md --- docs/en/Modules/Cms-Kit/Tags.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/en/Modules/Cms-Kit/Tags.md b/docs/en/Modules/Cms-Kit/Tags.md index b785dbdb4d..ed61b8d2be 100644 --- a/docs/en/Modules/Cms-Kit/Tags.md +++ b/docs/en/Modules/Cms-Kit/Tags.md @@ -32,14 +32,14 @@ Configure(options => `TagEntityTypeDefiniton` properties: - `EntityType`: Name of the entity type. -- `DisplayName`: Display name of the entity type. You can use a user friendly display name to show entity type definition on the admin website. +- `DisplayName`: The display name of the entity type. You can use a user-friendly display name to show entity type definition on the admin website. - `CreatePolicies`: List of policy/permission names allowing users to create tags under the entity type. - `UpdatePolicies`: List of policy/permission names allowing users to update tags under the entity type. - `DeletePolicies`: List of policy/permission names allowing users to delete tags under the entity type. ## The Tag Widget -The tag system provides a tag [widget](../../UI/AspNetCore/Widgets.md) to display associated tags of a resource that was configured for tagging. You can simply place the widget on a page like below: +The tag system provides a tag [widget](../../UI/AspNetCore/Widgets.md) to display associated tags of a resource that was configured for tagging. You can simply place the widget on a page like the one below: ```csharp @await Component.InvokeAsync(typeof(TagViewComponent), new @@ -50,7 +50,7 @@ The tag system provides a tag [widget](../../UI/AspNetCore/Widgets.md) to displa }) ``` -`entityType` was explained in the previous section. `entityId` should be the unique id of the product, in this example. If you have a Product entity, you can use its Id here. `urlFormat` is the format of the URL that will be generated for each tag. You can use the `{TagId}` and `{TagName}` placeholders to generate the URL. For example, the above URL format will generate URLs like `/products?tagId=1&tagName=tag1`. +`entityType` was explained in the previous section. In this example, the `entityId` should be the unique id of the product. If you have a `Product` entity, you can use its Id here. `urlFormat` is the string format of the URL which will be generated for each tag. You can use the `{TagId}` and `{TagName}` placeholders to populate the URL. For example, the above URL format will populate URLs like `/products?tagId=1&tagName=tag1`. ## The Popular Tags Widget @@ -111,7 +111,7 @@ An entity tag represents a connection between the tag and the tagged entity. This module follows the [Repository Best Practices & Conventions](https://docs.abp.io/en/abp/latest/Best-Practices/Repositories) guide. -Following custom repositories are defined for this feature: +The following custom repositories are defined for this feature: - `ITagRepository` - `IEntityTagRepository` @@ -122,11 +122,11 @@ This module follows the [Domain Services Best Practices & Conventions](https://d ##### Tag Manager -`TagManager` is used to perform some operations for the `Tag` aggregate root. +`TagManager` performs some operations for the `Tag` aggregate root. ##### Entity Tag Manager -`EntityTagManager` is used to perform some operations for the `EntityTag` entity. +`EntityTagManager` performs some operations for the `EntityTag` entity. ### Application layer @@ -140,7 +140,7 @@ This module follows the [Domain Services Best Practices & Conventions](https://d #### Common -##### Table / collection prefix & schema +##### Table / Collection prefix & schema All tables/collections use the `Cms` prefix by default. Set static properties on the `CmsKitDbProperties` class if you need to change the table prefix or set a schema name (if supported by your database provider).