Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2010-06-09 11:13:20

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

yes.


<txp:txp_me />

Offline

#122 2010-06-09 11:31:19

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

Re: bot_write_tab_customize: rearrange and style items in the write tab

Katalonian wrote:

yes.

Ok. So it seems a javascript issue. Probably is interfering with other js.
Next question: which other plugins have you installed?

Tip: try to change the plugin loading order: go to ‘plugins’ tab, select the checkbox on the bot_wtc row then – on the bottom of the page – choose ‘change loading order’ from the ‘with selected’ dropdown and increase its value. If doesn’t do anything try decreasing it.

Offline

#123 2010-06-09 12:38:55

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

It’s start to show some fields! but not all! I decrease others and increase wtc . it’s shows, but not all…

Other plugins:

asv_auth_articles
bot_privs
bot_write_tab_customize
joh_admin_ckeditor
pvc_users_info
rah_write_each_section

Last edited by Katalonian (2010-06-09 12:46:04)


<txp:txp_me />

Offline

#124 2010-06-09 13:22:00

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

Re: bot_write_tab_customize: rearrange and style items in the write tab

Katalonian wrote:

It’s start to show some fields! but not all! I decrease others and increase wtc . it’s shows, but not all…

Do you mean hide some fields?! Maybe this can sound stupid but I prefer to clarify it again: bot_wtc hides the choosen fields in a given section so – taking example from the screenshot you posted – it should hide ‘override form’, ‘category1’ , ‘category2’ etc. when in section ‘Rainmaker’.

Other plugins:

asv_auth_articles
bot_privs
bot_write_tab_customize
joh_admin_ckeditor
pvc_users_info
rah_write_each_section

Ok. I think that – excluding rah_write_each_section – only ‘joh_admin_ckeditor’ could possibly interfere (I never used it, so its only a guess). Again, does the plugin work ok if joh_admin_ckeditor is disabled?

Offline

#125 2010-06-10 07:30:24

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

redbot wrote:

Do you mean hide some fields?! Maybe this can sound stupid but I prefer to clarify it again: bot_wtc hides the choosen fields in a given section so – taking example from the screenshot you posted – it should hide ‘override form’, ‘category1’ , ‘category2’ etc. when in section ‘Rainmaker’.

No, i mean show, it’s hide normally, but don’t show in other section, where i don’t hided.

Ok. I think that – excluding rah_write_each_section – only ‘joh_admin_ckeditor’ could possibly interfere (I never used it, so its only a guess). Again, does the plugin work ok if joh_admin_ckeditor is disabled?.

I disabled joh_admin_ckeditor and nothing changed.

But when im disabled again rah_write_each_section it’s again don’t show field, but when i’m reodered last time with enabled rah_write_each_section it’s start to show some fields, but not all in different section from Rainmaker.

Last edited by Katalonian (2010-06-10 07:32:27)


<txp:txp_me />

Offline

#126 2010-06-10 18:11:30

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

Re: bot_write_tab_customize: rearrange and style items in the write tab

Ziya I ‘ve no idea… so far no one reported a similar erratic behaviour.

Let’s try some final steps before I give up:

1) Could you please post here the javascript generated by the plugin?
2) I suppose you have already tried but what happens if you disable temporanely all other plugins?

Offline

#127 2010-06-11 05:49:56

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

i disabled all plugins except wtc, same thing…

There is full source of Write page with disabled plugins except wtc


<txp:txp_me />

Offline

#128 2010-06-11 07:13:04

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

What an amazing plugin. Thx


I think, therefore I AM, … … er … I think :-?

Offline

#129 2010-06-12 10:56:51

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

Re: bot_write_tab_customize: rearrange and style items in the write tab

Katalonian wrote:

…There is full source of Write page with disabled plugins except wtc

Ok. The js in the source says only this: “hide the section list dropdown when in section ‘rainmaker’”.
Is it the rule you have set with bot_wtc or there is something missing?

Other than this I thought it could be a problem with cyrillic characters in custom field names but after installing russian it seems to work for me.

Also I suppose you already tried to uninstall the plugin table (pressing the button at the bottom of the page) and reinstalling…

I’m sorry but I really have no idea. Should I find a solution I’ll post it here.

Timid&friendly wrote:

What an amazing plugin. Thx

Thank you ;-)

Offline

#130 2010-06-24 03:06:29

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

Hi redbot – I’m trying to add some additional js:

<script type="text/javascript">
    $(document).ready(function() {
        $('#custom-3').val('test');
    });
</script>

However when I click update to save it then I get the following error:

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}); ', html='textarea' where name = 'bot_wtc_script'' at line 2 update txp_prefs set val= ' ', html='textarea' where name = 'bot_wtc_script' C:\xampp\htdocs\tiatxp.dev\textpattern\lib\txplib_misc.php(594) : eval()'d code:650 safe_update() in C:\xampp\htdocs\tiatxp.dev\textpattern\lib\txplib_db.php on line 85

Any ideas? I’m using v0.6.1 of your incredible plugin.

Thanks – Jan


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#131 2010-06-24 08:21:57

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

Re: bot_write_tab_customize: rearrange and style items in the write tab

Hi Jan,
unfortunately you are asking in the wrong time, today I’m really overloaded by work so I can’t help much…
Anyway, though I was sure to have fixed it , it seems an escaping issue (I’ve tried your script and works flawlessly for me but this my depend on my server settings).
Have you tried to escape every single quote in your script?

<script type="text/javascript">
    $(document).ready(function() {
        $(\'#custom-3\').val(\'test\');
    });
</script>

or (this is quite nonsensical but who knows) to ‘linearize’ the script?

<script type="text/javascript"> $(document).ready(function() { $('#custom-3').val('test'); }); </script>

If this doesn’t solve the problem I’ll have a deeper look in the next days, as I have a break ok?

Offline

#132 2010-06-24 14:17:38

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: bot_write_tab_customize: rearrange and style items in the write tab

Howdy redbot – yup, escaping did the trick… thanks for the prompt response, even though you’re busy. This plugin + glz_custom_fields = manna from the txp heavens.


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

Board footer

Powered by FluxBB