Rename Profile & change link

Aug 29, 2007 14:04

I've been looking for a while, but can't seem to find the correct post if it's already been answered. I am using expressive with theme Minimalist Blue. I was wondering if I could change the the word "Profile" on the profile module and change it to link to something else other than my LiveJournal Profile.

Thank you,

Johnny

sidebar:profile, s2:theme layer, $acct level:paid or perm

Leave a comment

av8rmike August 29 2007, 18:56:03 UTC
It's pretty simple to alter, but you'll need to create a custom theme layer if you don't already have one. Then, just copy & paste:

function print_module_userprofile(string title, bool show_profile, bool show_userpic) {
var Page p = get_page();
if ($show_userpic and not $show_profile) {
if (defined $p.journal.default_pic) {
open_module("photo", $title, $p.journal.userpic_listing_url);
println """$p.journal.default_pic""";
close_module();
}
return;
}

if (not $show_profile and not $show_userpic) {
open_module("about-me", $title, $p.view_url{"userinfo"}, true);
close_module(true);
return;
}

open_module("about-me", "NEW TITLE", "http://NEW URL");
print """
$p.journal.default_pic\n\n""";
println """""";
println """$p.journal""";
println """$p.journal.name""";
if ($p.journal.website_url != "") {
var string website_value = $p.journal.website_name ? $p.journal.website_name : $*text_website_default_name;
println safe """ $website_value""";
}
println """""";
close_module();
}Change the red text (in caps) to your desired title and link URL.

Reply


Leave a comment

Up