Hi, The LeptonX theme is now the default but there are a number of things that are annoying and difficult to work out without documentation or source code. Can you tell me where I can find guidance on the following?
I can override the Image in the Login form using the BrandingProvider but it has an annoying Lepton watermark and Lepton logo above the login form remains even though the BrandingProvider is specifying another logo which is picked up by the other main standard layout. How can I override this as I do not have the source code to see what the original form has?
There is no language selector on the Login form. Is this intentional?
There is no code available for the LeptonX theme but there is for the Lepton theme. Should we be using Lepton or LeptonX going forward?
I am using version 6.0.0-rc.3 Thanks for your help. Adam
Hi enisn, Thanks for looking at this. I created a new service with the name CategoryService using the abp cli command to add it to the services directory of the main solution. The Category entity is in the new CategoryService domain and all the code looks similar to that in the ProductService except that it is dealing with Category and the CategoryDtos. Category is defined as
public class Category : Entity<Guid>
{
public string Name { get; private set; }
protected Category()
{
}
public Category(Guid id, string name): base(id)
{
SetName(name);
}
public void SetName(string name)
{
Check.NotNullOrEmpty(name, nameof(name), 100, 3);
Name = name;
}
}
The Url https://localhost:44725 is the Url for the new CategoryService. The Web Gateway URL is https://localhost:44325 which I think is the standard.
If there is anything else let me know. But I followed the ProductService as a guide very closely and there is very little difference other than the fact that it is dealing with Category entities.
Could not found remote action for method Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
[RemoteService(Name = CategoryServiceRemoteServiceConsts.RemoteServiceName)]
[Area("categoryService")]
[Route("api/category-service/categories")]
public class CategoryController : CategoryServiceController, ICategoryAppService
{
private readonly ICategoryAppService _categoryAppService;
public CategoryController(ICategoryAppService categoryAppService)
{
_categoryAppService = categoryAppService;
}
//doesn't work
[HttpGet]
[Route("{id}")]
public virtual Task<CategoryDto> GetAsync(Guid id)
{
return _categoryAppService.GetAsync(id);
}
//works
[HttpGet]
public virtual Task<PagedResultDto<CategoryDto>> GetListAsync(GetCategoriesInput input)
{
return _categoryAppService.GetListAsync(input);
}
//doesn't work
[HttpPost]
public virtual Task<CategoryDto> CreateAsync(CategoryCreateDto input)
{
return _categoryAppService.CreateAsync(input);
}
[HttpPut]
[Route("{id}")]
public virtual Task<CategoryDto> UpdateAsync(Guid id, CategoryUpdateDto input)
{
return _categoryAppService.UpdateAsync(id, input);
}
[HttpDelete]
[Route("{id}")]
public virtual Task DeleteAsync(Guid id)
{
return _categoryAppService.DeleteAsync(id);
}
}
}
Where am I going wrong? Is there something simple I am missing. Thanks.