Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-11-01 19:24:47

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

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

This let’s you define classes for items that normally couldn’t be targeted with simple css

now, that’s powerful ! Thanks!

Last edited by PascalL (2009-11-01 19:25:02)

Offline

#26 2009-11-17 01:13:17

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

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

Great plugin Redbot!

Feature suggestion: besides “before” and “after” a “hide” option to remove certain items from the write page. Right now, for each item I want to hide, I need to add a class and some extra custom jquery.

Last edited by jelle (2009-11-17 01:16:51)

Offline

#27 2009-11-17 02:05:33

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:

… Feature suggestion: besides “before” and “after” a “hide” option to remove certain items from the write page. Right now, for each item I want to hide, I need to add a class and some extra custom jquery.

Hi jelle,
To tell the truth I didn’t include this feature on purpose given that I use (and recommend) ied_hide_in_admin which allows for a more granular per-user elements hiding and works also in the “categories” subtab.
Actually sometimes I really don’t need an item and so I use a method similar to yours – i.e. apply a class “hide” – (I have an “hide{display:none;}” rule in my standard txp.css file).
So, thank you for the suggestion but I don’t know if I’m gonna implement this. I’m rather planning to add a more challenging feature IMHO: the ability to hide/show items on section change (essentially I’m trying to incorporate and update my proof-of-concept plugin bot_hide_per_section ).
This – combined with glz_custom_fields and with his ability to add textareas – plus the ability to hide every item, not only cfs (and possibly adding to the mix rah_for_each_section), could allow for a really higher level of customization.

Last edited by redbot (2009-11-17 11:05:54)

Offline

#28 2009-11-17 08:49:23

FireFusion
Member
Registered: 2005-05-10
Posts: 698

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

I’m getting the following error when assigning two of my glz custom fields after the body area.

Notice: Undefined index: $("p:has(*[name=custom_2])") in /home/kweb/public_html/kmc2/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 302

Notice: Undefined index: $("p:has(*[name=custom_3])") in /home/kweb/public_html/kmc2/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 302

Offline

#29 2009-11-17 09:41:13

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

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

FireFusion wrote:

I’m getting the following error when assigning two of my glz custom fields after the body area.

Notice: Undefined index: $("p:has(*[name=custom_2])") in /home/kweb/public_html/kmc2/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 302

Notice: Undefined index: $("p:has(*[name=custom_3])") in /home/kweb/public_html/kmc2/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 302

You are perfectly right, my fault. I left an ancient stray line in the plugins code which is causing the bug.
I hope to release a new version shortly, in the meantime you can solve the problem by just editing the plugin and removing line 302.
Thanks.

Offline

#30 2009-12-01 16:06:50

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.5 is out.
Main additions:

  • 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

The plugin has been partly rewritten so if you are using a previous version you must first uninstall it completely (from extensions > bot_wtc > uninstall).

Please report here any bugs or problems.

For download and infos see updated first post

Offline

#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: 603
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

Board footer

Powered by FluxBB