Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1171 2016-03-05 15:13:32

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

uli wrote #294121:

The most recent hak_tinyMCE-version is 1.0.2.3.

I think that hasn’t changed since August 2015, so if the plugin you download has that version # … bingo!


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1172 2016-03-05 19:31:05

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: hak_tinymce WYSIWYG article editor

tNr wrote #298152:

hello
am a bit late,
are the links on the first page , if no please can someone give me the most recent link to get the plugin
THANKS

You can get the plugin into its page

Offline

#1173 2016-03-06 20:29:44

tNr
New Member
Registered: 2015-05-07
Posts: 9

Re: hak_tinymce WYSIWYG article editor

uli wrote #298159:

I think that hasn’t changed since August 2015, so if the plugin you download has that version # … bingo!

Well the links on the first page are sill working… was lazy to check before askng

Offline

#1174 2016-03-06 20:42:15

tNr
New Member
Registered: 2015-05-07
Posts: 9

Re: hak_tinymce WYSIWYG article editor

only problem is my Insert/Edit Link and Unlink options aren’t working, they are disablrd

Offline

#1175 2016-03-06 21:50:01

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

tNr wrote #298171:

only problem is my Insert/Edit Link and Unlink options aren’t working, they are disablrd

They’re disabled even though you’ve some text selected?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1176 2016-04-08 15:20:47

alivato
Member
Registered: 2011-03-31
Posts: 152

Re: hak_tinymce WYSIWYG article editor

Admin theme Hive & hak_tinymce width

If width big, ok

If width small, mobile version

?

Can I register within the width: min-width, max-width, in mobile version?

Or is there another solution?

Offline

#1177 2016-05-26 07:04:27

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: hak_tinymce WYSIWYG article editor

I’ve hundreds of images uploaded, when i want to insert image through hak_tinymce editor on my article, there will show just image thumbnails and that’s very hard to find a specific image which I need.
I need to display image name with each mage on hak_tinymce editor plugin, then easily i can press Ctr+F to find ;-)

Offline

#1178 2016-05-26 15:17:53

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

raminrahimi wrote #299288:

I need to display image name with each mage on hak_tinymce editor plugin, then easily i can press Ctr+F to find ;-)

Image name, i.e. e.g. 225.jpg? Or do you mean “image name on upload”? I could offer a hack for one of caption/alt text/225.jpg.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1179 2016-05-26 17:29:10

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

While enjoying the sunny weather on the balcony I had the idea you could copy over image names to alt or caption field via SQL Not necessary, see next post.

Skip that, not required ---UPDATE txp_image SET alt = name;---

Or use caption instead of alt. As always: Make a DB backup before altering the DB.

Open the plugin code and search for

$out[] = '<div class="image '.$selected.'">

That should be at/around line 659. Go to the the very end of that line where it says </div>. Immediately before that tag add the following:

<span class="YOUR_CLASSNAME">'.$caption.'</span>

If you want alt instead shown in the image selector or id use that inside the span. Style to your heart’s desire cause it’ll of course break the grid.

Last edited by uli (2016-05-27 12:51:56)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1180 2016-05-26 17:37:44

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

D’oh, $name is accessible though it’s nowhere in the plugin code.

<span class="YOUR_CLASSNAME">'.$name.'</span>

No SQL-ing around, no DB backup, pristine image name like on upload! :)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1181 2016-05-26 18:30:30

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: hak_tinymce WYSIWYG article editor

Hi uli, thank you for support :-)

I tried the last one works fine but, My each image has two three lines caption, because of that i need to display the image name (world.jpg, cofee.jpg, love.jpg).

Note: i’ve a plugin (fh-article-image-selector) that list all the image names for article_image field, i need such image name with each image to hak_tinymce

Offline

#1182 2016-05-26 18:53:54

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

raminrahimi wrote #299306:

because of that i need to display the image name (world.jpg, cofee.jpg, love.jpg).

Doesn’t this code here do exactly that for you? Here its does so :)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1183 2016-05-26 18:55:38

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

raminrahimi wrote #299306:

Note: i’ve a plugin (fh-article-image-selector) that list all the image names for article_image field, i need such image name with each image to hak_tinymce

Not entirely clear what you mean. Can you post a screen shot please?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#1184 2016-05-26 19:03:26

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

Re: hak_tinymce WYSIWYG article editor

Yes ! that’s great now my problem solved :-)
Thank you !

uli wrote #299308:

Not entirely clear what you mean. Can you post a screen shot please?

Ahu don’t worry about that ;-) that was a reference, that’s a plugin which list the image names easily we can select for each article.

Offline

#1185 2016-05-26 19:32:55

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: hak_tinymce WYSIWYG article editor

raminrahimi wrote #299309:

Yes ! that’s great now my problem solved :-)
Thank you !

You’re welcome.

I’ll transfer these posts to the hak_tinyMCE topic, some time soon, BTW.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB