editing user profiles, excluding features
Permalink 1 user found helpful
Hi I have been searching through the concrete files trying to figure out where the $innerContent comes from, I found /concrete/singlepages/profile and the friends, avatar etc files.
I want to take away the friends and search members parts. I have searched the forum, but I have been stuck on this all week. Any ideas?
Thanks
Gary
I want to take away the friends and search members parts. I have searched the forum, but I have been stuck on this all week. Any ideas?
Thanks
Gary
Forgot to say, I know the view.php holds the £innerContent, I want to know where the code for the innerContent is so I can stop it displaying the friends and search members page, would be great to have these options on the Dashboard as tick boxes!
Look in here:
root > concrete > single_pages > profiles > view.php. You'll also find the friends.php and other associated files in here.
root > concrete > single_pages > profiles > view.php. You'll also find the friends.php and other associated files in here.
Thanks cannon but I have already looked, I want to comment out what I guess will be an include to the friends.php file, but I can't find any reference to it!
go to the sitemap, and remove the page friends, simple as that,
thanks, that was too easy! But what about the search members bit?
try editing the member.php file in the single_pages folder. I found this line of code in there. maybe if you remove it the search feature will also disappear.
<form method="get" action="<?php echo DIR_REL?>/<?php echo DISPATCHER_FILENAME?>">
Search
<input type="hidden" name="cID" value="<?php echo $c->getCollectionID()?>" />
<input name="keywords" type="text" value="<?php echo $keywords?>" size="20" />
<input name="submit" type="submit" value="<?php echo t('Search')?>" />
</form>
<form method="get" action="<?php echo DIR_REL?>/<?php echo DISPATCHER_FILENAME?>">
Search
<input type="hidden" name="cID" value="<?php echo $c->getCollectionID()?>" />
<input name="keywords" type="text" value="<?php echo $keywords?>" size="20" />
<input name="submit" type="submit" value="<?php echo t('Search')?>" />
</form>
Found It:
root/concrete/elements/profile/sidebar.php
root/concrete/elements/profile/sidebar.php
Perfect thanks for your help!