Hi Guys,
I'm helping a client setup a basic confluence site and they have asked about embedding some HTML. It seems very easy in a server based installation, but more problematic in a cloud version.
Specifically, they are after two a google search box (that searched the internet not the confluence site).
I downloaded an add-in that enable embedding html. Is that the best way to do this given these guys are a cloud instance?
I'm also struggling to find the right code that will allow a google search. Can't believe it's not plastered everywhere!
Assistance would be appreciated.
Hi Damian,
I've just had a go and have got a search box working using the HTML macro included in our add-on, Macro Toolbox for Cloud (https://marketplace.atlassian.com/1215202). I've tested it in Chrome/IE11, attached the code I used and a screenshot of how it looks.
Let me know how you go, happy to help with any issues
<form method="get" class="aui" action="https://www.google.com/search" target="_blank"> <input class="text long-field" type="text" name="q" placeholder="Enter your Google search"> <button type="submit" class="aui-button aui-button-primary">Search</Button> </form>
google-search-example.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.