Links that do not work

Found a bug? Tell us!!
Post Reply
RJH
Regular
Posts: 58
Joined: Sat Dec 09, 2006 2:38 am
Contact:

Links that do not work

Post by RJH »

When I make a link in a post I want it to open in a new window so visitors are not tempted to wander off from my blog and I want it to display the alt text of my choice.

Getting it to do that is usually difficult at best and down right impossible much of the time.

I will often put a small picture in a post that links to a larger copy of the same pic. I want that larger copy to open in a new window rather than the same window. It almost always opens in the same window. As I mentioned above it is difficult at best.

Then when I go back and try to edit that link I have to start completely over as it has remembered none of the info I input for the link. And that always means the info I put in will not work at least the first time and usually not at all.

Is it something I am doing wrong?

Heres a link to the latest post I am having this problem with. The graphic is supposed to open in a new window. That is how I configure the link using the WYSIWYG editor.

http://www.thatpoliticalblog.com/serend ... nergy.html
www.thatpoliticalblog.com

Calling illegal aliens immigrants is like calling a burglar a house guest.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Links that do not work

Post by garvinhicking »

Hi!

You are surely using the serendipity media selector popup to choose your image. This shows you a media placement selection screen, something like this:

http://sourceforge.net/project/screensh ... ssid=73357

There you can pick if the large or the small thumb is picked, and you can assign if the image should point to the larger version, and even if you want the link to go up in a popup window or inside the same window.


Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RJH
Regular
Posts: 58
Joined: Sat Dec 09, 2006 2:38 am
Contact:

Post by RJH »

No, it is using the WYSIWYG editor not the media selector. Last night I was making a post and just wanted to change the color of a link in the post. It wouldnt let me. I tried half a dozen times, no luck. It was very frustrating. Eventually I found that if I changed the size of the font to 12 then back to the 10 I normally use then I could change the color of the link.

Another real common problem is when I save a post the text runs off the right side in the editor. This pic shows what I mean.

http://www.thatpoliticalblog.com/serend ... roblem.jpg

I have to use the scroll bar bottom of the page to get back and forth. It doesnt do this all time so I am assuming it is not normal. But it happens often enough to be a real annoyance.
www.thatpoliticalblog.com

Calling illegal aliens immigrants is like calling a burglar a house guest.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
RJH wrote:No, it is using the WYSIWYG editor not the media selector.
You should use the media selector, it's much more sophisticated. The internal WYSIWYG thing is not as easily to control.
Last night I was making a post and just wanted to change the color of a link in the post. It wouldnt let me. I tried half a dozen times, no luck. It was very frustrating. Eventually I found that if I changed the size of the font to 12 then back to the 10 I normally use then I could change the color of the link.
Those cases are very dependant on where your cursor is when changing the links. The links color is usually controlled by the Stylesheet, thus you can't easily override it unless you stuff it with font-tags, which is what you eventually achieved. Check the htmlarea bottom info section, where it says if you're within a "p", an "a" or other font/span HTmL element.
Another real common problem is when I save a post the text runs off the right side in the editor. This pic shows what I mean.
This can happen because of very large images within the post, or very long other text elements?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
RJH
Regular
Posts: 58
Joined: Sat Dec 09, 2006 2:38 am
Contact:

Post by RJH »

It also does it when you are configuring plugins.

http://www.thatpoliticalblog.com/serend ... _issue.jpg

Is that supposed to happen?
www.thatpoliticalblog.com

Calling illegal aliens immigrants is like calling a burglar a house guest.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That's actually an issue with 100%-width input/textarea things and the new bulletproof admin template. I'll try to push Don to this thread, maybe he can do something about it :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

garvinhicking wrote:Hi!

That's actually an issue with 100%-width input/textarea things and the new bulletproof admin template. I'll try to push Don to this thread, maybe he can do something about it :)
This happens with very long, unbreakable strings. The admin backend is table based html, and those long strings force the table to become wider than the graphics.

One possible solution was to use the css property table-layout: fixed. Unfortunately, this introduced as many, or more, problems than what it fixed because there are a lot of tables that can be displayed in the admin backend, and every single one of them would need to be fixed. Even if fixed, the next problem would be to determine what to do with the overflow. Word-wrap: break-word and overflow: auto are not reliable across all browsers, and overflow: hidden may not be a good choice as many of those long strings are error messages and you would want to see the entire message.

The quick fix is to switch the bulletproof admin template to the liquid/fluid version instead of the fixed width version, which is discussed in this entry:
http://s9y-bulletproof.com/index.php?/a ... rface.html

I'm certainly open to suggestion if anyone has better ideas.
=Don=
Post Reply