Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-05-29 14:47:07

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

Re: Write Tab: Reorganizing Information

I’m sorry I have no more ideas then. It should work…
As a last desperate try you could try resetting the plugins load order to the default one (5), but I doubt this will change something.
Should I come up with a an idea I’ll post it here

Offline

#26 2009-05-29 14:48:05

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Write Tab: Reorganizing Information

No problem, I will take several cracks at it and let you know if I discover anything. as always, thank you for the assistance.

progre55

Offline

#27 2009-05-29 16:25:51

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Write Tab: Reorganizing Information

progre55, you should check what version of jquery is loaded. Redbot’s example will work in 1.3+ versions


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#28 2009-05-29 17:33:08

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

Re: Write Tab: Reorganizing Information

the_ghost wrote:

progre55, you should check what version of jquery is loaded. Redbot’s example will work in 1.3+ versions

I also thought it could have to do with jquery version but actually I’m using 2.6 and it works.

Last edited by redbot (2009-05-29 17:33:36)

Offline

#29 2009-05-29 19:22:01

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Write Tab: Reorganizing Information

Guys I will test further. Like I mentioned, it works fine on articles that have been saved, it is only on new articles where the alt field is still displayed.

I will let you know. Thanks for the assistance.

progre55

Offline

#30 2009-05-29 22:12:07

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

Re: Write Tab: Reorganizing Information

Oops! You are right. The mistake was mine as I told you to modify the bot_show_image plugin (which of course executes only when an article actually exists).
I was trying to let you save time and efforts by modifying this plugin instead of creting a new one but I was terribly wrong.
If you can wait till tomorrow I’ll post a ready-made simple plugin which does what you want (and this time it must work).

Offline

#31 2009-05-29 22:31:40

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

Re: Write Tab: Reorganizing Information

Ok, if you still want to try, install this little plugin. This time it should work.
It hides the alt field and moves the article image field at the top of the left column (your first request).
Once installed you can add here any further jquery rule for the write tab and remove all previous bot_show_image hacks.

YToxMDp7czo0OiJuYW1lIjtzOjg6ImJvdF9oaWRlIjtzOjY6ImF1dGhvciI7czowOiIiO3M6
MTA6ImF1dGhvcl91cmkiO3M6MDoiIjtzOjc6InZlcnNpb24iO3M6MzoiMC4xIjtzOjExOiJk
ZXNjcmlwdGlvbiI7czowOiIiO3M6NDoiY29kZSI7czo2MDI6Ii8vPD8NCmlmKCBAdHhwaW50
ZXJmYWNlID09PSAnYWRtaW4nICl7DQoJcmVnaXN0ZXJfY2FsbGJhY2soJ2JvdF9oaWRlX2lu
X3dyaXRlX3RhYicsJ2FydGljbGUnKTsNCn0NCg0KZnVuY3Rpb24gYm90X2hpZGVfaW5fd3Jp
dGVfdGFiKCl7DQoNCglnbG9iYWwgJHR4cF91c2VyOw0KDQoJZWNobw0KCQknPHNjcmlwdCBs
YW5ndWFnZT0iamF2YXNjcmlwdCIgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij4nLm4uDQoJCScJ
JChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKSB7Jy5uLg0KCQknCQkkKCIjYXJ0aWNsZS1p
bWFnZSIpLnBhcmVudCgpLmluc2VydEJlZm9yZSgkKCIjYXJ0aWNsZS1jb2wtMSBoMy5wbGFp
bjpmaXJzdCIpKTsnLm4uDQoJCScJCSQoIGZ1bmN0aW9uKCkgew0KCQkJCQkJJCgiI2xhbS1w
aWN0dXJlcyIpLmxvYWQoIGZ1bmN0aW9uKCl7DQoJCQkJCQkJJCh0aGlzKS5jb250ZW50cygp
LmZpbmQoImlucHV0W25hbWUqPWFsdF0iKS5oaWRlKCk7DQoJCQkJCQkJJCh0aGlzKS5jb250
ZW50cygpLmZpbmQoImxhYmVsW2Zvcj1hbHRdIikuaGlkZSgpOw0KCQkJCQkJfSk7DQoJCQkJ
CX0pOycubi4JCQkJCQ0KCQknCX0pOycubi4NCgkJJzwvc2NyaXB0Pic7DQp9IjtzOjQ6InR5
cGUiO3M6MToiMyI7czo1OiJvcmRlciI7czoxOiI1IjtzOjQ6ImhlbHAiO2I6MDtzOjM6Im1k
NSI7czozMjoiOTg5ZmRkMmI1MTdjNDdmNmMzMTExNzdjOTNmNTQ2MDgiO30=

Offline

#32 2009-06-01 16:48:10

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Write Tab: Reorganizing Information

redbot:

Worked like a charm. :)

Thanks for the assistance and it really will come in very handy when I want to have a “generic” plug in that I can modify the look and feel of the write tab.

Thanks again.

progre55

Offline

#33 2009-06-01 21:05:21

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

Re: Write Tab: Reorganizing Information

Glad it finally worked ;)
And, yes, you are right about the “generic” plugin usefulness. I actually write a slightly different one for every site I build.
Keep in mind that with some modifications you can quite easily alter all the other tabs so to enhance usability and fine-tune each specific site interface.

Last edited by redbot (2009-06-01 21:06:18)

Offline

Board footer

Powered by FluxBB