Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2009-12-01 16:50:41

jelle
Member
Registered: 2006-06-07
Posts: 165

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

redbot wrote:


  • The plugin now incorporates bot_hide_per_section so every item (not only cfs) can be hidden on a per section basis
  • sections can be excluded from the “sections” dropdown
  • some bugs corrected

PER-FECT!
Where do I send my paypal donation?

Last edited by jelle (2009-12-01 16:51:05)

Offline

#32 2009-12-02 11:10:25

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:

PER-FECT!
Where do I send my paypal donation?

Hi jelle ;)
Thank you for the kind offer but I never thought someone would like to donate for a plugin of mine,
so… consider it as done, thank you!

Offline

#33 2009-12-03 20:23:08

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 562
Website

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

Thanks for the new plugin =)
I was using the bot_hide_per_section before, that also let to hide the “Article Markup” & “Excerpt Markup”
can you please also add this to bot_wtc ?

Offline

#34 2009-12-04 08:26:56

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

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

THE BLUE DRAGON wrote:

…I was using the bot_hide_per_section before, that also let to hide the “Article Markup” & “Excerpt Markup”
can you please also add this to bot_wtc ?

v 0.5.1

Offline

#35 2009-12-06 23:38:10

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

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

v. 0.5.2 fixes a stupid bug occurring when attaching a class to an item (two dots instead of one where added to class names)

Offline

#36 2009-12-07 07:50:51

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

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

This is a fantastic plugin! Thanks, redbot!

But I have a feature request though. A collapsible excerpt text area would be great. One that “remembers” its state.

Offline

#37 2009-12-07 09:43:21

jelle
Member
Registered: 2006-06-07
Posts: 165

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

Another feature request:

The Item dropdown menu is sorted alphabetically, which if fine. But customfields get scattered between the regular write tab elements. If you have a lot of customfields it’s hard to find them. Maybe group the customfields and add them to the bottom of the list?

Same goes for bot_admin_toolstips.

Last edited by jelle (2009-12-07 09:44:56)

Offline

#38 2009-12-07 12:33:06

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

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

mapu wrote:

… I have a feature request though. A collapsible excerpt text area would be great. One that “remembers” its state.

Hi mapu,
The collapsible excerpt textarea should be achievable adding some simple jquery in the appropriate box.
As for the cookie there is this jquery plugin which may help. Just download the plugin, upload it in your script folder (mine is /js) and write the needed jquery code in the js box. I’ll try it myself if I found some free time.

jelle wrote:

The Item dropdown menu is sorted alphabetically, which if fine. But customfields get scattered between the regular write tab elements. If you have a lot of customfields it’s hard to find them. Maybe group the customfields and add them to the bottom of the list?

Thanks jelle, I’ll think about it.

Edit

For the collapsible excerpt write this rules in the js box, after you have attached a “collapse” class to the excerpt:

<script type="text/javascript">
    $(document).ready(function() {
	    $(".collapse label").click(function(){
	  		$(this).parent().find("textarea").slideToggle();
		});
	});
</script>

or, if you are using hak_tinymce:

<script type="text/javascript">
    $(document).ready(function() {
	    $(".collapse label").click(function(){
	  		$(this).parent().find("span").slideToggle();
		});
	});
</script>

The cookie part should be just a little more complicated. I’ll try when I can

Last edited by redbot (2009-12-07 13:54:56)

Offline

#39 2009-12-08 06:45:35

mapu
Member
From: Munich, Germany
Registered: 2004-03-16
Posts: 141

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

redbot wrote:

For the collapsible excerpt write this rules in the js box, after you have attached a “collapse” class to the excerpt:

I’m grateful for every help because I’m an amateuer when it is going beyond HTML & CSS! ;-)

I did like you advised but it’s not working. From the source code of the write tab I can see that the javascript is injected as intended but the excerpt textarea has no .collapse class added (although the js of the plugin to add it is there).

Edit

Also tested it with the body text area. .collapse is also not being added there.

Edit

Shame on me. I Just saw that you released an update because of adding classes…. It is now working as intended! Thanks a lot!

Last edited by mapu (2009-12-08 06:50:26)

Offline

#40 2009-12-16 13:13:36

simoin
Member
From: Ireland
Registered: 2009-02-10
Posts: 50
Website

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

Thanks for this plugin redbot! it’s proving very useful

Offline

Board footer

Powered by FluxBB