Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#97 2010-04-20 18:08:13

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

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

#98 2010-04-20 22:25:19

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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,315

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

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

#106 2010-04-26 19:20:20

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

redbot wrote: 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?

sure.

Offline

#107 2010-06-08 06:45:57

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

Guys, when i hide some fields per section, it’s hide for all sections!! how to fix?


<txp:txp_me />

Offline

#108 2010-06-08 11:02:51

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

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

Just saw your post in the rah_write_each_section thread. Is your problem the section menu? I think there was an unsolvable conflict between this plugin and bot_wtc about this issue.

EDIT: It wasn’t bot_wtc but bot_hide_per_section

Last edited by uli (2010-06-08 11:21:38)


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

Offline

Board footer

Powered by FluxBB