Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-06-07 21:30:27

mario2000
Member
From: Spain
Registered: 2012-05-04
Posts: 190
Website

Change Search Avanced

Hi

I want to change the search box (in community) to show by defoult the ful form (avansed search).
I have found this code at /templates/default-black-orange/community.tpl.php , but I dont know how to change.

	<script type="text/javascript">
	$(document).ready(function() {
		$("input[id='search-advanced']").click(function() {
			if ($("#search-advanced-container").is(":visible")) {
				$("#search-advanced-container").hide();
				$(this).val('ADVANCED');
			} else {
				$("#search-advanced-container").show();
				$(this).val('BASIC');
			}
		});
	});
	</script>

Thanks for your help.


Brutal Porn Videos - Brutal5.org
Peliculas Online - PepeCine
Filme Online Romana - Filme5

Offline

#2 2013-06-08 14:40:15

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Change Search Avanced

Edit templates/youte-template/community.tpl.php and find:

<div id="search-advanced-container" style="display: none;">

replace with:

<div id="search-advanced-container">

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-06-10 16:48:26

mario2000
Member
From: Spain
Registered: 2012-05-04
Posts: 190
Website

Re: Change Search Avanced

Thanks.


Brutal Porn Videos - Brutal5.org
Peliculas Online - PepeCine
Filme Online Romana - Filme5

Offline

Board footer

Powered by FluxBB