by funmediapicture » Sun Apr 17, 2011 6:21 pm
Hello,
lucy has right. But this are already exists.
In advanced_search.php after: <?include("../inc/header.php");?>
you found this entry:
$d=1;
if(isset($_GET["d"])){$d=$_GET["d"];}
if($d==""){$d=1;}
Change the first $d=1; to $d=2;
If you want that it's pointing always to video also when the link with the d= are
empty, so change also:
if($d==""){$d=1;}
to:
if($d==""){$d=2;}
The links are defined at the bottom of the page:
<li <?if($d==2){echo("class='activno'");}?>><a href="advanced_search.php?d=2"><?=word_lang("video")?></a></li>
and
<?if($d==2){include("advanced_search_video.php");}?>
If you will not modify advanced_search.php but only insert the d=2 into the link.
This are stored in:
template/box_search.tpl
demo link from template 16
<div id="search_advanced"><a href="{SITE_ROOT}members/advanced_search.php" class="small">{WORD_ADVANCED_SEARCH}</a></div>
Greetings
Alfred