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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

800 views 23 12
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