The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Get immediately to the advanced search?

View previous topic View next topic Go down

Solved Get immediately to the advanced search?

Post by Bigtuber on March 29th 2016, 2:17 pm

Technical Details


Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : All members
Forum link : http://kingsroadforum.forumieren.com/

Description of problem

Hello,

first I want to say that I couldn't find anything about this in the search.

It is possible to get immediately to the advanced search, if you click "Search" on the navbar?
So it shouldn't come the little pop-up search.


Thanks in advance and best regards


Last edited by Bigtuber57 on April 3rd 2016, 3:18 am; edited 3 times in total
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur on March 29th 2016, 3:26 pm

Hi,

Add the script below to javascript codes management with placement in all the pages.
Code:
$(function() {
  var search = $('a.mainmenu[href^="/search"]')[0];
  if (search) search.onclick = null;
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on March 29th 2016, 7:52 pm

Thanks Ange,

works perfectly! Smile


Edit: Do you have the code for the sticky navbar too? Very Happy
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by SLGray on March 29th 2016, 8:16 pm

Code:
  $(function() {
  var search = $('fa_sticky_nav a.mainmenu[href^="/search"]')[0];
  if (search) search.onclick = null;
  });


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40171
Reputation : 2713
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on March 30th 2016, 2:52 pm

Hey @SLGray

unfortunalety that doesn't work. ( I also thought that will work, but nothing :o )
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Draxion on March 30th 2016, 3:22 pm

Hello there,

Just follow this link to the Navbar Sticky.

Regards.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1696
Reputation : 223
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on March 30th 2016, 5:25 pm

Draxion wrote:Hello there,

Just follow this link to the Navbar Sticky.

Regards.

Huh?
I already have the sticky navbar, but I try to get immediately to the advanced search, if I click on "Search" on the sticky navbar.
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Draxion on March 30th 2016, 6:05 pm

Oh my bad. Disregard that post then. Sorry, misread the topic.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1696
Reputation : 223
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on April 1st 2016, 3:28 pm

Bump Smile
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur on April 1st 2016, 5:01 pm

Hey,

Sorry for the delay, replace the script I gave you with this one :
Code:
$(function(){$(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search.onclick = null;
  }
})});
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on April 1st 2016, 10:59 pm

Hey Ange,

no problem. Smile

Unfortunalety that script does not change anything. (Yep I placed in all the pages)



Best regards
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by SLGray on April 1st 2016, 11:01 pm

Are members the only ones allowed to see the search link in the navigation bar? I do not see it.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40171
Reputation : 2713
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on April 2nd 2016, 5:00 am

Hey @SLGray

Yea they were the only ones, but I changed it to guests till this problem is solved. Smile
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur on April 2nd 2016, 6:59 pm

That's odd. Delete the script I gave you, and then proceed to edit your sticky navigation script. Paste this script at the top of the sticky nav :
Code:
$(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search.onclick = null;
  }
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on April 2nd 2016, 11:00 pm

Hi Ange,

unfortunalety that doesn't work too. Sad



I paste latest script you gave me at the top of the sticky navbar script but nothing. (And yes, the other scripts are deleted)


Strange?
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur on April 2nd 2016, 11:22 pm

Sorry, I made a small mistake in the loop. Replace the script with this :
Code:
$(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search[i].onclick = null;
  }
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on April 3rd 2016, 12:16 am

Hi Ange,

now it goes immediately to the advanced serach on the normal navbar.
But on the sticky navbar, the search pop up appears again. Crying or Very sad
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Ange Tuteur on April 3rd 2016, 12:20 am

You placed it in the same script as the navbar, correct ? If so, it should have worked. Think

Use this as a last resort :
Code:
$(window).load(function(){
  for (var search = $('a.mainmenu[href^="/search"]'), i = 0, j = search.length; i < j; i++) {
    search[i].onclick = null;
  }
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13175
Reputation : 2876
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by Bigtuber on April 3rd 2016, 3:17 am

Heya Ange,

with your last script it works Smile

Solved. banana
avatar
Bigtuber
Forumember

Male Posts : 263
Reputation : 19
Language : German, English
Location : Germany

http://kingsroadforum.forumieren.com/

Back to top Go down

Solved Re: Get immediately to the advanced search?

Post by brandon_g on April 3rd 2016, 4:58 pm

Thanks for your awesome help @Ange Tuteur . Very Happy

Topic solved and archived ~ brandon_g


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 5935
Reputation : 547
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum