about connections list on profile

14 years 1 month ago #127015 by standartt
about connections list on profile was created by standartt
i apologise to all for my bad english.

my problem is about list of connections on profile.

when any user view his/her own profile,
he/she is viewing his/her own connections like this:


i dont want to show connections like this.

i want to show connections with ul list ( <ul> <li> )


how can i edit this tab.
please emergancy help.

Please Log in to join the conversation.

14 years 1 month ago #127066 by krileon
Replied by krileon on topic Re:about connections list on profile
That is how connections are styled, you'd need to edit components/com_comprofiler/plugin/user/plug_cbconnections/cb.connections.php for a completely different layout, but using CSS should allow you to achieve for the most part what you're wanting.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 1 month ago #127129 by standartt
Replied by standartt on topic Re:about connections list on profile
which codes in cb.coonections.php i have to edit.

or how can i edit css file? wich file and wich code and where?

cant u give me a example code css and php.

Please Log in to join the conversation.

14 years 1 month ago #127174 by standartt
Replied by standartt on topic Re:about connections list on profile
ok. i've been found and working on it now.

else if u have any offer i will be happy for read.

Please Log in to join the conversation.

14 years 1 month ago #127181 by standartt
Replied by standartt on topic Re:about connections list on profile
i guess i have to edit this place. but how? my all changes on this code is not working.
[code:1] if ( $_CB_framework->myId() == $user->id ) {
$return .= "<div class=\"connectionBox\" style=\"position:relative;height:" . ( $boxHeight + 24 ) . "px;width:" . $boxWidth . "px;\">" . "<div style=\"position:absolute; top:3px; width:auto;left:5px;right:5px;\">" . $actionIMG . '</div>' . "<div style=\"position:absolute; top:18px; width:auto;left:5px;right:5px;\">" . $tooltipAvatar . '</div>' . "<div style=\"position:absolute; bottom:0px; width:auto;left:5px;right:5px;\">" . $onlineIMG . " " . getNameFormat( $connection->name, $connection->username, $ueConfig ) . "<br /><a href=\"" . cbSef( "index.php?option=com_comprofiler&amp;task=userProfile&amp;user=" . $connection->memberid ) . '"><img src="' . $live_site . "/components/com_comprofiler/images/profiles.gif\" border=\"0\" alt=\"" . _UE_VIEWPROFILE . "\" title=\"" . _UE_VIEWPROFILE . "\" /></a> " . $emailIMG . " " . $pmIMG . "\n";
} else {
$return .= "<div class=\"connectionBox\" style=\"position:relative;height:" . $boxHeight . "px;width:" . $boxWidth . "px;\">" . "<div style=\"position:absolute; top:10px; width:auto;left:5px;right:5px;\">" . $tooltipAvatar . '</div>' . "<div style=\"position:absolute; bottom:0px; width:auto;left:5px;right:5px;\">" . $onlineIMG . " " . getNameFormat( $connection->name, $connection->username, $ueConfig ) . "\n";
}
$return .= "</div></div>\n";
}
$return .= "<div style=\"clear:both;\">&nbsp;</div>";

// Add paging control at end of list if paging enabled[/code:1]

i just want to do this:


please help

Please Log in to join the conversation.

14 years 1 month ago #127259 by krileon
Replied by krileon on topic Re:about connections list on profile
Correct, that is what you need to edit to achieve what you're wanting. Sorry, but we do not support core edits and can not advise you on editing the core file.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.236 seconds

Facebook Twitter LinkedIn