Joomla/Community Builder search criteria til header

Her kan du få hjælp og stille spørgsmål til Joomla!!
Besvar
Honks
Begynder
Indlæg: 12
Tilmeldt: 20. okt 2015, 21:53

Joomla/Community Builder search criteria til header

Indlæg af Honks » 23. nov 2015, 18:03

Prøver at få community builder search criteria til header og kan jeg bare tage koden fra min middle og putte det ind i min header.?
Er det helt forkert, vil det ikke virke i længden eller er der en anden måde at skrive koden på så det vil virke.?
Min search criteria er ind under search user button.
http://www.testingmynewsite.com/

Kode: Vælg alt

<div class="cbUsersList cb_template cb_template_default">
<form id="adminForm" class="cb_form form-auto cbValidation" name="adminForm" method="get" action="http://localhost:8000/joomla/index.php?option=com_comprofiler&view=userslist&listid=1&Itemid=122" novalidate="novalidate">
<input type="hidden" value="com_comprofiler" name="option">
<input type="hidden" value="userslist" name="view">
<input type="hidden" value="122" name="Itemid">
<input type="hidden" value="0" name="limitstart">
<input type="hidden" value="0" name="searchmode">
<input type="hidden" value="" name="search">
<input type="hidden" value="cbm_59bd3ef3_46488728_8a4837192e482fb6220de515a7355caa" name="cbsecuritym3">
<div class="cbUserListSearch" style="display: block;">
<div class="cbUserListSearchFields">
<div id="cbtf_listsearch" class="cbFieldsContentsTab">
<div id="cbfr_55" class="sectiontableentry1 cbft_select form-group cb_form_line clearfix">
<label id="cblabcb_car" class="control-label col-sm-3" for="cb_car">car</label>
<div class="cb_field col-sm-9">
<div id="cbfv_55">
<div class="cbSearchContainer cbSearchSimple">
<div class="cbSearchCriteria">
<select id="cb_car" class="form-control" name="cb_car">
<option id="cb_car__cbf0" value="">No preference</option>
<option id="cbf1" value="audi">audi</option>
<option id="cbf2" value="bmw">bmw</option>
<option id="cbf3" value="citroen">citroen</option>
<option id="cbf4" value="ford">ford</option>
<option id="cbf5" value="mercedes">mercedes</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div id="cbfr_56" class="sectiontableentry2 cbft_select form-group cb_form_line clearfix">
<label id="cblabcb_cookies" class="control-label col-sm-3" for="cb_cookies">cookies</label>
<div class="cb_field col-sm-9">
<div id="cbfv_56">
<div class="cbSearchContainer cbSearchSimple">
<div class="cbSearchCriteria">
<select id="cb_cookies" class="form-control" name="cb_cookies">
<option id="cb_cookies__cbf0" value="">No preference</option>
<option id="cbf6" value="amagerstang">amagerstang</option>
<option id="cbf7" value="bolcher">bolcher</option>
<option id="cbf8" value="citronkage">citronkage</option>
<option id="cbf9" value="drømmekage">drømmekage</option>
<option id="cbf10" value="ekstrakage">ekstrakage</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div id="cbfr_57" class="sectiontableentry1 cbft_select form-group cb_form_line clearfix">
<label id="cblabcb_bike" class="control-label col-sm-3" for="cb_bike">bike</label>
<div class="cb_field col-sm-9">
<div id="cbfv_57">
<div class="cbSearchContainer cbSearchSimple">
<div class="cbSearchCriteria">
<select id="cb_bike" class="form-control" name="cb_bike">
<option id="cb_bike__cbf0" value="">No preference</option>
<option id="cbf11" value="abike">abike</option>
<option id="cbf12" value="bbike">bbike</option>
<option id="cbf13" value="cbike">cbike</option>
<option id="cbf14" value="dbike">dbike</option>
<option id="cbf15" value="cbike">cbike</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div id="cbfr_58" class="sectiontableentry2 cbft_select form-group cb_form_line clearfix">
<label id="cblabcb_toys" class="control-label col-sm-3" for="cb_toys">toys </label>
<div class="cb_field col-sm-9">
<div id="cbfv_58">
<div class="cbSearchContainer cbSearchSimple">
<div class="cbSearchCriteria">
<select id="cb_toys" class="form-control" name="cb_toys">
<option id="cb_toys__cbf0" value="">No preference</option>
<option id="cbf16" value="atoys">atoys</option>
<option id="cbf17" value="btoys">btoys</option>
<option id="cbf18" value="ctoys">ctoys</option>
<option id="cbf19" value="dtoys">dtoys</option>
<option id="cbf20" value="etoys">etoys</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="form-group cb_form_line clearfix">
<div class="col-sm-offset-3 col-sm-9">
<input class="btn btn-primary cbUserlistSubmit" type="submit" data-submit-text="Loading..." value="Find Users">

</div>
</div>
</div>
</div>
</form>
</div>
a.jpg
a.jpg (172.84 KiB) Vist 2272 gange

Besvar