Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#136 2013-06-27 06:34:38
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
Hi.
Is it possible to make an anchor with rah_textile_bar? If it isn`t, how could it be implemented?
What i need is the following:
<span id=“anchor”></span>
And/Or the possibility to put an ID into H1-H6 tags.
Offline
#137 2013-06-27 12:55:02
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: rah_textile_bar
Can’t tell whether this still works, I hacked the plugin when v0.4 was the current one, I needed a span.class. But it took three changes, while adding an ID to an Hn tag will take only one, if I’m not terribly mistaken.
Look for 'h1. ' (Note the space after the dot!) and replace by 'h1(#indivIDhere). '
Proceed the same way with H2-6.
indivIDhere or the like should be selectable with a double-click to be less error prone.
Last edited by uli (2013-06-27 12:59:26)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#138 2013-06-27 15:14:56
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
Hi Uli.
It works! Thank you :o).
Offline
#139 2013-07-08 10:17:11
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
Hi.
I have just installed a new copy of textpattern and rah textile bar and i have the same problem as wordgasm. The buttons are blank.
When I run the diagnostics, it says the following:
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: show_source, pcntl_exec
Offline
#140 2013-07-08 13:39:53
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: rah_textile_bar
MrPS wrote:
The buttons are blank.
Hm, reading your last posts one might assume you’ve killed one H1 too many in the base64 icon code :)
What happens if you use a fresh download of the plugin?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#141 2013-07-08 13:52:30
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
Hi Uli.
That was on another site, using a different host.
I used the newest version of textpattern and the plugin.
Offline
#142 2013-07-09 14:28:21
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
I solved the following error: The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: show_source, pcntl_exec.
The buttons are still blank though.
All I have on the site is the `Welcome to Your Site` article.
Offline
#143 2013-09-20 11:37:05
Re: rah_textile_bar
Hi,
I’m using upm_textile to ‘textilize’ the images captions. Is there an easy way to display the rah_textile_bar in the image tab for the caption field? Can I do that ?
Thx!
Last edited by NicolasGraph (2013-09-20 13:19:40)
Offline
#144 2014-01-14 15:53:25
Re: rah_textile_bar
@NicolasGraph
I’ve exactly the same need. Have you found a solution ?
Offline
#145 2014-01-17 14:34:12
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: rah_textile_bar
Here’s the button bar for the image caption field:
around line 54
- 'rah_textile_bar_excerpt' => 'Attach to Excerpt field'
+ 'rah_textile_bar_excerpt' => 'Attach to Excerpt field',
+ 'rah_textile_bar_image_caption' => 'Attach to Image Caption field'
around line 116
- foreach(array('body','excerpt') as $val)
+ foreach(array('body','excerpt','image_caption') as $val)
around line 122
- $att[0] == 'body' || $att[0] == 'excerpt' ?
+ $att[0] == 'body' || $att[0] == 'excerpt' || $att[0] == 'image_caption' ?
around line 133
- if($att[0] == 'body' || $att[0] == 'excerpt')
+ if($att[0] == 'body' || $att[0] == 'excerpt' || $att[0] == 'image_caption')
around line 198
- if($event != 'article')
+ if($event != ('article'||'image'))
around line 216
- $fields = array('body','excerpt');
+ $fields = array('body','excerpt','image_caption');
And a quick hairdo:
Around line 655 add to the end of the CSS block:
#page-image #rah_textile_bar_2 {
float: left;
width: 100%;
}
Functions properly here. In case this modification for v0.7 doesn’t work for you from the beginning, try visiting Advanced Preferences, perhaps save once there try the following: Copy the altered plugin code, de-install the plugin (don’t just de-activate it, delete it) reinstall it from file and replace its code by the one you copied before.
Last edited by uli (2015-05-22 20:17:19)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#146 2014-06-16 15:35:06
Re: rah_textile_bar
Has anyone had an problems with rah_textile_bar recently? All my editor buttons have disappeared (in Firefox and Chrome) leaving blank boxes where they should be. It seems like I’m missing the image(s) used. I have downloaded the latest plugin version and re-installed but there’s no difference. My Diagnostics panel says everything is OK.
Thanks if you can help
Last edited by clivewalker (2014-06-16 15:35:30)
Offline
#147 2014-06-16 17:38:27
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
clivewalker wrote #281463:
Has anyone had an problems with rah_textile_bar recently? All my editor buttons have disappeared (in Firefox and Chrome) leaving blank boxes where they should be. It seems like I’m missing the image(s) used. I have downloaded the latest plugin version and re-installed but there’s no difference. My Diagnostics panel says everything is OK.
Thanks if you can help
Do you also have the plugin hak_tinymce installed?
Offline
#148 2014-06-16 19:00:58
Re: rah_textile_bar
@MrPS: No, I don’t although I tried that plugin ages ago. It was uninstalled/deleted at least a year ago. Is there a conflict between the two plugins??
Offline
#149 2014-06-17 01:57:23
- MrPS
- Member
- Registered: 2011-11-09
- Posts: 34
Re: rah_textile_bar
clivewalker wrote #281465:
@MrPS: No, I don’t although I tried that plugin ages ago. It was uninstalled/deleted at least a year ago. Is there a conflict between the two plugins??
Ok. I had the same problem a while ago. In my case, it was hak_tinymce that created problems. Maybe there is a conflict between rah_textile_bar and another plugin on your site. Perhaps you should try to deactivate all plugins on the site and reinstall rah_textile_bar. Btw I have rah_textile_bar on my site and I have no problems.
Offline
#150 2014-06-17 07:20:47
Re: rah_textile_bar
@MrPS: I haven’t been able to find a plugin conflict so I decoded the base64 image string, uploaded the resultant image and modified the plugin to use this rather than the base64 string. It works.
No idea why the plugin had this problem after working OK for at least a year but the fix is fine for me at the moment.
Last edited by clivewalker (2014-06-17 07:22:01)
Offline