hello, I have search limited to members only and i was wondering if there is a way to have it say "Please Login or Join to search" or something like that when a non member clicks the search tab.
hello, I have search limited to members only and i was wondering if there is a way to have it say "Please Login or Join to search" or something like that when a non member clicks the search tab. SGeeZyyy |
i cant remember but what comes up when a none member clicks on the link
get that wording then search for it in languages and change there but keep a copy incase you need to back up sorr i have never done this before but the theary is sound
|
Hello! 1. open the: search.php 2. find this code line : $_page_cont[$_ni]['page_main_code'] = $oSearchView->getCode(); 3. and replace with: $_page_cont[$_ni]['page_main_code'] = !isLogged() ? login_form( _t( "_LOGIN_OBSOLETE" ), 0, false ) : $oSearchView->getCode();
PS: If possible do not write me personally, please try to ask on the forum first |
Hey WESWAYS, well for me it will just be blank space doesnt say anything
Sasha!!! Thank you so much for the help, but i have one more question. The way you told me was if they actually put something in the search field and search something (i used it by the way great idea). since my website has a separate "search" tab on top is there any way to to make it do the same thing and go to the login for when they click on the search tab? SGeeZyyy |