Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2009-10-01 10:34:56

woof
Member
Registered: 2004-08-01
Posts: 128

Re: bot_admin_tooltips

Hi Redbot

Thanks. As you say it looks like the jquery is not being applied in firefox

here’s the relevant output in Safari copied from the html source

<script src= "/js/jquery.qtip-1.0.0-rc3.min.js"></script>
<script language="javascript" type="text/javascript">
	$(document).ready(function() {$("label[for='url-title']").append("<span class=\"bot_tip\" style=\"cursor:pointer;\">&nbsp;[ ? ]&nbsp;</span>");
$("label[for='url-title']").qtip({  
				content: "boo!", 
				show: { when: {event: "mouseover", target: $("label[for='url-title'] span.bot_tip")}, effect: { type: "fade", length: 0}, solo: true, delay: 0},
				hide: { when: {event: "mouseout", target: $("label[for='url-title'] span.bot_tip")}, effect: { type: "fade", length: 200}, fixed: true},
				style:{border: {width: 6, radius: 8, color: "#e0e0e0"}, width: 200, background: "#fdfdfd", color: "#454545", tip: "bottomLeft"},
				position: {target: $("label[for='url-title'] .bot_tip"), corner: {target: "topRight", tooltip: "bottomLeft"}, adjust: { screen: true }}
			});		});
</script><script src="/js/jquery.qtip-1.0.0-rc3.min.js"></script>
<script language="javascript" type="text/javascript">
	$(document).ready(function() {
	$("a.pophelp").hide()
	});
</script>

same section in Firefox:

<script src="/js/jquery.qtip-1.0.0-rc3.min.js"></script>
<script language="javascript" type="text/javascript">
	$(document).ready(function() {
	$("a.pophelp").hide()
	});
</script>

After refreshing and restarting the txp pophelps are now hidden in firefox, so contrary to what i reported earlier it seems there’s no difference in behaviour between Firefox and Opera – sorry for any confusion.

Offline

#17 2009-10-01 10:40:19

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_admin_tooltips

Damn I can’t be of more help now, I’m at work (and pretending to work). When I’ll have some time I’ll check. Promised.

P.S. thanks for the help, very useful. So you are saying the same page has a different source if viewed in different browsers? Mmm..

Last edited by redbot (2009-10-01 10:46:25)

Offline

#18 2009-10-01 10:49:02

woof
Member
Registered: 2004-08-01
Posts: 128

Re: bot_admin_tooltips

Don’t worry about it Redbot. Nothing can detract from how awesome this plugin actually is, thanks for creating it!

Offline

#19 2009-10-01 10:59:02

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: bot_admin_tooltips

redbot wrote:

sorry if I ask but have you first created some tips for the page you are viewing the souce?

No need to feel sorry, yes, I did.

redbot wrote:

I fear not in the next few days

No problem, I’m only just putting together what I think can be my 4.2.0 dream team. I’m so incredibly glad this gem is available.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#20 2009-10-01 10:59:36

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_admin_tooltips

Thank you both uli and woof for the kind words and for the help,
so to recap:
1) the plugin has problems with firefox and opera in macs but not with safari
2) if glz is disabled the plugin works (in both opera and firefox?)
3) in this two browsers jquery code is generated only partially

Last edited by redbot (2009-10-01 11:00:33)

Offline

#21 2009-10-01 11:12:50

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: bot_admin_tooltips

The list seems only valid for woof. For me it’s working with the exception of the admin/users tab. I’ll try more later, there’s no chance of playing today.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#22 2009-10-01 11:19:12

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: bot_admin_tooltips

What about changing Order value on Plugin tab s it first loads glz_c_f and then bot_admin_tooltips?

Probably not related, but on the code posted by woof, this line <script src="/js/jquery.qtip-1.0.0-rc3.min.js"></script> is repeated. Not optimal, and maybe it triggers some quirky behaviour?

About code being stripped, could it be some kind of ad blocker or filter?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#23 2009-10-01 11:28:02

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: bot_admin_tooltips

maniqui wrote:

What about changing Order value on Plugin tab s it first loads glz_c_f and then bot_admin_tooltips?

Didn’t help for my only problem, the users tab. Thanks for thinking, Julián.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#24 2009-10-01 11:40:10

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

Re: bot_admin_tooltips

This is great stuff – nicely done redbot.

I too am a Mac user – it works fine in FF 3.0.1.4. FYI fellow Mac FF users – I downgraded from FF 3.5x weeks ago – I found FF 3.5x didn’t work for a LOT of things.

This is a sweet, elegant plug in. Thank you.

Offline

#25 2009-10-01 11:58:07

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_admin_tooltips

uli wrote:

The list seems only valid for woof. For me it’s working with the exception of the admin/users tab. I’ll try more later, there’s no chance of playing today.

uli, have you read the edit in this post. This appears indeed as a bug (doesn’t work for me too). I’ll fix it with the next release

towndock wrote:

This is a sweet, elegant plug in. Thank you.

Well… thank you

Offline

#26 2009-10-01 12:17:22

woof
Member
Registered: 2004-08-01
Posts: 128

Re: bot_admin_tooltips

This is strange — I installed FF 3.0.1.4 and still see the problems

In my case the only difference to the recap you posted Redbot is point 3 – now the full code is visible in the source – weird because it definately wasn’t earlier, I’m sure because I saved the source at the time.

I’m beginning to think I’m alone here and the problem is local. I think unless anyone else can report the same behaviour you should ignore it. I’m going to try a clean txp installation and see what happens and let you know. Thanks everyone.

Offline

#27 2009-10-01 12:20:55

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_admin_tooltips

maniqui wrote:

Probably not related, but on the code posted by woof, this line <script src="/js/jquery.qtip-1.0.0-rc3.min.js"></script> is repeated. Not optimal, and maybe it triggers some quirky behaviour?

Hi Julián,
that’s a good suggestion, thank you. I’ll investigate further when I can.

Offline

#28 2009-10-01 13:06:40

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: bot_admin_tooltips

I just installed this and it was working fine. Then i installed glz_custom_fields and it’s not working anymore.

txp pop-ups aren’t being replaced in the write tab (haven’t checked others yet.

Windows, Firefox 3.5.3 and TXP 4.2

Last edited by FireFusion (2009-10-01 13:21:32)

Offline

#29 2009-10-01 13:25:34

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: bot_admin_tooltips

Feature request

Add HTML or textile ability to tooltips. Recreating the Admin|Privileges help is hard without lists or line breaks :P

One usability request is to either move the uninstall option to it’s own options page under the plugins tab or add another big red “update” button at the bottom of the list. Evey time i make a change i’m afraid i’ll hit “uninstall” instead of “update” :(

Last edited by FireFusion (2009-10-01 14:03:15)

Offline

#30 2009-10-01 13:39:32

woof
Member
Registered: 2004-08-01
Posts: 128

Re: bot_admin_tooltips

An update:

I created a brand new txp install at a different location
  1. installed and activated bot_admin_tooltips,
  2. added some tips to the write tab. — Works fine
  3. installed and activated glz_custom_fields. — No longer works in ff or opera

Up to now I had only added tips to the write tab. So I then tried tips in all the other tab options
They all work! (excepting the prob with the Admin tab which is known)

So this mac FF problem seems to be confined to tips on the write tab only

Offline

Board footer

Powered by FluxBB