Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#241 2011-12-02 18:57:02
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
mrdale wrote:
redbot> I have an old old old old issue that I’ve never been able to solve… it’s referenced here
mr> did you ever happen to read this post and preceeding ones?
Is it useful in your case?
Last edited by redbot (2011-12-02 18:57:25)
Offline
#242 2011-12-02 20:30:29
Re: bot_write_tab_customize: rearrange and style items in the write tab
redbot wrote: mr> did you ever happen to read this post and preceeding ones?
Is it useful in your case?
alas that would have been far too simple…
Thanks, I fixed the issue and can now save.
Last edited by mrdale (2011-12-02 20:30:57)
Offline
#243 2011-12-07 18:37:25
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hey redbot,
I have an install where I can’t hide any sections in the dropdown. No matter what section I choose, the pref won’t hold.
I only have about 4 prefs set to move things around, so I’m not sure this is the same kind of thing that Dale mentioned.
Any suggestions?
Running. 4.4.1 and bot_wtc 0.7
Last edited by renobird (2011-12-07 18:38:35)
Offline
#244 2011-12-07 22:34:54
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hey Tom – This might be related… I had something similar once a year or so ago, and it turned out I had an old copy of sed_section_fields running which was still controlling some sections.
Offline
#245 2011-12-07 22:35:00
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
renobird wrote:
…I have an install where I can’t hide any sections in the dropdown. No matter what section I choose, the pref won’t hold…. Any suggestions?
Er… sorry no. From what i can recall I never heard a similar issue.
Let’s see… first of all – just to be sure – are you referring to the “Hide sections in sections dropdown” feature?
If so can you examine the html source of the write tab and check if you see something similar to this (where section1 and section2 are fictious values)?
<script type="text/javascript">
$(document).ready(function() {
$("select#section.list option:not(:selected)[value=section1]").remove();
$("select#section.list option:not(:selected)[value=section2]").remove();
});
</script>
Secondly are the other plugins features (move things around) working?
edit: Or is Tye right? (thanks Tye!)
Last edited by redbot (2011-12-07 22:36:49)
Offline
#246 2011-12-07 23:19:47
Re: bot_write_tab_customize: rearrange and style items in the write tab
Tye, this site used to run sed_section_fields, but it’s no longer installed.
redbot, that’s the thing, when I check a particular section in the bot_wtc pref and hit update it won’t stick.
It just reverts back to all of the sections being unchecked. So, when I view source on the write tab the only thing I see is the JS related to moving other elements — which is working BTW.
Also, just discovered another bit of weirdness. If I try to move a custom field created with glz_custom_fields (1.3.0), I get this error in console on the write tab.
Syntax error, unrecognized expression: [name=custom_5[]]
I sent Gerhard a message on twitter, but I’m not really sure which plugin could be causing the issue.
I can move other custom fields that were created before I installed glz_custom_fields without issue.
Weird huh?
—
Tom
Last edited by renobird (2011-12-07 23:21:22)
Offline
#247 2011-12-08 01:00:39
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
The second issue is a known bug – see here how to fix it untill I release a new version.
The first one is more difficult: I seem to remember this was a bug in an earlier version but you said you got the latest… mmh…
ah, another thing regarding Tye’s suggestion: If I remember correctly sed_section_fields didn’t manage to remove itself completely from the db even when uninstalled. Probably this is a nonsense but maybe you could try to check – thought phpmyadmin – if there is still some sed_section preference left in the txp_prefs table? Bah… actually I think this makes no sense at all …
Sorry Tom, I need to investigate this further but now it’s too late, I’ve got to sleep. I’ll let you know if I’ll have a better idea tomorrow.
Offline
#248 2011-12-08 03:08:24
Re: bot_write_tab_customize: rearrange and style items in the write tab
Perfect! That fixed the syntax error — thank you!
I can hide the unwanted sections via JS myself for now, but I will clean up any remnants for sed_section_fields just in case.
:)
Offline
#249 2011-12-08 12:47:11
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
renobird wrote:
I can hide the unwanted sections via JS myself for now, but I will clean up any remnants for sed_section_fields just in case.
Hi Tom,
good move, at least it will temporarily fix the problem.
Sadly I still can’t think of a solution for the section hiding issue, just to explore the more obvious solutions have you tried to uninstall (using the uninstall button at the bottom of the bot_wtc extensions page) and reinstall?
Offline
#250 2012-01-03 17:43:05
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi all,
I finally found some time to update the plugin. Version 0.7.1 is mainly a bugfix release which should address all issues found till now (of course these issues wouldn’t be there if I followed Jukka’s suggestions from the beginning).
Upgrade notes
The plugin should take care of updating the data stored in the db on activation, anyway I strongly reccommend – especially if you have a lot of rules set – to backup your db before upgrading in case something goes wrong.
Changelog
v 7.1- fixed issue with multiselect and checkboxes cfs
- fixed deprecated jquery
- changed ‘sections’ field from varchar to text
- added missing semicolon at the end of line 903
- removed deprecated language attribute from ‘script’ tag
- updated help
- cleaned up code
Download and info from first post.
Last edited by redbot (2012-01-03 17:43:48)
Offline
#251 2012-01-31 01:41:00
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi redbot,
Not that you should have to keep legacy plugins up-to-date, but …
I have a site that is stuck on Textpattern 4.2, and thus bot_write_tab_customize 0.6.3. I am running into the hidden sections not sticking problem. Any hope for a revised version of this plugin for old versions of TXP? And failing that, any advice for modifications I could make to it to fix this issue?
Offline
#252 2012-01-31 09:54:59
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: bot_write_tab_customize: rearrange and style items in the write tab
Hi Jason,
I’ll have a look when I can access my computer. This won’t happen before two days though.
Offline