Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#85 2010-02-17 21:37:14
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
floodfish wrote:
Textpattern version: 4.2.0 (r3275)
jQuery JavaScript Library v1.3.2
Strange, it should work then.
Let’s see…
1) which other plugins did you install?
2) have you tried to modify the plugins loading order in the plugins tab? (select the plugin, then go to ‘with selected’ at the bottom of the page and set its order to, say, ‘9’)
Last edited by redbot (2010-02-17 21:37:41)
Offline
Re: bot_write_tab_customize: rearrange and style items in the write tab
OK, I found the offending plugin!
rah_section_titles 0.1.2 was breaking this plugin’s section-dependent options.
Disabling rah_section_titles allows bot_write_tab_customize to work completely.
Giving rah_section_titles a higher loading order lets bot_write_tab_customize’s hide-field-by-section options work, but all sections still show up in the Section picklist.
It would be nice to have the benefits of both, if you have any ideas.
Offline
#87 2010-02-18 00:32:48
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
floodfish wrote:
…It would be nice to have the benefits of both, if you have any ideas.
Glad you sorted it out!
For what concerns rah_section_titles compatibility it’s an old issue which I fear I won’t be able to solve (at least for now). And yes, it’s a pity, because that is a great plugin.
Offline
#88 2010-03-01 20:08:19
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: bot_write_tab_customize: rearrange and style items in the write tab
hello,
has anybody had trouble with saving javscript within the plugin?
I get this:
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 'text/javascript" src= "../js/your_jquery_rounded_corners_plugin.js"> <' at line 1 update txp_prefs set val= " ", html="textarea" where name = "bot_wtc_script"
did I miss anything..?
thanks
what was that again…?
Offline
#89 2010-03-01 22:09:53
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
feragnoli wrote:
has anybody had trouble with saving javscript within the plugin?
Hi, this should be the same issue outlined here. In other words the plugin isn’t escaping properly the js inserted in the js box.
Unfortunately I still can’t manage to release a new version which fixes this and other problems.
Anyway, for now you have to choices:
1) escape all double quotes in the js code you inserted (replace each “ with \”)
2) go in the plugins tab, edit the plugin code and replace it entirely with the next beta version which you can find here (copy and paste the part between the “begin plugin code” and “end plugin code” comments).
P.S. The second suggestion can be hopefully useful for anyone having this or other issues. So far almost every reported bug has been fixed.
P.P.S. For anyone interested, Gerhard has kindly offered to contribute to the plugin (as you can see from the comments in the beta version I linked to before).
Last edited by redbot (2010-03-01 22:15:31)
Offline
Re: bot_write_tab_customize: rearrange and style items in the write tab
Three things.
1. I have tried to hide Category 1 and Category 2 in all sections, since I do not use these at all. But the labels still show up. However I fixed this in a roundabout way: by putting Section after Status and then hiding Sort & Display. Works fine now!
2. Moving Status to the left column screws up the label/button alignment.
3. You rock.
Last edited by robin746 (2010-04-03 04:15:03)
robin
Offline
#91 2010-04-03 12:28:11
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
1) Yes, it was already mentioned here. If I remember correctly I should have fixed it in my next beta version. Go in the plugins tab, edit the plugin code and replace it entirely with this (copy and paste the part between the “begin plugin code” and “end plugin code” comments).
2) Yes I know but – as I clearly state in the plugins help – bot_wtc deliberately moves only html items as they appear in the DOM, so – if they have some styles attached to them they are still applied in the new location (which sometimes causes some aestetic inconsinstencies). You have to fine-tune the “presentational” side by modifying textpattern.css or adding a jquery rule in the appropriate box. Also, with this in mind, the plugin gives the possibility to add a css class to all page items.
3) Thank you!
all
I had absolutely no free time lately so plugins updates have stopped for a while.
If you want to install the latest beta version (which should fix all the bugs but this one, which is still a mystery to me) follow the instructions above.
I hope to release a new version soon which adds some new feature.
Last edited by redbot (2010-04-03 12:35:05)
Offline
#92 2010-04-17 16:05:12
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
Version 0.6 is out.
All reported bugs should be fixed.
A new feature (thanks mrdale): mass per-section-hiding and class setting will speed up the customization process if you have a lot of custom fields.
See first post for download.
Offline
#93 2010-04-19 19:39:42
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi redbot.
I’m sorry to say I got the following warning after upgrading to 0.6.
Warning: natcasesort() [function.natcasesort]: The argument should be an array in /var/www/vhosts/fixiedingen.nl/httpdocs/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 162.bot_wtc fails on the write tab.
Appears to be a customfield related issue. The warning dissapears only occuers when I have no customfields configured. Adding a customfield fixes the problem.
Last edited by jelle (2010-04-19 19:40:08)
Offline
#94 2010-04-19 23:30:08
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
jelle wrote:
…I’m sorry to say I got the following warning after upgrading to 0.6. …Appears to be a customfield related issue. The warning dissapears only occuers when I have no customfields configured. Adding a customfield fixes the problem.
Doh! This special case completely slipped my mind, thank you for noticing, Jelle!
V. 0.6.1 should fix this and another little annoyance (now items are ordered alphabetically)
Last edited by redbot (2010-04-19 23:32:56)
Offline
#95 2010-04-20 14:01:17
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: bot_write_tab_customize: rearrange and style items in the write tab
redbot wrote:
V. 0.6.1 should fix this
Confirmed. Great work Redbot!
Offline
Re: bot_write_tab_customize: rearrange and style items in the write tab
*redbot wrote> * A new feature mass per-section-hiding and class setting will speed up the customization process if you have a lot of custom fields.
Fantastique! Just erased all settings on one install with lots of sections and CFs and redid them all in under a minute. Awesome.
The only thing I’m not able to do is hide a multi-select I had set up with glz.
But Big ups!
Offline