Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#133 2012-09-19 20:17:37

alannie
Member
From: Minnesota, USA
Registered: 2005-09-15
Posts: 150

Re: rah_textile_bar

Jukka, thanks for your reply about the list button. If recent browser advances make it any easier to incorporate this feature (turning all selected lines into list items rather than just the first one), I would be very interested. Greatly appreciate your work on this plugin.

Offline

#134 2012-10-30 04:01:51

robhert
Member
From: Perú
Registered: 2007-04-27
Posts: 206
Website

Re: rah_textile_bar

Hi, I made a “hack” to use rah_textile_bar to insert image using its button. (See How to create Macros to insert image with caption)

In line 519

Overwrite function rah_textile_bar_edInsertImage

with this

				function rah_textile_bar_edInsertImage(myField) {
					var myValue = prompt('ID:', '');
					var myTitle = prompt('Leyenda:', '');
					var myValue2 = myValue;
					if (myValue) {
						myValue = '<txp:imagen id="';
						myValue += myValue2;
						if(myTitle) {
							myValue += '" caption="' + myTitle + '';
						}
						myValue += '" />';
						rah_textile_bar_edInsertContent(myField, myValue);
					}
				}

With this, just click on the button of image, and follow the easy steps, ID, is image ID, and Leyenda (Spanish word) stands for Caption. I have erased “Style” because I dont use it. Here I use “imagen” instead of “figure”.

Regards,

Robhert

Last edited by robhert (2012-10-30 13:29:50)

Offline

#135 2013-03-03 19:24:51

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: rah_textile_bar

Hi, I’ve installed this plugin twice and have checked it in four different browsers, but they’re all the same: I can’t see the buttons. They’re all blank. See:

What could’ve gone wrong?

Thanks!

Offline

#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,304

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,304

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

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

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)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#144 2014-01-14 15:53:25

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Re: rah_textile_bar

@NicolasGraph

I’ve exactly the same need. Have you found a solution ?

Offline

Board footer

Powered by FluxBB