Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#41 2009-12-16 13:18:07

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

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

simoin wrote:

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

+1. I can’t express how helpful this is!

Offline

#42 2009-12-16 14:59:05

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

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

John & Simon,
thank you. FYI As soon as possible I’ll release an updated version which addresses this request by jelle and adds some items I forgot (i.e “prev”, “next” and “create new”)

Offline

#43 2010-01-05 19:57:53

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

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

Superb plug in!
Seems to be working fine with glz_custom_fields too(so far)!

But I did come across a problem which I think was to do with two sections that had the same several letters.
speaking & speakingcal It wouldn’t change the settings one without the other, so I could only check the box for speaking if speakingcal was on too and the same for off.

the problem was when I was trying to show only custom fields to the section speaking I updated but ignored my changes, I assume becasue I didn’t want the same for speakingcal section too.

Is it recognising the word speaking and think they are the same section?

I have change speakingcal section to something else and seems to be working now.

Just thought I’d let you know – Still love it!

Offline

#44 2010-01-05 20:27:54

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

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

Hi Oliver, thank you for reporting.
You are right, it seems to be a bug. Unfortunately I’m rather busy at the moment so I don’t know if I’ll find the time to try to solve the problem now but I hope I’ll be able to release a new version relatively soon.

Offline

#45 2010-01-24 16:59:25

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 >

This is awesome. A very nice replacement for sed_section_fields. I have a suggestion based on my own usage style.

Most of my sites most of my custom fields are used in single sections only. So the present behavior requires me to go through 20+ custom fields and switch them off in most places, whereas being able to specify multiple sections to enable/disable multiple items would be totally awesome.

  • Idea> How about adding an area with the following: two multiple selects side by side; items and sections add show and hide radio buttons and an update button. That would take care of most of my site in just a few page reloads. You could call it “Advanced Apply” and collapse it by default.

Regardless, this is a very useful plugin and very nicely implemented.

Last edited by mrdale (2010-01-24 17:14:37)

Offline

#46 2010-01-24 17:43:43

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

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

I also love this plugin. My usage is the same as Dale’s.

Offline

#47 2010-01-24 19:16:34

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

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

Great plugin: A couple things I saw:
At the moment you cannot hide the Comment on/off switch, the Comment Invite or the category box from rss_unlimited_categories.

Offline

#48 2010-01-24 21:43:04

speeke
Member
From: Bruny Island, Australia
Registered: 2009-03-29
Posts: 161
Website

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

I would like to add my thanks also for this plugin. Great replacement for sed_section_fields, and works brilliantly with glz_custom_fields.

A couple of queries:

1. I have a project where I’m not using categories at all – only custom fields. At present, if I try to hide the category tags (where no categories exist), the Category 1 and 2 titles remain visible. Would it be possible to add functionality to hide these labels in this case?

2. Am I correct in assuming that the Hide sections in sections dropdown should hide the section name in the section list dropdowns for each item? If so, my installation is not doing this. No matter which section I select to hide, it still shows up in the dropdown form fields above.

And lastly, I would like to echo mrdale’s suggestion of:

being able to specify multiple sections to enable/disable multiple items

as I have a similar setup.

Last edited by speeke (2010-01-24 22:40:53)


“People who value their privileges above their principles soon lose both.”
Dwight D. Eisenhower

Offline

Board footer

Powered by FluxBB