View Full Version : Remove the word galleries from category page
joejoe
Nov-12-2008, 07:08 AM
How can I remove the word "Galleries" from my category pages?
Ex. Suppose I have two categories, Apples and Oranges.
I click on Apples and the I get my page showing the various apples galleries but at the top, smugmug is putting "Apples Galleries". How can I remove the word galleries so I only see Apples or Oranges, depending on the category I click on?
Thanks
aaronbrown
Dec-04-2008, 06:55 PM
How can I remove the word "Galleries" from my category pages?
Ex. Suppose I have two categories, Apples and Oranges.
I click on Apples and the I get my page showing the various apples galleries but at the top, smugmug is putting "Apples Galleries". How can I remove the word galleries so I only see Apples or Oranges, depending on the category I click on?
Thanks
Bump.
Anyone have any info on this? I've searched but haven't found it yet.
Thanks,
Aaron Brown
www.aaronbrownphotos.com
aaronbrownphotos.smugmug.com
jfriend
Dec-04-2008, 07:05 PM
Bump.
Anyone have any info on this? I've searched but haven't found it yet.
Thanks,
Aaron Brown
www.aaronbrownphotos.com (http://www.aaronbrownphotos.com)
aaronbrownphotos.smugmug.com
Add this to your Bottom Javascript:
function RemoveGalleryWord()
{
this.innerHTML = this.innerHTML.replace(/ Galleries$/, "");
}
YE.onAvailable("subCatGalleryTitle", RemoveGalleryWord);
YE.onAvailable("galleryTitle", RemoveGalleryWord);
aaronbrown
Dec-04-2008, 07:15 PM
Add this to your Bottom javascript:
function RemoveGalleryWord()
{
this.innerHTML = this.innerHTML.replace(/ Galleries$/, "");
}
YE.onAvailable("subCatGalleryTitle", RemoveGalleryWord);
YE.onAvailable("galleryTitle", RemoveGalleryWord);
You're superfly tnt!
Thanks!
anglotexian
Dec-10-2008, 10:33 AM
Marvelous! I had also been trying to find a fix for this.
Is there some similar code to remove the word "Sub-Categories" from the title of sub-category pages?
jfriend
Dec-10-2008, 01:14 PM
Marvelous! I had also been trying to find a fix for this.
Is there some similar code to remove the word "Sub-Categories" from the title of sub-category pages?
You can use this script in your Bottom Javascript.
YE.onAvailable("subCatGalleryTitle", function() {this.innerHTML = this.innerHTML.replace(/ Sub-Categories/, "")});
anglotexian
Dec-10-2008, 06:52 PM
John, thanks again. Works like a charm!
Ian
swl.nh
Dec-11-2008, 05:54 PM
One more on this same topic - I am trying to remove "LancerMusic's Home" from above the "Bio Box" on my home page. I don't want anything there. Is that possible?
Thank you very much!
Steve
lancermusic.smugmug.com (http://lancermusic.smugmug.com)
jfriend
Dec-11-2008, 06:15 PM
One more on this same topic - I am trying to remove "LancerMusic's Home" from above the "Bio Box" on my home page. I don't want anything there. Is that possible?
Thank you very much!
Steve
lancermusic.smugmug.com (http://lancermusic.smugmug.com)
Add this to your CSS customization to get rid of the name:
#userName, #userHome {display:none;}
In the future, you can check out the FAQ (http://www.smugmug.com/help/customize-faq), item #23.
Also, if you want to do something about this:
http://content.screencast.com/users/jfriend/folders/Jing/media/60524078-2a6e-40bb-9604-5375e57db970/2008-12-11_1913.png
You may want to check out this thread (http://www.dgrin.com/showthread.php?t=111251).
swl.nh
Dec-15-2008, 08:50 AM
John,
Thank you very much for you help. I appreciate your time. I also put your code in to modernize the style picker - great stuff!
I'll be sure to read the faq next time - I could have sworn I looked for this info a few months ago when we first started the site...
Thank you!
Steve
PS - Sorry for the late reply. I'm up in New Hampshire, and we lost all power Thursday night. Still waiting for it to be restored (I'm at work now). Boy, do I appreciate heat and flushing toilets! :)
jfriend
Dec-15-2008, 09:03 AM
John,
Thank you very much for you help. I appreciate your time. I also put your code in to modernize the style picker - great stuff!
I'll be sure to read the faq next time - I could have sworn I looked for this info a few months ago when we first started the site...
Thank you!
Steve
PS - Sorry for the late reply. I'm up in New Hampshire, and we lost all power Thursday night. Still waiting for it to be restored (I'm at work now). Boy, do I appreciate heat and flushing toilets! :)
Good luck getting your power back on. I've seen the reports on the news (I'm in California) and that ice looks nasty.
We're just finally started to get some much needed winter rain (it poured last night and a lightning strike somewhere nearby shook the whole house).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.