Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2010-06-04 20:17:39

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

Re: bot_admin_tooltips

This looks like a great plugin (I’m already a huge fan of bot_wtc) but it isn’t working for me. I uploaded the qtips file to the default “/js/” directory and I’ve installed the plugin per usual. I can customize everything under Extensions just fine. In fact I’ve written five tooltips already, but none of them show up whether the hover option is ticked or not. Any ideas?

Offline

#74 2010-06-08 15:09:27

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

Re: bot_admin_tooltips

th3lonius wrote:

…Any ideas?

Hi Matthew,
sorry if I didn’t answer before, I completely missed your post.
I need a few infos to understand where the problem is.
1) which txp and jquery version are you using?
2) does the plugin output jquery code in the ‘write’ tab? (just examine the page html and search for ‘qtip’ )

Offline

#75 2010-06-09 01:04:17

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

Re: bot_admin_tooltips

1) Latest txp (4.2.0) and I believe it’s the latest jQuery as well. I am using a gzipped jQuery file if that makes any difference.

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

Offline

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

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

Board footer

Powered by FluxBB