Hi when viewing all members, there is simple and there is extended. In the extended section it shows profiles sex,age, then country Flag, and then city.
Well i have pulled the country section out of my join in options because it is a site based in united states. I had the states module installed, so can someone tell where I can remove the flags part and put in the members state instead? I would like for the extanded view show only city and state.
It is a couples site so no need in sex or age, I took out the date of birth calender so thats gone, now i just have to remove the sex symbol and the country flag and put in state. is this possible?
I looked through the forums and couldnt quite find what i was looking for, so direction to the right one will work also,
Thanks
Derrick
Back to pulling my hair out! (ouch, ouch,ouch) |
Back to pulling my hair out! (ouch, ouch,ouch) |
Edit the file /templates/base/search_profiles_ext.html Take out the items you do not want included to show, you may have to experiment to get it just right. When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age. |
Edit the file /templates/base/search_profiles_ext.html Take out the items you do not want included to show, you may have to experiment to get it just right. When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.
Hey thanks, I removed age, and somehow it took out the flag, not sure why, because there wasnt a flag image in the code, but I wanted it gone anyway!
Ok, is there away that I can add in state to there? I'm not sure how to call it.
Derrick
Back to pulling my hair out! (ouch, ouch,ouch) |
Edit the file /templates/base/search_profiles_ext.html Take out the items you do not want included to show, you may have to experiment to get it just right. When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.
Hey thanks, I removed age, and somehow it took out the flag, not sure why, because there wasnt a flag image in the code, but I wanted it gone anyway!
Ok, is there away that I can add in state to there? I'm not sure how to call it.
Derrick
Actually make this change. Put bakc the search_profiles_ext.html file back to it's default settings (undo your changes).
Open templates/base/scripts/BxBaseSearchProfile.php
Find around line 109 this code $city_c alt= $sFlag . ' ' . $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );
replace it with
$city_con = $sCityName . _t(
$aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );
Save and upload, now you should have the city show without the country flag
|
Hey thanks Mauricecano!, That accually worked. removing"flag" gave me an error, but i just commented out just the flag part and it worked perfect.
now I'm off to see if i can put in the state
thanks Derrick
Edit the file /templates/base/search_profiles_ext.html Take out the items you do not want included to show, you may have to experiment to get it just right. When removing something remember you must remove the entire item, example to remove age it is displayed as __age__, you have to remove __age__ and not just age.
Hey thanks, I removed age, and somehow it took out the flag, not sure why, because there wasnt a flag image in the code, but I wanted it gone anyway!
Ok, is there away that I can add in state to there? I'm not sure how to call it.
Derrick
Actually make this change. Put bakc the search_profiles_ext.html file back to it's default settings (undo your changes).
Open templates/base/scripts/BxBaseSearchProfile.php
Find around line 109 this code $city_c alt= $sFlag . ' ' . $sCityName . _t( $aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );
replace it with
$city_con = $sCityName . _t(
$aPreValues['Country'][$aProfileInfo['Country']]['LKey'] );
Save and upload, now you should have the city show without the country flag
Back to pulling my hair out! (ouch, ouch,ouch) |
Ok, so under browse by country, I would like to change it from the values to the L key.
In other words I would like to show the full name instead of the abreviations.
Also while I am here I would like to remove or comment out the flags there also. I looked in /templates/base/scripts/BxBaseSearchProfile.php but couldn't really locate what I was looking for.
Any help would be great!
Derrick
Back to pulling my hair out! (ouch, ouch,ouch) |