Custom field in Knowledge Base | link and or button

Avatar
  • updated
  • Answered
HI all.  Amazing evolution of UserEcho.  I remember it back in the early days and this is profoundly better.  :)

Is it possible to use the custom field capability to allow me to plop a url into the KNowledgebase custom field area and have it show up as a hyperlink or a button?  I tried it and the url didn't parse.  I know I can bring in my own css to do the button, the hyperlinking just seems to be my initial question.
Pinned replies
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Answered
Quote from Pantry Wiki
Neato.  Thanks for hearing me out.  :)
Hello,
We've added custom field's type "URL". Input a link to specified page and it will be shown like a link in the topic.
Avatar
Sergey Stukov co-founder
  • Answered
You can insert link or button directly in the knowledgebase topic.

For example to create button, switch to view source mode and paste following snippet to the corresponding position.

<a href="http://your.link" class="btn btn-default">More details</a>
Avatar
Pantry Wiki
Sure, that's definitely an option but ideally is it possible to use the custom field instead?  This way I do not have to always remember the class and fiddle with the code and positioning and etc.

Just a custom field that allowed html would be terrific.
Avatar
Sergey Stukov co-founder
  • Under review
Quote from Pantry Wiki
Sure, that's definitely an option but ideally is it possible to use the custom field instead?  This way I do not have to always remember the class and fiddle with the code and positioning and etc.

Just a custom field that allowed html would be terrific.
We consider about adding such feature today
Avatar
Pantry Wiki
Neato.  Thanks for hearing me out.  :)
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Answered
Quote from Pantry Wiki
Neato.  Thanks for hearing me out.  :)
Hello,
We've added custom field's type "URL". Input a link to specified page and it will be shown like a link in the topic.
Avatar
Pantry Wiki
Very cool guys.  Impossibly fast code addition. Very impressive. 
Avatar
Pantry Wiki
The link is very nice, however a raw html field would work better for me.  In a perfect world I plan on having 2 buttons using css and font awesome and maybe some other minor things so being able to write some of my own html is ideal.  Maybe that way people can do their own minor customizations to the Knowledge Base without having to have you guys code additional stuff in?

Just an idea.  Thanks for being so responsive.  :)
Avatar
Vladimir Mullagaliyev co-founder
Quote from Pantry Wiki
The link is very nice, however a raw html field would work better for me.  In a perfect world I plan on having 2 buttons using css and font awesome and maybe some other minor things so being able to write some of my own html is ideal.  Maybe that way people can do their own minor customizations to the Knowledge Base without having to have you guys code additional stuff in?

Just an idea.  Thanks for being so responsive.  :)
Hello, 
You are able to write your own HTML on a article BODY :)
We have some solution for you if still need it. If you want to add two buttons:
1. You are able to add 2 fields with two links.
2. Hide them through Custom CSS. The will be hidden by default for users.
3. Add a Custom Script module. Check that this page is topic page. Find and convert this hidden links to your style buttons on page load.

If you want to implement try to do this steps. If you will need a help feel free to ask us.