You are not logged in.
just a random tip, i noticed in wordpress they use tinymce but their window is vertically resizable. if you want the same functionality for your TXP install, just add these lines to your initialization via the plugin preferences:
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : "true",
theme_advanced_resize_horizontal : "false",
you can remove the last line if you want to be able to resize the textarea horizontally as well.
Offline
Great find, but it doesn’t appear to work. The opton is there, but dragging doesn’t result in anything.
Offline
johnnie wrote:
Great find, but it doesn’t appear to work. The opton is there, but dragging doesn’t result in anything.
hmm thats odd. works fine for me. it even remembers its last dragged placement as well. wooo.
Offline
Does anybody knows how to change width and height of txpimage plugin popup window and make it resizeable?
Job: www.web-art.cz | E-zin: www.ovsem.net
Projects: Czech free fonts | Profi CSS | jQuery, icons | Plugo – tvorba eshopu | Mutant & Voodoo Dolls | Facebook ecommerce app
Offline
beztak wrote:
Does anybody knows how to change width and height of txpimage plugin popup window and make it resizeable?
edit tinymce/plugins/txpimage/editor_plugin.js
Offline
Of course, I’m very sorry, I was looking in all files in txpimage but I was so blind ;)
But now I have another question:
When I upload image, fill alt (e.g. “Universal Ocel, s.r.o.”), save… and then write an article, insert image (due to txpimage) – alt is autofill with image alt BUT in this way “Universal Ocel%2C s.r.o.”
Comma is replaced with %2C… How to avoid it?
Job: www.web-art.cz | E-zin: www.ovsem.net
Projects: Czech free fonts | Profi CSS | jQuery, icons | Plugo – tvorba eshopu | Mutant & Voodoo Dolls | Facebook ecommerce app
Offline
Hey Hakjoon I was wondering how I would change the folderthat txpimage is pulling the images from? I looked through functions.js and saw where it calls the url, but have been unsuccessful in changing it.
Offline
Beztak: If you look towards the end of functions.js in the txpimage plugin folder there is a line that says $('#alt').set("value",decodeURI(alt)); I was probably encoding the alt attribute in case there were quotes or invalid characters. You could probably just change it to $('#alt').set("value",alt); if you think it’s safe.
whsjr86: it does two ajax calls to texpattern events that are registered as part of the plugin. Look for these lines in functions.js
// Get the categories
$.get(tinyMCE.documentBasePath + '/index.php?event=hak_txpcatselect', function(html) {
$("#catselect").html(html);
$('#catselect').find('select').bind('change',function() {
$("#image_browse").load(tinyMCE.documentBasePath + '/index.php?event=hak_txpimage&src='+src+'&c='+this.value);
})
});
// start the call for the image browser
$.get(tinyMCE.documentBasePath + '/index.php?event=hak_txpimage&src='+src, function(html){ $("#image_browse").html(html)} );
Shoving is the answer – pusher robot
Offline
hi, I have installed this and set the location of the folder, i have also set the preference to, leave text untpuched, however i cannot get the editor to show at all
any ideas?
EDIT: opened it in IE and im getting an error of “tiny mce” is undefined.
Edit again: got it working now :)
is there anyway of setting font size?
thanks guys
alfie
Last edited by Alfie (2008-01-18 14:55:01)
Offline
Alfie wrote:
hi, I have installed this and set the location of the folder, i have also set the preference to, leave text untpuched, however i cannot get the editor to show at all
any ideas?
EDIT: opened it in IE and im getting an error of “tiny mce” is undefined.
Edit again: got it working now :)
is there anyway of setting font size?
thanks guys
alfie
set the font size via css within the tinymce theme you’re using. (so probably /textpattern/tinymce/themes/advanced/css/forget which css file)
edit: pain in the ass crappy quote function
Last edited by iblastoff (2008-01-18 23:06:37)
Offline