PDA

View Full Version : changing "name" to "home"


yldan
Feb-20-2007, 03:47 PM
I'm sure this is somewhere, but I've read the FAQ a couple times, and maybe I'm just dense... but I'm missing it.

I'd like to change where it says my name to the word "Home", so instead of:

Dan Nicholas > Porfolio > macro

it will read:

Home > Portfolio > macro

thanks for the help.
yldan.smugmug.com

Andy
Feb-20-2007, 04:40 PM
I'm sure this is somewhere, but I've read the FAQ a couple times, and maybe I'm just dense... but I'm missing it.

I'd like to change where it says my name to the word "Home", so instead of:

Dan Nicholas > Porfolio > macro

it will read:

Home > Portfolio > macro

thanks for the help.
yldan.smugmug.com
just make your first in control panel be "Home" :thumb

dogwood
Feb-20-2007, 04:42 PM
I'm sure this is somewhere, but I've read the FAQ a couple times, and maybe I'm just dense... but I'm missing it.

I'd like to change where it says my name to the word "Home", so instead of:

Dan Nicholas > Porfolio > macro

it will read:

Home > Portfolio > macro

thanks for the help.
yldan.smugmug.com
I think this is under "change your nickname" when you click on your control panel. EDIT: always listen to Andy-- not me!

Just a warning, though-- it makes for easier navigation but it also changes your name to "home". In other words, if something says, "Thanks for ordering Joe Blow's photos" it will now say "Thanks for ordering home's photos". Least that's the way it used to be. I ended up putting a "home" tab on my navbar and switching my nickname back to my name from the "home" nickname due to this.

Barb
Feb-20-2007, 05:03 PM
Or, you can add this to your footer code in your customization:

<*script type="text/javascript"*>
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>Dan Nicholas<', '>Home<');
objElement.innerHTML = str;
}<*/script*>

(Remove the red asterisks in the code)

richW
Feb-20-2007, 05:14 PM
Or, you can add this to your footer code in your customization:

<*script type="text/javascript"*>
var objElement = document.getElementById("breadcrumb")
if (objElement != null) {
var str = new String(objElement.innerHTML);
str = str.replace('>Dan Nicholas<', '>Home<');
objElement.innerHTML = str;
}<*/script*>

(Remove the red asterisks in the code) Thanks Barb.....I've been looking for that one...:barb

Barb
Feb-20-2007, 05:19 PM
Thanks Barb.....I've been looking for that one...:barb

You're welcome. I couldn't remember where it was either, to be honest - haha. Just need to remember to change this

str = str.replace('>Dan Nicholas<', '>Home<');

with your "displayed as" nickname.

NugBlazer
May-07-2007, 09:33 PM
You're welcome. I couldn't remember where it was either, to be honest - haha. Just need to remember to change this

str = str.replace('>Dan Nicholas<', '>Home<');

with your "displayed as" nickname.

WARNING! I just tried Barb's trick, and it worked. However, there must be a glitch, because it would NOT let me enter my galleries. I could enter sub-categories with no problem, and my name in the breadcrumb was indeed changed to the word "Home" like I wanted. However, when I tried to click on a gallery, any gallery, it would say that "Internet Explorer could not open the page. Operation aborted." and it would close the window.

As soon as I removed the code from my footer, everything went back to normal. What gives? I really want this to work, so any help would be appreciated.

BTW, I'm using IE7.

Thanks! :D

Barb
May-08-2007, 06:47 AM
WARNING! I just tried Barb's trick, and it worked. However, there must be a glitch, because it would NOT let me enter my galleries. I could enter sub-categories with no problem, and my name in the breadcrumb was indeed changed to the word "Home" like I wanted. However, when I tried to click on a gallery, any gallery, it would say that "Internet Explorer could not open the page. Operation aborted." and it would close the window.

As soon as I removed the code from my footer, everything went back to normal. What gives? I really want this to work, so any help would be appreciated.

BTW, I'm using IE7.

Thanks! :D

Hi :)

I've replaced the code that works now. We made a few changes internally a few weeks ago that broke the earlier code. I've fixed it for you. Can you let us know if it is causing any errors now?

Barb
May-08-2007, 06:57 AM
Hi :)

I've replaced the code that works now. We made a few changes internally a few weeks ago that broke the earlier code. I've fixed it for you. Can you let us know if it is causing any errors now?

It's not working, so give me a bit to find out why. I have removed the code for now.

Barb
May-08-2007, 07:33 AM
It's not working, so give me a bit to find out why. I have removed the code for now.

Well, I'm not sure why the new code won't work. It may have something to do with your domain. Not sure. I'll have someone else take a look.

NugBlazer
May-08-2007, 08:06 AM
Ok, thanks for looking into this Barb. Please give an update ASAP -- I'm eagerly awaiting whatever you find out. Thanks! :D

Barb
May-08-2007, 08:18 AM
Ok, thanks for looking into this Barb. Please give an update ASAP -- I'm eagerly awaiting whatever you find out. Thanks! :D

We'll get to it just as soon as we can :)

Barb
May-08-2007, 08:30 AM
Ok, thanks for looking into this Barb. Please give an update ASAP -- I'm eagerly awaiting whatever you find out. Thanks! :D

Okay, it's working now with updated code. We needed to change your display name to your name, not your nickname. Let us know if all is good.

NugBlazer
May-08-2007, 09:26 AM
Yes, it is working. :clap

I actually knew about doing it by changing my first name to "Home" but I heard that that can lead to other issues, so I decided against it. I did a search and found this thread with your code, which seemed like a better way of doing it.

So, now it seems that you've found yet ANOTHER way, buy changing my display name to my actual name.

My only question is: will this cause any account problems or issues? If not, then I think I'm all set.

Thanks for your help. "Help moddess" indeed. :D

Barb
May-08-2007, 09:31 AM
Yes, it is working. :clap

I actually knew about doing it by changing my first name to "Home" but I heard that that can lead to other issues, so I decided against it. I did a search and found this thread with your code, which seemed like a better way of doing it.

So, now it seems that you've found yet ANOTHER way, buy changing my display name to my actual name.

My only question is: will this cause any account problems or issues? If not, then I think I'm all set.

Thanks for your help. "Help moddess" indeed. :D

Hi,

You are welcome. It should not cause any problems. But, if for some reason it does, just holler!

vince71
Oct-13-2007, 07:36 PM
Hi All,

I've pasted the code from post #4 in order to change my name to home.

It works, as long as I'm not logged in, or if I view the gallery as an all thumbs gallery while logged in. Otherwise I get the IE "Operation Aborted" error.

I know from reading the thread that changes were made to the code, but are they reflected in what I cut and paste from the earlier post? If they are, then what am I doing wrong? :scratch

The gallery is: http://vinceamato.smugmug.com/gallery/2859224

Thanks for the help!

Vince