Skip to main content
Skip to login
Skip to sign up
Skip to menu
Facebook
Twitter
Youtube
Log in
Sign up
Home
Community Builder
Add-ons
CB Quickstart
CB Paid Subscriptions
CB Activity
CB Gallery
CB GroupJive
CB Auto Actions
More ...
Memberships
Demo
Downloads
News
Featured
Releases
Blog
Support
Resources
Localization
Documentation
Videos
Forge
About Us
Help Me
Help Us Help You
FAQ
Forums
Warranty
Contact Us
Index
Recent Support Topics
New Support Topics
Recent Topics
Etiquette
Search
Index
Recent Support Topics
New Support Topics
Recent Topics
Etiquette
Search
Forums
Archive
CB
CB 1.0
Feature Requests
userlist with columns
userlist with columns
Start
Prev
1
2
3
4
5
Next
End
1
2
3
4
5
Dionysus
OFFLINE
Senior Member
Posts: 69
Thanks: 0
Karma: 3
17 years 2 months ago
#30538
by
Dionysus
Replied by
Dionysus
on topic
Re:userlist with columns
I looked at the first part, but it seems the project stopped:
I got the 2nd solution working, but it doesn't explain making borders.
Or How can I create the same output as the plug_connections
Attachments:
Please
Log in
to join the conversation.
zen
OFFLINE
Premium Member
Posts: 105
Thanks: 5
Karma: 1
17 years 2 months ago
#30540
by
zen
Replied by
zen
on topic
Re:userlist with columns
In my case, I surrounded the suggested (2nd) code with a table and stylized the table with CSS and so on.
I believe you can stylize the inner <tr> accordingly to meet your needs as well.
Please
Log in
to join the conversation.
Dionysus
OFFLINE
Senior Member
Posts: 69
Thanks: 0
Karma: 3
17 years 2 months ago
#30541
by
Dionysus
Replied by
Dionysus
on topic
Re:userlist with columns
Can I ask you for a example??
I'm not well verse in coding.
Please
Log in
to join the conversation.
zen
OFFLINE
Premium Member
Posts: 105
Thanks: 5
Karma: 1
17 years 2 months ago
#30544
by
zen
Replied by
zen
on topic
Re:userlist with columns
i.e. surround the code with a table like below;
[code:1]<table class="usertable" cellspacing="0" cellpadding="10">
<?php
$i = 1;
foreach($users as $user) {
$endofrow= 0;
//print $user->name;
if($ueConfig==1) {
$onclick = "onclick=\"javascript:window.location='".sefRelToAbs("index.php?option=com_comprofiler&task=userProfile&user=".$user->id)."'\"";
$style="style=\"cursor:hand;cursor:«»pointer;\"";
}
//print $lfields;
$str = null;
eval("\$str = \"$lfields\";"«»);
echo $str. "\n";
$oneintwo = $i % 5;
if ($oneintwo == 0) {
print "\t</tr><tr>\n";
$endofrow= 1;
}
$i++;
}...[/code:1]
And, in your CSS,
[code:1].usertable
{
border: solid 1px #000000;
padding: 5px;
}[/code:1]
That's the basic idea. Play around with your attributes in CSS to get the look you are after.
Please
Log in
to join the conversation.
Dionysus
OFFLINE
Senior Member
Posts: 69
Thanks: 0
Karma: 3
17 years 2 months ago
#30548
by
Dionysus
Replied by
Dionysus
on topic
Re:userlist with columns
Thank you very much!!!
Please
Log in
to join the conversation.
mossimo
OFFLINE
New Member
Posts: 6
Thanks: 0
Karma: 0
17 years 2 months ago
#30549
by
mossimo
Replied by
mossimo
on topic
Re:userlist with columns
Thanks also!!!!
Please
Log in
to join the conversation.
Start
Prev
1
2
3
4
5
Next
End
1
2
3
4
5
Moderators:
beat
,
nant
,
krileon
Forums
Archive
CB
CB 1.0
Feature Requests
userlist with columns
Time to create page: 0.265 seconds
Powered by
Kunena Forum
Search
Login / Logout
Remember Me
Log in
Menu
Home
Community Builder
Add-ons
CB Quickstart
CB Paid Subscriptions
CB Activity
CB Gallery
CB GroupJive
CB Auto Actions
More ...
Memberships
Demo
Downloads
News
Featured
Releases
Blog
Support
Resources
Localization
Documentation
Videos
Forge
About Us
Help Me
Help Us Help You
FAQ
Forums
Warranty
Contact Us
User Menu
Forgot Login
Sign Up