Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
#97 2010-04-20 18:08:13
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: bot_write_tab_customize: rearrange and style items in the write tab
mrdale wrote:
The only thing I’m not able to do is hide a multi-select I had set up with glz.
Dale, try raising the load order of bot_wtc.
Last edited by uli (2010-04-20 18:08:27)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: bot_write_tab_customize: rearrange and style items in the write tab
uli wrote: Dale, try raising the load order of bot_wtc.
tried, but no luck.
Offline
#99 2010-04-20 22:40:36
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hm, weird.
I wouldn’t even need to change load order for anything glz, works out of the box. I had to do it for smd_tags.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#100 2010-04-21 09:54:40
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
mrdale wrote:
The only thing I’m not able to do is hide a multi-select I had set up with glz.
Thanks for reporting, I’ll check if there is actually a problem with glz multi-selects in the next days.
BTW, did you solve this issue?
Offline
#101 2010-04-21 16:37:48
Re: bot_write_tab_customize: rearrange and style items in the write tab
redbot wrote: BTW, did you solve this issue?
I solved that issue by deleting my prefs and always using the advanced prefs for bot_wtc (which provides full functionality. Otherwise the problem persisits.
Offline
#102 2010-04-23 16:28:39
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
mrdale wrote:
…I solved that issue by deleting my prefs and always using the advanced prefs for bot_wtc (which provides full functionality. Otherwise the problem persisits.
I still can’t understand why this works (for you) only using advanced preferences and not throught the default interface, however that’s better than nothing…
what is worse is that you seem to be the only one who experiences this issue… hmm
mrdale wrote:
…The only thing I’m not able to do is hide a multi-select I had set up with glz
Again, I confirm what Uli says. I tested it with multiselects and works ok for me…
Sorry, I hope I’ll have an idea sooner or later
edit I noticed the test account you gave to me is still functional. can I have a further look at your site in the next days?
Last edited by redbot (2010-04-23 16:36:44)
Offline
#103 2010-04-26 12:33:08
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi,
On my site, I have a lot of sections. If I want to hide, for example, one of the default options like “Article Markup” from all of those sections, then WTC will not save all the checked fields. I think this is due to the fact that the WTC database table column for ‘sections’ is set to VARCHAR 255 – my section titles added together take up more than 255 characters and so is truncated. If I change that column to ‘mediumtext’ would that break anything?
Thanks,
Phil
Last edited by philwareham (2010-04-26 12:33:52)
Offline
#104 2010-04-26 14:20:19
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
philwareham wrote:
…If I change that column to ‘mediumtext’ would that break anything?
No problem, go for it!!
Offline
#105 2010-04-26 15:09:28
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
redbot wrote:
…No problem, go for it!!
Ehm… of course you can do it, but I suggest to use ied_hide_in_admin for this (also this is reccommended in the bot_wtc help).
The fact is if you want to always hide an item it is a waste of code to write a conditional which returns always the same result.
Another option is to add a little piece of jquery code in the appropriate box like, in your case:
<script type = "text/javascript">
$(document).ready(function() {
$("#markup-body").hide();
});
</script>
…and yet another option is to set a css class for the item you want to hide (like “hidden”) and add a css rule in your txp stylesheet:
.hidden
{
display:none;
}
Last edited by redbot (2010-04-26 15:10:26)
Offline