Member
Member
nbruley   2012-04-10, 23:17
#1

I'm finding the small rectangle allotted for editing the description field to be challenging to use for my application. What is the easiest way to increase the default size of this? There's an admin stylesheet but I suppose that would be overwritten during upgrades... Is editing that the best way? Thanks.

Member
Member
sbillard   2012-04-11, 00:52
#2

Make a copy of the file zp-core/zp-extensions/tiny_mce/config/zenphoto-default.js.php as pluins/tiny_mce/config/zenphoto-with_fullpage.js.php

Edit that file so that the line for [i]theme_advanced_buttons2[/i] reads theme_advanced_buttons2 : "undo,redo,|,link,unlink,anchor,image,cleanup,help,code,fullscreen",

Then go to the tiny-mce plugin options and select zenphoto-with_fullpage.php as your "Text editor configuration - Zenphoto" selection.

This will put the full screen button in the button set and allow you to edit full screen.

Member
Member
nbruley   2012-04-11, 18:21
#3

That works, thank you.

Notes to others,
-obviously it is copied into plugins folder not pluins
-the end of the code got cut off above, ends with fullscreen",

Administrator
Administrator
acrylian   2012-04-11, 18:27
#4

The change is in the nightly builds anyway (the config stuff itself is also documented on tinymce's website).

Member
Member
nbruley   2012-04-11, 18:53
#5

ah ok, so after upgrading to the next version I should switch back to the old config setting then?

Administrator
Administrator
acrylian   2012-04-11, 19:42
#6

The two files above are standard files and those will have the full screen button. But of course if you need anything else you can always create and use your own config file. That's why we made that option.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.