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

0 votes
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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

919 views 13 11
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