Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-10-01 10:08:31

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

Re: bot_admin_tooltips

redbot, you’re completely right, sorry for the lack of details. As woof I’m using glz_cf 1.2.2 and TXP 4.2.0, but on Mac OSX 10.4.11. Settings: Both “Show tip on hover” and “Hide txp pophelps” are selected.

Until now, I’ve tried bot_admin_tooltips on the write tab (everything I tried so far works), on the category tab (just 1 test, OK) and the users tab (tried all, none worked, in neither SAF4 nor FF 3.5.3. Didn’t work here means the same as woof said in his second list point).

Edit: List of enabled plugins
bot_admin_tooltips,
glz_custom_fields,
jmd_save,
smd_where_used,
upm_insert_tab,
wet_plugout, an enormous help in tracking down conflicts

Hope that can help you a little.

Last edited by uli (2009-10-01 10:28:40)


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

Offline

#14 2009-10-01 10:21:07

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

Re: bot_admin_tooltips

redbot wrote:

search the html source looking for “bot_admin_”

Apart from the Remora menu item: nope. Shift-cmd-R (Mac) several times + emptying the cache explicitly didn’t help either.


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

Offline

#15 2009-10-01 10:29:43

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

Re: bot_admin_tooltips

uli wrote:

Apart from the Remora menu item: nope.

So it means that jquery code it’s not generated… what a mistery… sorry if I ask but have you first created some tips for the page you are viewing the souce? Jquery code is not loaded if no tips are defined for that page (this should be a feature to keep the page source lighter).

edit:
regarding tooltips not working in admin tab you are right. I’ll fix the problem as soon as I can (unfortunately I fear not in the next few days: I’m overloaded with work)

Last edited by redbot (2009-10-01 10:35:01)

Offline

#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,304

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,304

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,304

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: 329
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

Board footer

Powered by FluxBB