Where can I find the velocity template for dosearchsite.action Edited

I've found searchpanel.vm and search-results.vmd but both don't seem to be the correct ones or only parts of the rendered page.

 

1 answer

This widget could not be displayed.
Ann Worley Atlassian Team Jul 05, 2017

Please see Which vm file is the dosearchsite.action associated with?

TtheB's accepted answer was "You will find them in xwork.xml, which can be extracted from atlassian-confluence-x.x.x\confluence\WEB-INF\lib\confluence-x.x.x.jar"

Thanks for the hint. However, the 'xwork.xml' does not contain a reference to 'dosearchsite.action'.

Must be a special case...

Ann Worley Atlassian Team Jul 05, 2017

I found a reference to dosearchsite.action in <confluence_install>/confluence/template/includes/menu-macros.vm:

<form id="quick-search" class="aui-quicksearch dont-default-focus header-quicksearch" action="$req.contextPath/dosearchsite.action" method="get">

Does that help?

Sorry, the quicksearch is a starting point to navigate to dosearchsite.action but not actually the template.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

199 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you