Login     Sign up
Moving the "DETAILS" to over the "Status Update" box on a profile?
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

I am looking to move the "About Me" of profiles around on profiles, ideally above the Status Update box, and I was wondering if anyone could help?

I have tried everything on moving or duplicating the Description Edit code and About me box, but nothing ever changes.

Also, how to you create fields (Text Boxes) for your profile? I thought the code would be the exact same as an About Me box, but I keep getting an error once I upload to a server.

Thanks!

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

not sure this is what you want

edit pages.inc.php, located in includes\libs

function index

below line

[code]
$config['theme'] = 'themes/default/profile.tpl.php';
[/code]

insert this

[code]
if ($page['type']=='u') {
section(array('title' => 'About me', 'content' => $owner['about_me']));
}
[/code]

173 months ago
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

Ill try, thanks!

173 months ago
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

Ok well, I insert the code and still no bio above status update and profile streams. possible different way?

FYI, I am using the Blue theme. would it be in the "u" module?

the goal is the get the "About Me" of a user front and center on the page.

i am coming up empty handed

173 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

[quote=theartistconnect]Ok well, I insert the code and still no bio above status update and profile streams. possible different way?

FYI, I am using the Blue theme. would it be in the "u" module?

the goal is the get the "About Me" of a user front and center on the page.

i am coming up empty handed [/quote]

It works mate just follow Falcones directions I have done it in blue theme free version and it works mint..

173 months ago
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

Ok this is weird, but I dont have a page.inc in my libs. yet my site could function.

Any help with this now?

these are the only things in my libs:
apps
bbcode
common
db
resizeimage
ss
story

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

you are still using version 3.3 ?

173 months ago
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

I believe I am on 4. I am using the version that introduced events, the newest.

173 months ago
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

Ok I am still on 3.3.

Let me attempt an install and see

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

in 3.3 the code is

[code]
section(array('title' => 'About me', 'content' => $profile['about_me']));

[/code]

in modules\u\u.php, function index.

just this line, without the if statement,

and below this line

[code]
$config['theme'] = 'themes/default/profile.tpl.php';
[/code]

173 months ago
Thomas Ramsey (@theartistconnect)
Join date: Oct 27th 2010
Community posts: 38
View Profile
Send Message

Still no luck, the about me box is still sitting on the left and not above the "quick share". I put in the code as your said below that one line...i am so confused

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

yes, off course, now it shows up it the profile.

the quick share is in the dashboard

so, file modules\dashboard\dashboard.php function index

insert this line

[code]
$lblocks[] = array('title' => t('About me'),'content'=>$client['about_me']);
[/code]

above the line

[code]
$lblocks[] = array('content'=>stream_form($client['id']).'<div style="height:7px"></div>');
[/code]

173 months ago
1 2 3 Next