Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 11, 2012, 05:46:11 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149534
Posts in
21088
Topics by
7529
Members
Latest Member:
schwaneb
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
Pages:
1
2
3
[
4
]
5
6
...
9
Go Down
Author
Topic: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release (Read 38400 times)
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #75 on:
July 26, 2008, 04:34:59 PM »
Thank you sharmpro and Hans
I will implement into next version.
Logged
http://www.jcwebden.com
Hans
Offline
Posts: 560
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #76 on:
August 01, 2008, 10:27:03 AM »
Just to let you know that the editor works great and the code page works well with the code from sharmpro. Tested it with some complex code and experienced no issues.
This is really a cool addon and I hope that it will find its place at the addon page!
Thanks again Johnp!
Hans
Logged
Hans - Nijmegen - The Netherlands
sharmpro
Offline
Posts: 64
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #77 on:
August 01, 2008, 11:11:42 AM »
Hi John,
implementing the editor for 'toggleme' module i came across a more flexible way to tell your module where to get active.
Have a look below.
The array $id_list contains the list of 'contentXX' textareas...
Stefano
....
// prevent this file from being accessed directly
if(!defined('WB_PATH')) die(header('Location: index.php'));
?>
<?php
global $id_list;
if (is_array($id_list) and (count($id_list)>0)) { // get all sections we want ... in page...
$elements = implode(',',$id_list);
} else { // get all wysiwyg sections... in page...
$elements = "";
$qs = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '$page_id' AND module = 'wysiwyg' ORDER BY position ASC");
if($qs->numRows() > 0) {
while($sw = $qs->fetchRow()) {
$elements .= 'content'.$sw['section_id'].',';
}
$elements = substr($elements,0,-1);
}
}
?>
...
...
«
Last Edit: August 01, 2008, 07:52:15 PM by sharmpro
»
Logged
SharmPRO
http://www.sharmpro.com
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #78 on:
August 01, 2008, 07:08:53 PM »
Module:
TinyMCE_3.1.0.1
Ported for:
websitebaker
Version:
2.7
Build:
1.0.2
Build Date
: 08-01-2008
In this version I have addressed a couple of things.
1st
I added the modifications posted by sharmpro...Thank you..
2nd
In the Ajax module image editor would not save fixed that and the following
added another flag CONFIG_LOAD_DOC_LAT
TER, it will load up documents after the whole html appears if on
compressed all javascripts file into one file, large speed improvment on first load
moved the clause of including class.auth.php file on top of config
fixed a bug of moving uploaded folder/files
fixed a bug of determine the file type when moving folder
fixed a bug of duplicate new folder input tag with same id when creating folder
fixed a bug of mis assigning element id when uploading files
misconfiguration on rename functionality
disabled clicking on Enter key to submit any forms
misconfiguration element id when renaming upload files
Unable to save edited image by Save As
forced to set en as the default language if the specified language does not exist
added another flag CONFIG_SYS_THUMBNAI
L_VIEW_ENABLE in to remove thumbnail
fixed an issue on rotating images under certain php5 environments
minor css changed to remove the unneeded X-scrollbar
TinyMCE 3.1.1 version 1.0.4 has been added to Add-ons Repository
Download here
«
Last Edit: September 04, 2008, 01:12:06 PM by johnp
»
Logged
http://www.jcwebden.com
Hans
Offline
Posts: 560
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #79 on:
August 02, 2008, 09:19:28 AM »
Hi John
I'm afraid I miss the the modifications posted by sharmpro.. at least the part for code-pages.
Hans
Logged
Hans - Nijmegen - The Netherlands
rrjbeans
Offline
Posts: 14
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #80 on:
August 07, 2008, 04:48:00 PM »
When I click on the "Styles" drop down box, it doesn't do anything
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #81 on:
August 07, 2008, 07:47:57 PM »
for right now you need to edit the include.php file look around line 84 for
Code:
content_css : "
<?php
echo
WB_URL
;
?>
/templates/YOURTEMPLATENAME/CSSFILE.CSS",
And enter the path to your css
or you can try replacing
Code:
content_css : "
<?php
echo
WB_URL
;
?>
/templates/YOURTEMPLATENAME/CSSFILE.CSS",
with
Code:
content_css : "
<?php
echo
TEMPLATE_DIR
;
?>
/screen.css",
In the next version it will automatically detect the css
Logged
http://www.jcwebden.com
rrjbeans
Offline
Posts: 14
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #82 on:
August 07, 2008, 08:25:49 PM »
Ok. I change it to
Code:
content_css : "
<?php
echo
TEMPLATE_DIR
;
?>
/screen.css",
which is the path to the css file for my template.
Styles still doesn't dropdown
I also moved the buttons around, could this have caused this problem? In include.php, I changed:
Code:
theme_advanced_buttons1 : "save,|,newdocument,|,spellchecker,|,"+
"bold,italic,underline,strikethrough,|,"+
"justifyleft,justifycenter,justifyright,"+
"justifyfull,|,image,styleselect,styleprops,"+
"formatselect,fontselect,fontsizeselect,help",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,"+
"replace,|,bullist,numlist,|,outdent,indent,"+
"blockquote,|,undo,redo,|,wblink,|,link,unlink,"+
"anchor,|,cleanup,code,|,insertdate,inserttime,"+
"preview,|,forecolor,backcolor,|,visualchars,"+
"nonbreaking,|,youtube,|,template",
theme_advanced_buttons3 : "tablecontrols,|,hr,|,removeformat,|,visualaid,|,"+
"sub,sup,|,charmap,|,media,|,advhr,|,print,|,ltr,"+
"rtl,|,cite,abbr,acronym,del,ins,attribs,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute",
to...
Code:
theme_advanced_buttons1 : "save,preview,print,|,undo,redo,|,"+
"cut,copy,paste,pastetext,pasteword,|,search,"+
"replace,|,spellchecker,|,cleanup,removeformat,visualaid,visualchars,code,|,"+
"ltr,rtl,|,cite,abbr,acronym,del,ins,attribs,|,fullscreen,|,help",
theme_advanced_buttons2 : "bold,italic,underline,strikethrough,|,"+
"justifyleft,justifycenter,justifyright,"+
"justifyfull,|,sub,sup,"+
"|,bullist,numlist,|,outdent,indent,"+
"blockquote,|,wblink,link,unlink,"+
"anchor,|,insertdate,inserttime,"+
"|,charmap,|,image,media,youtube,|,hr,"+
"|,insertlayer,moveforward,movebackward,absolute",
theme_advanced_buttons3 : "styleselect,styleprops,formatselect,fontselect,fontsizeselect,"+
"forecolor,backcolor,|,tablecontrols",
/*theme_advanced_buttons4 : "tablecontrols,"+
"insertlayer,moveforward,movebackward,absolute",*/
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #83 on:
August 08, 2008, 06:02:22 PM »
Quote
content_css : "<?php echo TEMPLATE_DIR;?>/screen.css",
which is the path to the css file for my template.
by using the above just make sure your css file is named screen.css,
as for the buttons as far as I can see that should not have affected this from working..
Logged
http://www.jcwebden.com
rrjbeans
Offline
Posts: 14
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #84 on:
August 08, 2008, 09:36:47 PM »
Thanks for the reply. I looked at the page source for a page I was editing in the baker and found the underlying problem.
It output:
Code:
// START CSS STYLE SHEET OPTION HERE
// the css used here is linked to a sample folder of tinymce
content_css : "TEMPLATE_DIR/screen.css",
// END CSS STYLE SHEET OPTION HERE
from...
Code:
content_css : "
<?php
echo
TEMPLATE_DIR
;
?>
/screen.css",
It doesn't seem to want to replace TEMPLATE_DIR with the actual path. However, it will replace WB_URL with the actual WB_URL. But why doesn't it like TEMPLATE_DIR
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #85 on:
August 09, 2008, 12:01:34 PM »
Try this Example
Code:
content_css : "
<?php
echo
WB_URL
;
?>
/templates/YOURTEMPLATENAME/CSSFILE.CSS",
YOURTEMPLATENAME
=The name of the template directory your using
CSSFILE.CSS
= The name of the css file you are trying to point to. If the css file is in a different file make sure you point to it correctly or it won't work..
If you are still having problems with it PM before 11AM EST today and I'll take a look at it
JP
Logged
http://www.jcwebden.com
rrjbeans
Offline
Posts: 14
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #86 on:
August 09, 2008, 02:33:17 PM »
Thank you so much for helping me get this to work!
That example with using WB_URL works!!
The example using TEMPLATE_DIR doesn't.
But I'm down wit that since one of the example works.
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #87 on:
August 10, 2008, 12:47:13 PM »
I glade that took care of your problem....
Just let me know if you have any more problems...
JP
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #88 on:
August 19, 2008, 07:16:45 PM »
TinyMCE 3.1.1 for WB Version 2.7 Version 1.0.4 Official Stable Release
with Ajax Image File Manager and Image Editor module for WebsiteBaker v2.7
Module:
TinyMCE_3.1.1
Ported for:
websitebaker
Version:
2.7
Build:
1.0.4
Build Date:
08-19-2008
This is a core update with fixes, updates, and add-ons
I have implemented the following from
sharmpro
http://www.websitebaker2.org/forum/index.php/topic,9830.msg62258.html#msg62258
http://www.websitebaker2.org/forum/index.php/topic,9830.msg62679.html#msg62679
I have also implemented from
sharmpro
Sections & templates are automatically detected and passed to TinyMCE 3.1.1 build 1.0.4 for websitebaker.
Keep in mind the setup for auto detecting template sections and template css is based on your css named as screen.css if this is not the case due to a modified template pack you will need to modifiy the following line
Code:
85: $template_name = '/templates/'.$template_name.'/screen.css';
Configure line 85 to point to the correct path and or css file.
Security Measures:
From all our testing using XSS scans using the following to test.
- Admin/Manage folder search
- web-base or command-line scanner by PHP
- XSS Cross Site Scripting
- SQL injection For SQL Server
- Check up collate with HTML FORM and URL-Link
- 404/500 server error
From all our test on 6 different servers using different Linux(3) , Window(1) and Local
Development box(2) based server configurations all came back
No errors or configuration errors.
Browser Information:
Our main focus is only on the following
Mozilla/Firefox. 2.0.0.14 (with all updates installed)
But with some limited testing the following guide should help.
Microsoft Internet Explorer IE7 version 7.0.5730.13 (with all updates installed)
Windows XP Mac OS X GNU/Linux
IE 7
OK
N/A N/A
IE 6
OK
N/A N/A
IE 5.5 SP2
OK
N/A N/A
IE 5.0
No No N/A
SeaMonkey 1.0.5
OK OK
N/A
Firefox 1.5.x
OK OK OK
Firefox 2.0.0.14
OK OK OK
Firefox 3.0b1
OK OK OK
Camino
N/A
OK
N/A
Safari 2.x
N/A No [1] N/A
Safari 3.x
OK
[3]
OK
[3]
N/A
Opera 9
OK
[2]
OK
[2]
OK
[2]
Maxthon2
OK
N/A N/A
Konqueror
N/A N/A N/A
Installation Requirements:
Before installing this updated addon module Please uninstall any previous versions First!
Login to your WebsiteBaker Admin control panel then select Add-ons then select
Modules then under Install Module click browse and look for the location you
downloaded the latest version of TinyMCE for websitebaker. Once located click
open then click the install button. once Installation is complete
(SUSSECCFUL INSTALLATION APPEARS )
and returns to add-ons installation page.
Once the installation of WebsiteBaker TinyMCE 3.x is complete then click the settings
tab then click on Show Advanced Options now look for WYSIWYG Editor and select
the WebsiteBaker TinyMCE 3.x Editor click Save and the WebsiteBaker TinyMCE 3.x
Editor is installed configured and ready to use.
Configuration Information:
There is none!!
It's done!
There is
NO
need for anyone in the Website Community once the Module is installed to
modify any core structure or plugins to make WebsiteBaker TinyMCE 3.x work with websitebaker.
It's an "
Out-Of-The-Box-Ready
" to use module.
Thank You
J&C Software Development Team.
TinyMCE 3.1.1 version 1.0.4 has been added to Add-ons Repository
Download here
«
Last Edit: September 04, 2008, 01:10:04 PM by johnp
»
Logged
http://www.jcwebden.com
Lotus
Offline
Posts: 184
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #89 on:
August 21, 2008, 03:14:45 PM »
Installed 1.0.4 and it did a gret job editing tables where FCK (WB standard) couldn´t (FCK had problems changing background color in a table cell using WYSIWYG).
I have one question though because TinyMCE loaded screen.css from my template and as i have a black background the content area of the editor is all black. Is there som way to configure this other han finding the file you mentiond and "modify the following line" 85:... (which file is that?) and make a new CSS but with white backgrond?
Yet no bugs
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #90 on:
August 21, 2008, 05:59:31 PM »
Look around line 65 for the following
Code:
// get template...
$template_name = '';
// 1. leave it blank to fetch page default
// 2. specify a full qualified URL template
// 3. 'none' to disable template load
To edit this you need to open
/modules/tiny_mce/include.php
«
Last Edit: August 22, 2008, 12:21:40 PM by johnp
»
Logged
http://www.jcwebden.com
Lotus
Offline
Posts: 184
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #91 on:
August 22, 2008, 08:04:30 AM »
Quote from: johnp on August 21, 2008, 05:59:31 PM
Look around line 65 for the following
Found the file (/modules/tiny_mce/include.php) and successfully edited it. Thanx johnp!
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #92 on:
August 22, 2008, 12:19:49 PM »
I am glade that took care of your problem....
Just let me know if you have any more questions...
JP
Logged
http://www.jcwebden.com
Lotus
Offline
Posts: 184
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #93 on:
August 22, 2008, 01:26:38 PM »
Noticed something odd..may be a bug?
When adding a picture i WYSIWYG mode.
I find my picture on the server and check the checkbox and press select.
The URL becomes wrong and not according to the webroot.
This is what i get and it is correct when using FTP:
http://ip/home/account/public_html/media/tyreso/Start/index.jpg
This is what shuld be:
http://ip/~account/media/tyreso/Start/index.jpg
So it deletes "~" and adds an existing directive
I dont have any domain yet..just
http://ip/~account/
in wb config
Installed TinyMCE with WB 2.7 on a Linux server
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #94 on:
August 26, 2008, 05:11:22 AM »
Sorry for the wait! Been busy.....
Is this on your local box?
Have you tried
XAMPP
for Linux/windows systems
or
VertrigoServ
- Sorry this one is windows systems only(but very good)
my personal choice of the both.
Could you give me a bit more info..
JohnP
«
Last Edit: August 26, 2008, 05:16:01 AM by johnp
»
Logged
http://www.jcwebden.com
Lotus
Offline
Posts: 184
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #95 on:
August 26, 2008, 07:10:12 AM »
Quote from: johnp on August 26, 2008, 05:11:22 AM
Is this on your local box?
No this is acually when using a webhosting company called manufrog.se (Swedish)
I tried another wb installation located at another company and that worked fine, the default URL to that site was "
http://domain.topdomain.webhostcompany.com/
" and there were no "~" in there..
Thanx for the tips of local servers, i mostly use
www.wampserver.com
or
http://www.mamp.info
Logged
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #96 on:
August 26, 2008, 10:27:29 PM »
Not a problem.. Let me know if you need any help in the future.
JP
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #97 on:
September 04, 2008, 01:38:27 PM »
TinyMCE
3.1.1
version
1.0.4
has been officially added to websitebaker's
Add-ons Repository.
To get the latest version
Download here
Logged
http://www.jcwebden.com
cnwb
Offline
Posts: 234
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #98 on:
September 13, 2008, 09:29:14 PM »
TinyMCE 3.2 for WB Version 2.7 Version 1.0.8 Official Stable Release
with Ajax Image File Manager and Image Editor module for WebsiteBaker v2.7
Module: TinyMCE_3.2
Ported for: websitebaker
Version: 2.7
Build: 1.0.8
Build Date: 09-14-2008
Notes:
Updated TinyMCE Core to 3.2 with the lasted bug fixes, updates
Addon Plugin Upgrades:
Full Page
Media
XHTMLXTRAS
PASTE
INLINEPOPUPS
«
Last Edit: September 16, 2008, 08:40:08 PM by johnp
»
Logged
http://www.jcwebden.com
mercator
Offline
Posts: 79
Re: TinyMCE 3.2.0.2 for WB Version 2.7 Version 1.1.4 Official Stable Release
«
Reply #99 on:
September 16, 2008, 09:13:53 AM »
Hello, this is just great. One thing: When I enter the short description in a News post, it is embedded in <P>...</P> and the "Read more" line is separated from the short text. I tried to remove the <P></P> by editing it in HTML but it is always reinserted. How can I solve this problem?
Logged
Pages:
1
2
3
[
4
]
5
6
...
9
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...