Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2010-06-09 10:06:52

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

Re: bot_admin_tooltips

th3lonius wrote:

…Definitely. In fact I can see the tooltips I’ve written in the page source for the “write” tab.

Puzzling… if the js is in the page source then I can think of only two possibilities:

1) There is a problem with the path to the qtips plugin (but it doesn’t seem to be the case)
2) You have hak_tinymce installed and are triyng to set tooltips under the advanced options in the “write” tab.
From the plugins help: This plugin has been tested to work without conflicts with many other plugins but seems to have a slight incompatibility with hak_titnymce. If you set “Show editor toggle:” to “yes” in its preferences then tooltips won’t show up under the “advanced” section of the “write” tab – all the rest will work ok though.

If none is true try to change the plugin loading order and see if it changes something.

A last question: isn’t this working in every tab or only in the “write” tab?

Offline

#77 2010-06-09 18:06:25

th3lonius
Member
From: Iowa City, IA
Registered: 2010-02-09
Posts: 67
Website

Re: bot_admin_tooltips

1) Path to js should be “../js/” by default correct? I’ve placed the qtips file in my textpattern “js” directory so it should be fine.
2) I don’t have that plugin.

I changed the order to “1”, but that only bungled my field order (from bot_wtc) in the “write” tab.

I can only see qtips and the tooltips I’ve written in the page source for the “write” tab and none other.

EDIT: Maybe it’s worth mentioning that the admin-side theme I’m using is “Slim Orange”? That hasn’t given me a problem with anything else and seems unlikely but who knows.

Last edited by th3lonius (2010-06-09 18:08:16)

Offline

#78 2010-06-09 18:55:00

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

Re: bot_admin_tooltips

th3lonius wrote:

1) Path to js should be “../js/” by default correct? I’ve placed the qtips file in my textpattern “js” directory so it should be fine.

Ok. Just to be ultra-secure the js directory must be in the same level as ‘images’ and ‘files’.

EDIT: Maybe it’s worth mentioning that the admin-side theme I’m using is “Slim Orange”? That hasn’t given me a problem with anything else and seems unlikely but who knows.

Yes. It seems very unlikely… I don’t know… as I’ll have some free time all try to install it and see (or – if you feel brave enough – you can try to set temporarily the ‘classic’ theme from advanced preferences (is the tenth item from top).

Offline

#79 2010-06-09 21:48:37

th3lonius
Member
From: Iowa City, IA
Registered: 2010-02-09
Posts: 67
Website

Re: bot_admin_tooltips

I’ve figured it out, redbot. I completely forgot that I access my textpattern backend with a subdomain, so the path to the qtip file is incorrect. How could I remedy this, aside from no longer using the subdomain?

My website is “www.cinelogue.com” and the backend is “admin.cinelogue.com” which of course points to “/textpattern”.

Last edited by th3lonius (2010-06-09 21:50:05)

Offline

#80 2010-06-09 23:09:43

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

Re: bot_admin_tooltips

th3lonius wrote:

I’ve figured it out, redbot. I completely forgot that I access my textpattern backend with a subdomain, so the path to the qtip file is incorrect. How could I remedy this, aside from no longer using the subdomain?
My website is “www.cinelogue.com” and the backend is “admin.cinelogue.com” which of course points to “/textpattern”.

Phew! at least we found the cause.
I’m not sure I understood well but can’t you create a directory (i.e. ‘js’) right in the textpattern directory (on the same level as ‘include’, ‘lang’, ‘lib’ etc.)?
Of course in this case you’ll want to set the path to ‘js’ and not ‘../js’

Last edited by redbot (2010-06-09 23:13:45)

Offline

#81 2010-06-09 23:23:00

th3lonius
Member
From: Iowa City, IA
Registered: 2010-02-09
Posts: 67
Website

Re: bot_admin_tooltips

Of course! That did it. I knew it was something simple but I couldn’t wrap my head around it today.

Thanks for your help, redbot. Sorry if I’ve induced a headache. :) Your plugin works like a dream.

Offline

#82 2010-06-10 00:03:42

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

Re: bot_admin_tooltips

th3lonius wrote:

Of course! That did it…

Great! :-)

Offline

#83 2010-07-04 18:50:57

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

Re: bot_admin_tooltips

Luca, you bundle bot_admin_tooltip with rc3 of qtip which I found isn’t comaptible with jQuery v1.4.2. There’s a final version of the qtip v1 branch which is compatible plus is a lot smaller (23kb <—> 38.4kb). Thought you want to know in case you don’t plan switching to qtip v2, anyway.


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

Offline

#84 2010-07-04 19:01:09

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

Re: bot_admin_tooltips

uli wrote:

Luca, you bundle bot_admin_tooltip with rc3 of qtip which I found isn’t comaptible with jQuery v1.4.2. There’s a final version of the qtip v1 branch which is compatible plus is a lot smaller (23kb <—> 38.4kb). Thought you want to know in case you don’t plan switching to qtip v2, anyway.

Thank you Uli! As I’ll have some time I’ll look into it

Offline

#85 2010-07-04 19:19:33

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

Re: bot_admin_tooltips

redbot wrote:

As I’ll have some time I’ll look into it

Great! One more reason to make the qtip version change: with qtip rc3/jQuery 142 I had to turn bot_admin_tooltip off in order to make bot_wtc work again. With the final qtip version I have everything working again. Phew! :))

Edit: In case you want to crosscheck: selecting a section on the write tab made no alterations to the advanced options column.

Last edited by uli (2010-07-04 19:22:04)


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

Offline

#86 2010-07-06 12:18:26

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: bot_admin_tooltips

Luca,

I’m confused :)
Is there like a minimum version of jquery required for your plugin to work? If you update it to work with the latest version, does that mean it will fail with older versions.

I’m asking because I usually leave jquery at version that came with Textpattern.

Offline

#87 2010-07-06 14:01:07

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

Re: bot_admin_tooltips

Martin, sorry for potentially confusing you. The plugin works great with the standard 1.3.2 jQuery version. It’s just the Remora bug (Remora menus over text inputs don’t close) that made me switch to jQuery 1.4.2, but that’s not a problem Luca had introduced, not at all :)


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

Offline

#88 2010-07-06 14:06:40

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: bot_admin_tooltips

OK, thanks Uli!

Offline

#89 2010-07-06 15:07:54

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

Re: bot_admin_tooltips

masa wrote:

OK, thanks Uli!

Thanks Uli for answering in place of me, it was beginning to confuse me too!

Offline

#90 2011-03-18 16:02:43

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 597
Website

Re: bot_admin_tooltips

Problem: bot_admin_tooltips doesn’t seem to work with symlink URL rewrites (like redirecting example.com/login to example.com/mysite/textpattern)

Solution: In the plugin preferences (Extensions tab), change the javascript path from:

../js/

to

http://www.example.com/mysite/js/

…or wherever your textpattern js folder really is.

Last edited by maruchan (2011-03-18 16:12:42)

Offline

Board footer

Powered by FluxBB