[WORKAROUND ]TinyEditor and custom_module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jack4ya
Power Poster
Power Poster
Posts: 294
Joined: Thu Oct 19, 2006 10:07 am

[WORKAROUND ]TinyEditor and custom_module

Post by jack4ya »

In short: (read carefully)

Tiny uses the style set attached to the default template (of the site) to 'generate' wysiwyrg views while editing.

Now... If you have a template with differerent stylesheet set...
Or if you load the styles in another way...
you have a problem.

I thought of adding the styles to content.css which comes with the module. But I rather not hack that module, but would prefer the custom_module approach.

modules/MicroTiny/tinymce/themes/advanced/skins/default/content.css
module_custom/MicroTiny/tinymce/themes/advanced/skins/default/content.css

But... I can't get it to work?

If I 'inject' it in the content.css (in FireFox developer) it works properly.
So either I'm fiddling with the wrong files or I have the wrong approach.

Here... it goes about another Tiny file and apparently a slightly different folder structure, but I guess it shows that custom_module is also usable for other files than template and language files.
http://css.comonsoft.com/tutoriels/auto ... -cmsms.htm



----------------------------------------------
Cms Version: 1.11.12
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.8
ModuleManager: 1.5.8
Search: 1.7.11
ThemeManager: 1.1.8
CGExtensions: 1.44.5
CGSimpleSmarty: 1.7.4
GBFilePicker: 1.3.3
CGSmartImage: 1.17.1
JQueryTools: 1.3.4
ListIt2Company: 1.4.1
ListIt2: 1.4.1
ListIt2XDefs: 1.2
ListIt2XLink: 1.01
FormBuilder: 0.7.2
CGContentUtils: 1.4.5
FrontEndUsers: 1.24.1
ListIt2NewsV2: 1.4.1
ListIt2Teasers: 1.4.1
ListIt2DoubleList: 1.0.3
TinyMCE: 2.9.12
ListIt2Slider: 1.4.1

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 140000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.37
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 160M
upload_max_filesize: 140M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.22
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------
Last edited by jack4ya on Wed Feb 18, 2015 10:21 pm, edited 1 time in total.
jack4ya
Power Poster
Power Poster
Posts: 294
Joined: Thu Oct 19, 2006 10:07 am

Re: TinyEditor and custom_module

Post by jack4ya »

I have found a work around... but ti be honest the original issue remains.
Post Reply

Return to “Modules/Add-Ons”