PDA

View Full Version : Pipes and login link in footer...


rickshanahan
Jan-22-2008, 09:42 AM
Hi guys and gals...

I added the code to remove the pipes and the login link in my footer and they are still there. Would someone mind checking out my code and seeing if anything's wrong?

Thanks very much.

rickshanahan
Jan-23-2008, 12:31 PM
Nobody?

Hi guys and gals...

I added the code to remove the pipes and the login link in my footer and they are still there. Would someone mind checking out my code and seeing if anything's wrong?

Thanks very much.

coleygm
Jan-23-2008, 02:20 PM
Hi guys and gals...

I added the code to remove the pipes and the login link in my footer and they are still there. Would someone mind checking out my code and seeing if anything's wrong?

Thanks very much.

Not sure the code you used or where you put it, but if i'm not mistaken, it was a combination of a couple lines needed in both the CSS and Javascript areas. ...although you can't completley remove all of the footer that i've ever been able to figure out.

my Javascript section includes:
YE.onAvailable('toolbar', function(e) {
this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
});

and my CSS section includes:
#toolbar a.nav {display: none;}

all that being said, there are far more qualified people to answer this question...so hopefully someone will clarify and/or correct me.

rickshanahan
Jan-23-2008, 02:55 PM
Thanks...I just copy and pasted the code from the customization faq for removing the pipes and login link. I put it where I was supposed to, but they're still there...

Not sure the code you used or where you put it, but if i'm not mistaken, it was a combination of a couple lines needed in both the CSS and Javascript areas. ...although you can't completley remove all of the footer that i've ever been able to figure out.

my Javascript section includes:
YE.onAvailable('toolbar', function(e) {
this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
});

and my CSS section includes:
#toolbar a.nav {display: none;}

all that being said, there are far more qualified people to answer this question...so hopefully someone will clarify and/or correct me.

sacgarz
Jan-23-2008, 03:26 PM
Rick,

Here is what I found in the forums. This worked for me. I hope it is what you are looking for. PLEASE make backups of your CSS and Footer before applying these edits.

First, I supressed the original footer with this in my CSS:

#myFooter {
text-decoration:none;
text-align:center;
font-size: 90%;
}

#cobrand_footer {display: none !important;}

Next, I built my own with this in my footer under customization, ABOVE the script:

<div id="my_footer" align="center" class="nav" style="visibility: visible; display: block;">© 2007 KidCamSports<i> Any reproducion without express written consent of KidCamSports is strictly prohibited</i><br>

Powered by and portions © 2007
<span class="text"> by <a STYLE="text-decoration:none" href="http://www.smugmug.com/" class="nav" <FONT COLOR="#666666" >SmugMug</a></font>, Inc.

∣ <a STYLE="text-decoration:none" href="https://www.smugmug.com/login.mg?goTo=http%3A%2F%2Fwww.kidcamsports.smugmu g.com%2F&PartnerID=18" <FONT COLOR="#666666">login</a></font>

∣ <a STYLE="text-decoration:none" href="https://www.smugmug.com/visitor-help/"target="_blank"<FONT COLOR="#666666">help</a></FONT>

∣ <a STYLE="text-decoration:none" href="/gallery/3676426" <FONT COLOR="#666666">contact us</a></font>

Notice the pipes as a text/font element. This is for my links in my footer. Keep in mind that this info: Powered by and portions © 2007 by SmugMug (http://www.smugmug.com/), Inc. is required. The LOGIN link is for MY login, go to your login page copy YOUR link and paste THAT link in this code so it navigates to the proper page. You can see my footer at: http://www.kidcamsports.com.

This method may be a bit cludgy, there might be a better way out there. :barb

Good Luck.

Andy G.

rickshanahan
Jan-24-2008, 04:32 AM
Thank you! I may give that a go when I get home tonight.

I AM curious why the method given in the FAQ didn't work though...

Rick,

Here is what I found in the forums. This worked for me. I hope it is what you are looking for. PLEASE make backups of your CSS and Footer before applying these edits.

First, I supressed the original footer with this in my CSS:

#myFooter {
text-decoration:none;
text-align:center;
font-size: 90%;
}

#cobrand_footer {display: none !important;}

Next, I built my own with this in my footer under customization, ABOVE the script:

<div id="my_footer" align="center" class="nav" style="visibility: visible; display: block;">© 2007 KidCamSports<i> Any reproducion without express written consent of KidCamSports is strictly prohibited</i><br>

Powered by and portions © 2007
<span class="text"> by <a STYLE="text-decoration:none" href="http://www.smugmug.com/" class="nav" <FONT COLOR="#666666" >SmugMug</a></font>, Inc.

∣ <a STYLE="text-decoration:none" href="https://www.smugmug.com/login.mg?goTo=http%3A%2F%2Fwww.kidcamsports.smugmu g.com%2F&PartnerID=18" <FONT COLOR="#666666">login</a></font>

∣ <a STYLE="text-decoration:none" href="https://www.smugmug.com/visitor-help/"target="_blank"<FONT COLOR="#666666">help</a></FONT>

∣ <a STYLE="text-decoration:none" href="/gallery/3676426" <FONT COLOR="#666666">contact us</a></font>

Notice the pipes as a text/font element. This is for my links in my footer. Keep in mind that this info: Powered by and portions © 2007 by SmugMug (http://www.smugmug.com/), Inc. is required. The LOGIN link is for MY login, go to your login page copy YOUR link and paste THAT link in this code so it navigates to the proper page. You can see my footer at: http://www.kidcamsports.com.

This method may be a bit cludgy, there might be a better way out there. :barb

Good Luck.

Andy G.

Andy
Jan-24-2008, 04:46 AM
I AM curious why the method given in the FAQ didn't work though...

It works fine, you are all set.

you had put the part we said to put in your javascript box, you put that in your CSS box. I moved it for you and it's all good.

http://img.skitch.com/20080124-bngkrw15fnsuegbpdub7gyh7f7.jpg

rickshanahan
Jan-24-2008, 11:02 AM
Excellent! I can't thank you enough. :)

It works fine, you are all set.

you had put the part we said to put in your javascript box, you put that in your CSS box. I moved it for you and it's all good.

http://img.skitch.com/20080124-bngkrw15fnsuegbpdub7gyh7f7.jpg