No problem. Just helps me know how to pitch the changes. But they are simple….
So you are going to need 2 templates from the parent Reboot (4 if you include the mobile phone templates). These need to be copied into their equivalent home in the child theme. These are:
/templates/desktop/spHeadDesktop.php (and optionally the mobile version as well)
/templates/desktop/spTopicViewDesktop.php (and again – the mobile version)
1: Advanced Search Form
Open the spHeadDesktop template. Near the top you will see a definition block entitled ‘Search FORM – OBJECT DEFINITION‘. The second from last entry is named ‘searchIncludeDef‘ and is set to 1 by default. As you can see from the comment beside it – setting iot to 3 will force the form to default to posts and titles. Note also that this will slow searches a little.
2: Changing the Registration Form URL
This also requires a change to the spHeadDesktop template. Locate the template displat function that by default will be:
sp_RegisterButton('tagClass=spButton spRight', __sp('Register'), __sp('Register'));
You need to add an argument to this. It is named ‘link‘. Note the ampersand, no spaces. It has to be exact.
sp_RegisterButton('tagClass=spButton spRight&link=http://your-url-to-form', __sp('Register'), __sp('Register'));
Where – of course – the ‘your-url-to-form’ is replaced by the correct url.
3: Go To Top
This requires the spTopicViewDesktop.php template. The function you need to add is easy:
sp_GoToTop('tagClass=spRight spGoToTop&iconClass=spIcon', '', __sp('Go to top'));
About half way down the template you will find the comment ‘Start the ‘post’ section. This contains all of the display function calls that make up the post content area. Just looking at the function names you can easily see what component each one displays. You can place the go to top function wherever you prefer.