url paste into bio section of homepage is somehow being changed
krh100
Registered Users Posts: 89 Big grins
Smugmuggers,
I have a weird problem that I can’t resolve myself. I have the following link that I am pasting into my bio section of my homepage. I have copied and pasted the link and I have manually typed-in the link.
http://jahawk.smugmug.com/gallery/1832338?trumbaEmbed=view=event&eventid=67246774
No matter how I insert the above link into the bio it somehow gets converted into the link below.:
http://jahawk.smugmug.com/gallery/1832338?trumbaEmbed=view=event&eventid=67246774
You can see that both links go to different places. Spending time trying to figure this out, I see that the % sign (and surrounding letters) have been changed by either smugmug or html.
Any ideas?
Kent Hermes
I have a weird problem that I can’t resolve myself. I have the following link that I am pasting into my bio section of my homepage. I have copied and pasted the link and I have manually typed-in the link.
http://jahawk.smugmug.com/gallery/1832338?trumbaEmbed=view=event&eventid=67246774
No matter how I insert the above link into the bio it somehow gets converted into the link below.:
http://jahawk.smugmug.com/gallery/1832338?trumbaEmbed=view=event&eventid=67246774
You can see that both links go to different places. Spending time trying to figure this out, I see that the % sign (and surrounding letters) have been changed by either smugmug or html.
Any ideas?
Kent Hermes
Kent Hermes
www.ehsladywolves.com
www.ehsladywolves.com
0
Comments
You could try using double % signs instead of single percent signs in the link. This would tell JavaScript code that is parsing this link to preserve the % signs in the link and not have them interpreted. I don't know if this would work, but you could easily try it.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Hi John,
Thanks for the suggestion ... unfortunatly when I put the 2nd %'s in they changed the url address. You can see from the link below that the url does not work. Any other ideas?
http://jahawk.smugmug.com/gallery/1832338?trumbaEmbed=view%=event%&eventid%=67246 774
www.ehsladywolves.com
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Also you use <html> and </html> to surround your bio text, right?
Sebastian
SmugMug Support Hero
Yes Sebastian,
I have the <html> and </html> bookends around my bio text. I did go into the bio via the control panel as you suggested. 1st I pasted the url withouth double % signs--it performed the same as before. I then edited the url and added the doubel % signs--it again peformed the same as before. Ratz... this does not make sense.
Kent
www.ehsladywolves.com
Portfolio • Workshops • Facebook • Twitter
I went from this:
To this:
http://tinyurl.com/2342bz
Firefox extension: http://mozmonkey.com/ or http://tinyurl.com/
Let us know?
Portfolio • Workshops • Facebook • Twitter
That said, %3D is the URL-encoded form of an = sign, and %26 is the URL-ecoded form of an ampersand, so the two URLs are exactly equivalent.
The latter form (at least) is also invalid since there should not be a "bare" & in a URL - it needs to be encoded as &. (The HTML SmugMug generates also has a bunch of those invalid URLs, BTW.)
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
I think it's the TrumbaEmbed stuff he's using in his site that's parsing the link and causing the problem with the % and & signs embedded in links. If we can see the actual page link that he's embedded these in that has the problem, then we can see who's causing it.
I agree that it's really bad forum to have these two links which are semantically the same lead to different pages.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Andy,
Sebastion (Raniforest1155) suggested similar option ... I did go into the bio via the control panel as you suggested. 1st I pasted the url withouth double % signs--it performed the same as before. I then edited the url and added the doubel % signs--it again peformed the same as before. Ratz... this does not make sense.
Kent
www.ehsladywolves.com
Hey RichW,
Thanks but this option didn't work either. In fact, this option just brings me back directly to the home page.
Kent
www.ehsladywolves.com
I also see this bit of code both in the meta description tag as well as in an embedded JavaScript tag: Not sure what it's doing in the meta tag but maybe it's used to trigger the javascript to be embedded?
Just before the embedded javascript tag with that code is another that requests a script from http://www.trumba.com/ - I haven't looked at that script yet but it's possible it's checking the referrer and not URL-decoding the URL while doing that. But I'm just guessing now.
Anyway, it seems to me the URL-encoded URL should be decoded when it's pasted into a SmugMug textarea in order to get a URL that actually works together with the trumba.com JavaScript.
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
When I look at your home page, there are a bunch of things that are kind of messed up in that page. I don't know if they are part of this problem, but you should probably clean them up to rule that out. It looks like you copied a bunch of code given to you by someone and pasted it all into your Smugmug customization. You can't just do it that way because that code has HEAD tags, BODY tags, etc... that conflict with the layout of Smugmug's pages. Instead, you have to break the code up into pieces and put those pieces into the right place in Smugmug's customization. Here are some things I see:
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Hi John,
Thanks for the input John,
I'll work through these items. I'm not an expert at CSS or html yet but I'm getting better. Some of these happened along my learning path and I need to clean them up. I still am curious if these will resolve my problem but I guess we won't know until I finish the cleanup.
Kent
www.ehsladywolves.com
I don't actually think these page formatting things have anything to do with your original issue, but they are creating some display problems for your site in some browsers. I've seen some display weirdness in Firefox that may be caused by this improper HTML.
The original issue may be hard to fix because of the third party links and code that is involved. If you can point me to a page that you've actually embedded these links in, I can see if the problem is Smugmug's parsing of these links or if it's the third party code involved in processing these links. As it is, we can only guess because we haven't been able to actually look at your page with these links in it they way you put them in yet. We also need to know what the desired result is for each of these links.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
This should give
http://jahawk.smugmug.com/gallery/1832338?trumbaEmbed=view%3Devent%26eventid=67246 774
With luck, the javascript parsing with convert the %25 to a % character, giving you the correct URL.
THANKS Major grins,
That was the solution. It's working correctly now.
Kent
www.ehsladywolves.com
Can anyone tell me why these headings are showing up like this on my home page www.ehsladywolves.com?
Untitled-2.jpg
www.ehsladywolves.com
Add this to your CSS to reserve a static slideshow space. The different slide
heights are pushing your page around. Change the heigth to your largest
photo.
#ssSlide{height:400px;}
This is what is causing it, part of the theme.
#header {
padding: 10px;
padding-top: 25px;
_padding-top: 24px;
padding-bottom: 0;
height: 25px;
background: url(/img/themes/Red/header.jpg) repeat-x;
}
My Website index | My Blog
Change the span id in the html from header to MYheader like this. Then add this to your CSS
#MYheader {
padding: 10px;
padding-top: 0px;
_padding-top: 0px;
padding-bottom: 0;
background: #3A0000;
color: white;
}
Change the colors to what you want.
My Website index | My Blog
Hey Allen,
Thanks ... I really appreciate the help with "stabalizing" the slide show. :ivar
That's been buggin me and I've not gotten around to fixing it until now.
Your other guidance helped me fix the headers!
Kent
www.ehsladywolves.com
The sponser box is too wide for the page and moves.
Might try this combo. Works great in Firefox but don't
know how other browsers will look.
div#Sponsors {position: relative;
left: 50%;
color: 3d7a1b;
background-color: #397a1b;
width: 49%;
text-align: center;
font-weight: bold;
margin-top: 10px;}
div#sidebar { position:relative;
top: -550px;
width: 47%;}
#userBio {height: 1660px;}
My Website index | My Blog
Hey Allen,
Once again, thanks for the suggestions. I had not seen the sponsor box moving around but I rarely go into another screen resolution or interntet browser. I made your recommended changes but as you can see the bio box now has several inches of dead space. How can I get rid of this. I put in the userbio box and then took it out because I thought it was make the acres of empty space.
www.ehsladywolves.com
Looks like the only problem left is the userBio box height in IE6.
See if adding the _margin-bottom removes the gap in IE6.
div#sidebar { position:relative;
top: -550px;
width: 47%;
_margin-bottom: -500px;}
My Website index | My Blog
That seemed to fix it Allen ... thanks again!
www.ehsladywolves.com
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
In CSS change the #krhheader to .krhheader
<span #krhheader {font-weight: bold;font-size: 1.5em; padding: 10px; padding-top: 0px; _padding-top: 0px; padding-bottom: 0; background: #660000; color: white; position: relative; left: -10px }
<span .krhheader {font-weight: bold;font-size: 1.5em; padding: 10px; padding-top: 0px; _padding-top: 0px; padding-bottom: 0; background: #660000; color: white; position: relative; left: -10px }
My Website index | My Blog
Thanks for the coaching Allen and Marjolein!!!
I went ahead and made the changes...
Kent
www.ehsladywolves.com
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos