Browse.php Extended - Add/Remove Fields

I would very much appreciate assistance in how to change the fields that are displayed on the browse.php extended screen.

SV

Quote · 13 Nov 2010

the template keys can be moved/removed in templates/base/search_profiles_ext.html

keys are made in templates\base\scripts\BxBaseSearchProfile.php

a key is defined as __key__  in the template page  which is in the templates/base folder

so you will write php:

$id = _t("_ID").": ".$aProfileInfo['ID'];

then look further in the file to see the keys array

$aKeys = array( id' => $id,);   <<< $id was defined above

so now you can use __id__ in the template file and now woot you have a new key.

If your confused, sorry it takes a little while to wrap your head around it, but once you see it, it's really simple to understand.

You define something. $id ="lol";

You add it to the array of keys usually a few lines below id' => $id,

You put it into the template file.

Have fun.

I have video tutorials to help you mrpowless.com
Quote · 13 Nov 2010

Thank you!  I tried to view your video on predefined values, but the link that was posted in another forum post would not open.

Quote · 14 Nov 2010

Thank you mrpowless!  Worked perfectly.  I even ventured into adding the 2nd person age and location when there is a couple profile.

Quote · 15 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.