Abp: HOW TO CHANGE LOGO IN THE DEFAULT TEMPLATE?

Created on 5 Oct 2018  路  5Comments  路  Source: abpframework/abp

Or should I say, add one

question

Most helpful comment

Oh, yes Basic theme does not support it yet, sorry.

  • Copy this file to your Web project (under Themes/Basic/Components/Brand/Default.cshtml path).
  • Make it embedded resource and register to the virtual file system.
  • Change however you want. Your file will override theme's file.

All 5 comments

Simplest way: https://github.com/abpframework/abp/blob/master/templates/mvc/src/MyCompanyName.MyProjectName.Web/Branding/MyProjectNameBrandingProvider.cs

Override LogoUrl here. For more advanced cases, you can replace template's components/views.

How can i add a logo using the default theme because i did override the logourl and it is not showing up

Oh, yes Basic theme does not support it yet, sorry.

  • Copy this file to your Web project (under Themes/Basic/Components/Brand/Default.cshtml path).
  • Make it embedded resource and register to the virtual file system.
  • Change however you want. Your file will override theme's file.

Thank you 馃檹馃徏 very helpful Halil =)

Just to remark that you must correctly type the namespace of the webproject otherwise it wont map it correctly.
options.FileSets.Add( new EmbeddedFileSet( typeof(ManagerWebModule).Assembly,"NAMESPACE.HERE.WEB" ) );

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hikalkan picture hikalkan  路  3Comments

hikalkan picture hikalkan  路  3Comments

hikalkan picture hikalkan  路  3Comments

wocar picture wocar  路  3Comments

wakuflair picture wakuflair  路  3Comments