Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 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

#110 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

#111 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

#112 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

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

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

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

#114 2010-06-08 11:15:29

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:

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

Could you provide more details? I can’t help you with so little infos.
All I know is that I use them together and they work flawlessly.

Anyway, as I ‘ll have some free time I have a look ok?

Last edited by redbot (2010-06-08 11:18:58)

Offline

#115 2010-06-08 12:04:32

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

That was i do(how can you see i hide forms for only one section)

And after a get hided forms for all sections


<txp:txp_me />

Offline

#116 2010-06-08 13:41:53

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:

…That was i do(how can you see i hide forms for only one section)
And after a get hided forms for all sections

Ok. I still have a doubt: are you experiencing this issue if you are using bot_wtc with rah_write_each_section or is only a bot_wtc problem?
In this second case may you provide a list of other used plugins?
Also, can you post here the javascript that the plugin outputs in the ‘write’ tab (see page source)?
And, again, which txp version are you using? and which jquery version?

Last edited by redbot (2010-06-08 13:42:47)

Offline

#117 2010-06-09 04:19:11

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, i using bot_wtc with rah_write_each_section
Last txp

Last edited by Katalonian (2010-06-09 09:41:23)


<txp:txp_me />

Offline

#118 2010-06-09 10:13: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:

Yes, i using bot_wtc with rah_write_each_section
Last txp

Ok, thank you.
Now: does bot_wtc work without rah_write_each_section enabled?

Offline

#119 2010-06-09 10:36:25

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

No :( i turn off rah_write_each_section, same trouble…


<txp:txp_me />

Offline

#120 2010-06-09 10:56:25

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:

No :( i turn off rah_write_each_section, same trouble…

Ok. One step at a time: does the plugin output some javascript in the ‘write’ tab?
Look at the ‘write’ tab source and search for:

$("#advanced").show();
		var value = $("select#section.list option:selected").val();

Offline

Board footer

Powered by FluxBB