Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#151 2010-07-08 10:02:01
- 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:
…When i’m hide sections, and turn on rah_write_each_section, after entering to sections, the hided fields still showing
Do you mean that – when you hide some sections in the “Hide sections in sections dropdown” menu – these sections are still visible when you go to the write tab (and you see the rah_write_each_section interface)?
If this is the question that’s the expectded behaviour: rah_write_each_section has his own methods to show/hide sections in its menu.
If you read it’s instructions you’ll see that the inclusion in the menu is determined by the section having the option “Syndicate? “ (in the ‘sections’ tab) checked.
So you must take care of this to make the two work together: when you hide a section with bot_wtc you should also go in the ‘sections’ tab and uncheck “Syndicate?” for each hidden section.
Offline
#152 2010-07-15 17:00:14
Re: bot_write_tab_customize: rearrange and style items in the write tab
redbot do you think is possible,in future, to merge bot_write_tab_customize and ied_hide_in_admin to have a full controll of write tab?
Somewhat like: “which users can view which elements”
Last edited by wornout (2010-07-15 17:02:18)
Offline
#153 2010-07-15 18:32:52
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
wornout wrote:
redbot do you think is possible,in future, to merge bot_write_tab_customize and ied_hide_in_admin to have a full controll of write tab?
Somewhat like: “which users can view which elements”
Hi,
to tell the truth this was my intention from the beginning but then I gave up because:
- it’s not so easy (at least for for me). Too many things to keep into consideration and more complexity = harder mantainability
- the plugins interface (which is already quite complex) would become a lot more complex
- all in all I think it isn’t worth the effort: these plugins can be used together and this should cover – if not all – a lot of possible scenarios
That said, I can’t exclude someday I’ll try to do it.
Is there a special reason you want the two merged together?
Offline
#154 2010-08-13 17:00:26
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi redbot,
sorry for the delay… I was very busy!
The reason why I ask that function is because many client don’t understand Txp easier.
So I’d like to decide what fields will be visible or not, and maybe turn on and off visibility at specific author level.
But this isn’t a big problem for now. I will send you a mockup if I can…
There is another question for you
I can’t upload any script from bot_write_tab_customize.
The page reports:
Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'text/javascript" src="path_to_script"> ", html="textarea" where name ' at line 1 update txp_prefs set val= " ", html="textarea" where name = "bot_wtc_script" in /var/www/vhosts/***.ip/httpdocs/textpattern/lib/txplib_db.php on line 85
It’s a problem with quote?
Last edited by wornout (2010-08-13 20:14:30)
Offline
#155 2010-08-13 18:01:54
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
wornout wrote:
…There is another question for you
I can’t upload any script from bot_write_tab_customize.
Hi,
this bug is a nightmare… and I was sure I fixed it definitely with the last release :-(
before proceeding two questions:
1) are you using v. 0.6.2 ?
2) are you using txp 4.2?
Last edited by redbot (2010-08-14 02:28:15)
Offline
#156 2010-08-14 19:50:22
Re: bot_write_tab_customize: rearrange and style items in the write tab
I’m sorry…
I was deep in the past.
Uploading the version 0.6.2 the problem is no longer present.
Thanks redbot for all support!
Offline
#157 2010-09-14 16:43:01
Re: bot_write_tab_customize: rearrange and style items in the write tab
how come i didn’t know that plugin? great stuff, almost indispensable! thx loads …
Offline
#158 2010-09-14 21:17:16
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
funtoosh wrote:
how come i didn’t know that plugin? great stuff, almost indispensable! thx loads …
Thanks ;-)
Offline
#159 2010-10-08 12:24:16
Re: bot_write_tab_customize: rearrange and style items in the write tab
love it!!
Offline
#160 2010-10-09 14:26:36
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
jens31 wrote:
love it!!
Thank you
Offline
#161 2010-11-14 15:21:16
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
- it is now fully compatible with rah_section_titles
- outputs a lot less js code.
Note that this will probably be the last version compatible with txp 4.2 (it should work ok with 4.3 as well).
Next version will be only for 4.3.
Go to first post for download
Last edited by redbot (2010-11-14 15:22:40)
Offline
#162 2011-01-16 16:59:38
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi redbot, I just upgraded to 4.3, and noticed that I have several new collapsible areas (“labels”) on the Write tab, a few of which I’m unable to hide, since they aren’t listed in bot_wtc. These are “Custom Fields”, “Article Image”, and “Meta”. I would have guessed these would display as ‘xxxxx (label)’ in bot_wtc, like the other collapsible areas I was able to hide. Have you seen this?
btw, the “Article Image” is something different from the one that refers to bot_image_upload…that one does show up in bot_wtc.
Last edited by aswihart (2011-01-16 17:16:13)
Offline
#163 2011-01-16 20:07:54
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
aswihart wrote:
Hi redbot, I just upgraded to 4.3, and noticed that I have several new collapsible areas (“labels”) on the Write tab, a few of which I’m unable to hide, since they aren’t listed in bot_wtc…..
Yes I know, I just need some time to update it. I’ll do asap
Offline
#164 2011-01-20 01:26:54
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
Bot_wtc 7.0 is out.
This version works only with txp v.4.3 – for previus versions use v. 0.6.3.
Changes and issues
Textpattern 4.3 brought a lot of cool enhancements to the “write” tab but also a few drawbacks.
On the ‘enhancement’ side almost every item has now an id or a class. This means a snappier jquery execution and, above all, the possibility to hide these elements with simple css. For these reason I highly reccommend – if you want to hide an item in each section – to set a rule directly in your textpattern css file.
For example:
.override-form {display:none;}
is a lot more efficient than hiding the item in each section using this plugin.
Unluckily there are some little drawbacks in the way the page is designed (IMHO). I’m referring to the several collapsible groups which crowd the ‘write’ tab.
The issue here is while you can easily hide a group label (well, actually it isn’t an html label but an h3) with css, this may lead to trouble if the group is already collapsed. In this case a user will not be able to expand it anymore being there nothing to be clicked.
Of course this is nothing dramatic and can be fixed inserting a tiny jquery rule in the js box. Something like:
<script type="text/javascript">
$(document).ready(function() {
$(".toggle").show();
});
</script>
will keep everything expanded so you can safely hide any label with css (in your textpattern.css file).
Naturally you can also choose to apply this rule only to certain groups like:
<script type="text/javascript">
$(document).ready(function() {
$("#image.toggle, #custom_field.toggle").show();
});
</script>
Let me know if you find any issues (download from first post)
Last edited by redbot (2011-01-20 10:14:30)
Offline
#165 2011-01-20 09:41:42
Re: bot_write_tab_customize: rearrange and style items in the write tab
Great, thanks redbot. Is there a handy list anywhere of all the IDs used in the write page? Otherwise I’ll just sift through the page source myself.
Offline