HomeUnityBlogs
 
 
Stellman2003

Couples Dual Photo

Friends,

I have tried in recent days to modify the lay-out of the pages of couples
to remove the photo in duplicity.
for married couples, there is a picture of him or her, but the picture of the couple.
I want feedback from friends and suggestions regarding the matter.
bad
4
good
 
 

Comments

mrpowless
mrpowless(positive) 105 days agocomment permalink
 
I would edit.
function showBlockPhoto

in templates/base/scripts/BxBaseProfileView.php
 
bad
0
good
 
 
Stellman2003
Stellman2003(positive) 103 days agocomment permalink
 
I thank the friend Topher:


Open /templates/base/scripts/BxBaseProfileView and find this code (around line 197)


function showBlockPhoto( $iCol, $bNoDB = false )
{
$iPID = 0;
if( $iCol == 1 ) {
$iPID = $this -> _iProfileID;
$sNickName = $this -> _aProfile['NickName'];
} elseif( $iCol == 2 ) {
if( !$this -> _aProfile['Couple'] )
return;

-

Change that code to this:


function showBlockPhoto( $iCol, $bNoDB = false )
{
$iPID = 0;
if( $iCol == 1 ) {
$iPID = $this -> _iProfileID;
$sNickName = $this -> _aProfile['NickName'];
} elseif( $iCol == 2 ) {return;
 
bad
0
good
 
 
frtaz
frtaz(positive) 82 days agocomment permalink
 
Looks goo like that. but when you look at your account info it still shows both of the heads. Where can I look to get rid of it there at?
 
bad
0
good
 
 


Post a Comment

Please login to post a comment.

This Post
 
 
Stellman2003 Blog
All Blogs
Found a bug? Have a suggestion? We really value your feedback!
 
© 2008 BoonEx Ltd
ABN 27 127 966 581
 
PET:0.504949092865