Skip to main content

Hi everybody,

 

I was wondering if anyone of you managed to add a favicon to K2 SmartForms.

 

Would be great if you could share your knowledge!

 

Thanks,

Markus

Hi Markus,

 

You can add a favicon in smartforms but it will be on all of the forms you have

 

If you go to C:Program Files (x86)K2 blackpearlK2 Smartforms RuntimeRuntimeForms.aspx

 

add the following in the head section:

 

<link rel="shortcut icon" href="http://www.artic.edu/webspaces/portal/irfm/favicon.ico" />

**Change the URL  and set you Icon URL

 

**Perform IISRESET

 

**Take backup before editing the file

 

If you want to apply a favicon on views too, in the same path, find "Views.aspx" and add the above HTML in the head section

 

I'm not sure if you can apply this on a specific forms (dynamic), there could be a way to do it during runtime using Javascript, If I find out anything useful I'll let you know.

 

wish it helps 

 


Hi Mustafa,

 

I was able to implement the favicon using JavaScript and documented the solution in my blog.

 

Thanks to you for the hint!

 

Regards,

Markus

 

 


Reply