Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rah_textile_bar
in the write tab, i don’t see anything at all.
nor does http://_domain_/?rah_textile_bar_img=image work.
okay, i’ll have a look at the jquery, the latter idea with the empty line endings sounds good, too, though i don’t fully understand it … i just checked the plugin code for unusual invisbles/line breaks, and there were none.
Offline
Re: rah_textile_bar
so … i could make this work on two other installations of txp now. without any difficulties or errors. phew.
but still not on the initial one …
Offline
Re: rah_textile_bar
funtoosh wrote:
okay, i’ll have a look at the jquery, the latter idea with the empty line endings sounds good, too, though i don’t fully understand it … i just checked the plugin code for unusual invisbles/line breaks, and there were none.
Not the plugin, Textpattern :) (Transfer as binary etc).
funtoosh wrote:
so … i could make this work on two other installations of txp now. without any difficulties or errors. phew.
Of course, it’s meant to work :)
What are those other plugins which you’ve been unsuccessful to install? Which method you run your PHP? Do your host have limited functions or actions? Does your user have access to create MySQL tables? Does your server return errors to error logs?
Offline
#79 2009-03-06 19:42:13
- CWhite
- New Member
- Registered: 2009-03-03
- Posts: 4
Re: rah_textile_bar
Parse Error, Unexpected T-STRING.
I’ve just installed this plug-in and checked all the comments here, but don’t see this error mentioned, so obviously I’ve done something dumb, or my system is odd somehow.
The full error is:
Parse error: syntax error, unexpected T_STRING in C:\Inetpub\wwwroot\CW-TP\textpattern\lib\txplib_misc.php(570) : eval()’d code on line 14
The above errors were caused by the plugin:rah_textile_bar
I installed the compressed version and received the error above. Previously, I installed the uncompressed version and got a different error. That error mentioned something about inserting “name=‘disabled’ in line 82”, but looking at line 82 made me think that didn’t make sense. That’s when I tried the compressed version and got the “Parse error” message.
The effect of the error is that the text size increases and your plug-in doesn’t appear … even after closing the site, deactivate and reactivate the plugin, and ensuring that “Leave text untouched” is set. (The increase in text size may be because I’m running the Serene template which uses relative text sizing).
I’d really like to get this running and can tell from the comments it’s very useful. Can you help?
I’m running XP (up to date), FireFox 3.07, Textpattern 4.0.8, PHP 5.2.4, MySQL 5.0.45-community-nt
Offline
#80 2009-03-09 10:01:04
- txpnisti
- Member
- Registered: 2009-02-25
- Posts: 23
Re: rah_textile_bar
Hi Jukka!
Very cool and usefull plugin for making sites for others, thanks! One question: is it easy to add some own buttons to bar? I would need to add “no-textile, div ends, div class=blahblah starts” code easily between textblocks. (Those would be triggers for jquery-based pagination.) Easier for writers if they don’t have to remember anything extra :)
Offline
Re: rah_textile_bar
CWhite wrote:
I’d really like to get this running and can tell from the comments it’s very useful. Can you help?
Check that the plugin source code matches Rahforum.biz’s source block.
txpnisti wrote:
One question: is it easy to add some own buttons to bar?
Maybe in future :)
Offline
#82 2009-03-09 20:45:25
- txpnisti
- Member
- Registered: 2009-02-25
- Posts: 23
Re: rah_textile_bar
Gocom wrote:
One question: is it easy to add some own buttons to bar?
Maybe in future :)
So you are publishing it soon, aren’t you :)
Offline
Offline
#84 2009-03-10 07:48:56
- txpnisti
- Member
- Registered: 2009-02-25
- Posts: 23
Re: rah_textile_bar
Oh shit! That’s bad luck! Hope you will recover well.
Offline
Re: rah_textile_bar
In hopes that this might help others I thought I’d offer my experience. I installed this plugin and everything seemed great, but when you used it in IE, it would show up the first time you opened an article, then not again. I upgraded to the most recent version of jquery, and everything works great now.
Offline
#86 2009-03-10 18:34:16
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: rah_textile_bar
Hi Jukka,
my best wishes for a speedy recovery!
Martin
Offline
#87 2009-03-19 02:01:44
- Crossbound
- New Member

- From: Florida, USA
- Registered: 2008-05-11
- Posts: 5
Re: rah_textile_bar
I’m getting the same error as CWhite..
A problem occured while loading the plugin: rah_textile_bar -> User_Warning: Field ‘value’ doesn’t have a default value insert into rah_textile_bar set name=‘disable’ on line 82
The buttons appear over the text area as they should and seem to work fine. The fonts in textpattern admin are all supersized. And I don’t seem to be able to disable any of the buttons.
I’ll be playing with it a little more in the next week to see if I can find a solution, but if somebody finds a solution before that, it would greatly be appreciated.
Great work on the Plug-in Jukka.
Billy J.
Offline
Re: rah_textile_bar
Crossbound wrote:
I’m getting the same error as CWhite..
It’s not same error as CWhite’s – a whole different thing ;)
Yours is just a MySQL limitation in strict mode. Fixed in new version, rah_textile_bar 0.3.3. Changelog:
- Fixed error that occured when running MySQL in strict mode, caused by undefaulted not null in install script.
So, should work now and thank you for reporting, Crossbound :)
Last edited by Gocom (2009-03-19 03:02:52)
Offline
#89 2009-03-19 11:10:47
- Crossbound
- New Member

- From: Florida, USA
- Registered: 2008-05-11
- Posts: 5
Re: rah_textile_bar
Thanks Gocom
Will try it out right away..
btw, I had the same error as CWhite’s when he had the uncompressed version installed.. (but yes you are right, not the same for the main issue he posted about. I should have clarified that)
I will have to train a customer on using Textpattern and Textile tonight, so this will make my life a lot easier!
Billy
Offline
#90 2009-03-19 13:20:28
- Crossbound
- New Member

- From: Florida, USA
- Registered: 2008-05-11
- Posts: 5
Re: rah_textile_bar
Jukka,
I still got MySQL error and had to manually change the MySQL install script in the plug-in.
In rah_textile_bar_install() I changed the following:
LONGTEXT NOT NULL default ‘’ -> LONGTEXT NOT NULL
I guess this issue might be somewhat isolated to my MySQL installation..?! :-)
It works like a charm now! Thanks!
Last edited by Crossbound (2009-03-19 13:48:08)
Offline