how to add company logo to articles in knowledge management by default?

reddy567
Mega Contributor

Hi,

Am trying to create a default template to the articles. I would like to add our company logo to all the articles related to particular knowledge base, so that end users can see our company logo when they view articles. Would someone please provide a solution or suggestions to achieve the goal.

Thanks in advance.

4 REPLIES 4

Stephen Payer
Tera Contributor

My solution involves adjusting the Data Dictionary value for the HTML field on the Knowledge article template. 

I am using Kingston.  I did have to load the PlugIn "Knowledge Management Advanced Installer" as I did not have access to the Article Templates.

1.  Upload the company logo image to your instance.  Content Management > Images > New.    

2.  Create an article template.  Knowledge > Article Template > New.  Be sure to include an HTML field.

3.  Create a Knowledge article using your newly created template.  Knowledge > Homepage > Create an Article.  Choose the template you just created.

4. Right Click the field name of the HTML field and select Configure Dictionary

5.  Within the Default Value tab drop in the URL for your company logo as defined in Content Management - Images.  This html syntax worked for me:  <p><img src="companylogo.png"></p>.  Select Update.

Now create a Knowledge article using your newly created template.  Your company logo should appear in the top left of your article.

I hope that helps....

 

 

 

 

 

Kim Tillano
Tera Expert

Thanks for this - it was helpful.  The only thing I would add is if you don't want a title for that section of the form, you will need to name the field as spaces otherwise it will show text above your logo.  For example, I initially named the html field "Logo" and that made the word Logo appear above our graphic.  The field is mandatory, so I changed it to two spaces and that worked.

 

find_real_file.png

Instead of making the field name empty spaces, you can set the 'Heading style' on that article template field to:

 

display: none;
If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

LalaEA
Tera Contributor

Hi! I have a similar problem, but the difference is I don't want to create a new template but edit the logo from an old to a new. Grateful for tips 🙂