View Full Version : Removing the cart link ...
{JT}
Jul-11-2005, 12:36 PM
And some other random things:
http://blogs.smugmug.com/web-tricks/2005/07/11/a-preview-of-what-is-to-come/
rainforest1155
Jul-11-2005, 01:09 PM
Thanks for the info. Looks quite promising. I gotta have a deeper look into all that CSS stuff!
Discovered a layout problem in your blog with 1024x768, because of the long "function replaceFooter". I made two screenshots for you:
Maxthon (IE 6) (http://rainforest1155.smugmug.com/photos/27996159-O.gif)
Mozilla 1.3 (http://rainforest1155.smugmug.com/photos/27996166-O.gif)
Seems tricky, because you can't break the lines. There's still enough space on the left side, don't know why it doesn't get used to prevent this kind of layout problem.
Sebastian
{JT}
Jul-11-2005, 01:13 PM
Yeah, I am aware of the problem :(
But don't know of a way to fix it without the code breaking when someone copy and paste's from it. For some of my earlier examples I over-simplified the code into multiple lines (and looked like an idiot I am sure), but that worked. I will keep digging, maybe there is something out there.
Thanks for the info. Looks quite promising. I gotta have a deeper look into all that CSS stuff!
Discovered a layout problem in your blog with 1024x768, because of the long "function replaceFooter". I made two screenshots for you:
Maxthon (IE 6) (http://rainforest1155.smugmug.com/photos/27996159-O.gif)
Mozilla 1.3 (http://rainforest1155.smugmug.com/photos/27996166-O.gif)
Seems tricky, because you can't break the lines. There's still enough space on the left side, don't know why it doesn't get used to prevent this kind of layout problem.
Sebastian
rainforest1155
Jul-11-2005, 01:24 PM
Yeah, I am aware of the problem :(
But don't know of a way to fix it without the code breaking when someone copy and paste's from it. For some of my earlier examples I over-simplified the code into multiple lines (and looked like an idiot I am sure), but that worked. I will keep digging, maybe there is something out there.That's what confuses me about CSS so much...there are so many possible parameters and mesurements - I don't know where to start. If I dig something up, I'll let you know.
Mac Write
Jul-11-2005, 07:55 PM
Do what VB does. make the code box a fixed width, then do scroll bars
Example:
header = document.getElementById("header").innerHTML;
footer = document.getElementById("footer").innerHTML;
document.getElementById("footer").innerHTML = header+footer;
{JT}
Jul-12-2005, 08:53 AM
D'oh, you'd have thought I would have done that. I added it to the stylesheet and all is good, thanks!
Do what VB does. make the code box a fixed width, then do scroll bars
Example:
header = document.getElementById("header").innerHTML;
footer = document.getElementById("footer").innerHTML;
document.getElementById("footer").innerHTML = header+footer;
rainforest1155
Jul-12-2005, 09:51 AM
D'oh, you'd have thought I would have done that. I added it to the stylesheet and all is good, thanks!I see no change yet. Is it already online? :scratch
{JT}
Jul-12-2005, 01:43 PM
It was a CSS change, you might have to shift+refresh or empty your cache.
I see no change yet. Is it already online? :scratch
rainforest1155
Jul-12-2005, 02:01 PM
It was a CSS change, you might have to shift+refresh or empty your cache.Did work for Mozilla, but IE is still displaying it like in the screenshot (except for you changed the function in between, too). Looks like IE ignores your new code. :dunno
joffun
Jul-13-2005, 12:18 PM
It works for Firefox (although the vertical line after login is missing) as it now looks like this: powered by smugmug (http://www.smugmug.com/) | login portions © 2005 smugmug, inc.
It doesn't work in IE6.
Is there a way to remove the RSS feeds as well? The logos aren't showing up in IE6 (but they are in Firefox) and it is pretty redundant in IE for the time being anyway.
Thanks
{JT}
Jul-13-2005, 12:28 PM
I will look in to the IE6 and cart links ...
to get rid of the feeds use this is CSS:
#feeds {
display: none;
}
As for the buttons not showing up I am sure it is a cached CSS problem, wait an hour.
It works for Firefox (although the vertical line after login is missing) as it now looks like this: powered by smugmug (http://www.smugmug.com/) | login portions © 2005 smugmug, inc.
It doesn't work in IE6.
Is there a way to remove the RSS feeds as well? The logos aren't showing up in IE6 (but they are in Firefox) and it is pretty redundant in IE for the time being anyway.
Thanks
Mike Lane
Jul-13-2005, 12:52 PM
It works for Firefox (although the vertical line after login is missing) as it now looks like this: powered by smugmug (http://www.smugmug.com/) | login portions © 2005 smugmug, inc.
It doesn't work in IE6.
Is there a way to remove the RSS feeds as well? The logos aren't showing up in IE6 (but they are in Firefox) and it is pretty redundant in IE for the time being anyway.
Thanks They're working to update everything with css tags. You can now remove the rss/atom feeds by using the following css.
#feeds {display:none}
Mike Lane
Jul-13-2005, 12:53 PM
geeze jt how fast do you type?
Mike Lane
Jul-13-2005, 12:54 PM
I have a question for the cart link. I would like to add it somewhere else will I only need to link to "/cart/"?
Thanks
{JT}
Jul-13-2005, 01:03 PM
Yes, we don't do anything special to that link - the page will automatically go to HTTPS too.
As for removing the cart link, I have updated the instructions again and they work on IE (as well as some formatting fixes and comments on how to troubleshoot in the future).
JT
I have a question for the cart link. I would like to add it somewhere else will I only need to link to "/cart/"?
Thanks
joffun
Jul-13-2005, 02:27 PM
They're working to update everything with css tags. You can now remove the mini footer by using the following css.
#cobrand_footer {display:none}
#feeds {display:none}
Mike, thanks for that - very helpful.
JT, Thanks for info - logos aren't showing yet but I will check again tomorrow morning.
Mac Write
Jul-13-2005, 10:36 PM
The only downside to removing the Smugmug stuff is you can't login to edit your site from your site. What's the URL for logging in from Smugmugs site (other then "Your Photos")?
devbobo
Jul-13-2005, 11:06 PM
The only downside to removing the Smugmug stuff is you can't login to edit your site from your site. What's the URL for logging in from Smugmugs site (other then "Your Photos")?
You can log in by going to www.smugmug.com (http://www.smugmug.com) and logging in...then u get "Your Photos"
David
onethumb
Jul-14-2005, 07:18 AM
The only downside to removing the Smugmug stuff is you can't login to edit your site from your site. What's the URL for logging in from Smugmugs site (other then "Your Photos")?
The login link always remains in the footer, too.
Don
jamescalder
Jul-14-2005, 02:39 PM
The "login" link always remains in the footer, too.
Dondon - perhaps you're confusing header and footer? here's what my footer looks like whether i'm logged in or not:
http://jamescalder.smugmug.com/photos/28393930-M.jpg
since i suppress sm's standard header on my site, the only place a "login" link ever appears for me is in the header at www.smugmug.com (http://www.smugmug.com/)
http://www.digitalgrin.com/images/smilies/1drink.gif
joffun
Jul-15-2005, 01:14 AM
don - perhaps you're confusing header and footer? here's what my footer looks like whether i'm logged in or not:
http://jamescalder.smugmug.com/photos/28393930-M.jpg
since i suppress sm's standard header on my site, the only place a "login" link ever appears for me is in the header at www.smugmug.com (http://www.smugmug.com/)
http://www.digitalgrin.com/images/smilies/1drink.gif
Using co-branding the log-in appears in the footer. However, using the code above to remove the footer does remove the log-in as well. Therefore the only way to log-in is via the smugmug homepage
{JT}
Jul-15-2005, 10:59 AM
I just added a login link to the normal footer - so you no longer have to force the mini-footer to show up in order to have a login link.
Using co-branding the log-in appears in the footer. However, using the code above to remove the footer does remove the log-in as well. Therefore the only way to log-in is via the smugmug homepage
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.