Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2011-02-01 12:28:37

sare
New Member
From: Helsinki
Registered: 2010-09-26
Posts: 7

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

“Ossum” is spot on. Thank you so much, works miracles with glz_cf

Offline

#170 2011-02-01 14:25:29

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

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

sare wrote:

“Ossum” is spot on. Thank you so much, works miracles with glz_cf

Thanx sare ;-)

Offline

#171 2011-02-18 13:33:12

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

Is there a way I could get bot_wtc to work with hiding/showing arc_twitter for certain sections?

Offline

#172 2011-02-18 15:09:13

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

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

philwareham wrote:

Is there a way I could get bot_wtc to work with hiding/showing arc_twitter for certain sections?

Probably yes.
The issue is I can’t istall this plugin as it needs a twitter account to work and I don’t have one.
You can help me pasting here the html output in the write tab and possibly a screenshot.

Offline

#173 2011-02-18 15:28:24

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

OK thanks redbot, here’s the code as it appears in the write page…

<fieldset id=“arc_twitter”>
<legend>Update Twitter</legend>
<input type=“radio” id=“arc_tweet_this-arc_tweet_this-0” name=“arc_tweet_this” value=“0” class=“radio active” checked=“checked”>
<label for=“arc_tweet_this-arc_tweet_this-0”>No</label>
<input type=“radio” id=“arc_tweet_this-arc_tweet_this-1” name=“arc_tweet_this” value=“1” class=“radio”>
<label for=“arc_tweet_this-arc_tweet_this-1”>Yes</label>
<p class=“plain lever” style=“margin-top:5px;”><a href=”#arc_twitter_options”>Options</a></p>
<div id=“arc_twitter_options” class=“toggle” style=“display:none”>
<label for=“arc_twitter_prefix”>Tweet prefix</label>
<input type=“text” value=“Just posted:” name=“arc_twitter_prefix” size=“22” class=“edit” id=“arc_twitter_prefix”>
<label for=“arc_twitter_suffix”>Tweet suffix (eg #hashtags)</label>
<input type=“text” value=”“ name=“arc_twitter_suffix” size=“22” class=“edit” id=“arc_twitter_suffix”>
</div>
</fieldset>

Offline

#174 2011-02-18 15:37:01

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

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

philwareham wrote:

OK thanks redbot, here’s the code as it appears in the write page…

Try this:

Add this line

'arc_twitter' => '$("#arc_twitter")',

in any point between line 19 and 54.

Let me know if it works

Offline

#175 2011-02-18 16:01:27

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

Works perfect, many thanks! I can now show/hide/move arc_twitter on the write page.

Offline

#176 2011-03-09 16:55:35

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

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

redbot wrote:

Meanwhile you can easily do it yourself installing some firefox add-on such as the “Web Developer Toolbar” or “Firebug” or “Css viewer” or another of the thousands available.

This is such a great plugin. I wanted to recommend CSSEdit for helping with the CSS customization of the TXP backend along with this plugin. It has an inspector where you can easily see the ID’s classes of an element and all its ancestors. Also, you can make changes to your CSS locally, which are instantly reflected in the “Live Preview” of your TXP admin (or any other site for that matter) and then you can upload the CSS when you’re satisfied.

Offline

#177 2011-03-10 01:21:56

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

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

nabrown78 wrote:

…This is such a great plugin. I wanted to recommend CSSEdit for helping with the CSS customization of the TXP backend along with this plugin. It has an inspector where you can easily see the ID’s classes of an element and all its ancestors. Also, you can make changes to your CSS locally, which are instantly reflected in the “Live Preview” of your TXP admin (or any other site for that matter) and then you can upload the CSS when you’re satisfied.

Thank you Nora! I fear your suggestion will be useful only for mac users though. For all the others I still reccomend firebug or/and the Web Developer Toolbar for Firefox.

Offline

#178 2011-03-10 03:49:35

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

Safari also has a very useful Inspector that’s part of its integrated web developer toolset, and Safari isn’t just for Mac users these days.

Offline

#179 2011-03-22 15:15:05

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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

Hi redbot.
I’m having an issue with the plugin, and I’m not sure where to start debugging.

On my local environment, when I try to apply some changes to bot_wtc rules (on bot_wtc tab) by hitting any of the “Update” buttons, I got redirected to the “Write” tab.
Weird thing is that on a remote deployment for the very same site, the plugin works fine.

Well… wait a minute… let’s try something quickie.
Let’s uninstall the plugin (just triggering the database cleaning step) and re-installing the tables again.


OK, it seems that worked! Of course, I’ve lost all bot_wtc customizations. I’ll dump the remote DB again and see if I can reproduce the problem.

I post this just in case someone is having the same issue.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#180 2011-03-22 16:20:10

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

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

maniqui wrote:

…OK, it seems that worked! Of course, I’ve lost all bot_wtc customizations. I’ll dump the remote DB again and see if I can reproduce the problem…

Phew! I’m so glad you solved it by yourself Juliàn. You know, spring is approaching and I’m really not in the mood for bug hunting these days ;-)
Anyway is it something similar to this? This is a bug I never managed to solve or even reproduce.

Last edited by redbot (2011-03-22 16:21:40)

Offline

Board footer

Powered by FluxBB