[release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 (also 9.2.x)
| Author |
Message |
Revenger


Joined: Oct 23, 2004 Posts: 200
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Wed Aug 22, 2007 7:03 am |
|
As i said.
While the module is in it doesn't work properly as it has a 500px in the edit data problem.
Also when you click edit on a already made article it showes no toolbar and just 500px in the main edit data.
But you can try to test if you want.
You just copy it into the WYSIWYG folder under sprawl and then go into mKnow cnd click to change the editor from none or bbcode to sprawl.
But you will get the problem I described in my earlier post abs above this text.
Doing some looking it appears that it needs some changed files like the submit news module to get it to work.
So if anyone had the time to look into this it would be great.
As I really need some tables system for imputing data as allot of the stuff our site is looking (listings of game stuff like npc's etc) is all done in tables.
Also why is spawl so long to load it takes like 30 seconds to 1 minute.
Revenger's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Dragonfly (9.1.2.1) PHP 4.3.10 MySQL 4.1.13 |
|
| Back to top |
|
 |
tesop


Joined: Aug 27, 2007 Posts: 1
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Thu Aug 30, 2007 11:29 pm |
|
I've installed Spaw for the news submission page and it works great. I've been searching, but have been unable to discover whether or not it's possible to integrate Spaw (or another wysiwyg editor) into the default DF forum module.
Can it be done? Could someone point me in the right direction, even a thread link?
Thank you
tesop's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 9.1.2.1 |
|
| Back to top |
|
 |
rlgura


Joined: Mar 27, 2006 Posts: 1148 Location: Cleveland, OH USA
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Sun Nov 04, 2007 1:43 pm |
|
I've got similar issues as Revenger and Kismet:
I'm using it for Content Enhanced module, when I create a new article, all the text boxes have "90%" in them. I can erase that by typing a space, then deleting the 90% and it seems to work ok, but the main problem is when I edit an existing article, all the existing text is just replaced with "90%"
This is a brand new 9.1.2.1 installation (I also tried fckeditor and HTMLarea, but fckeditor fails with a undefined function gethtml() and HTMLarea has tiny edit areas)
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1 |
|
| Back to top |
|
 |
rlgura


Joined: Mar 27, 2006 Posts: 1148 Location: Cleveland, OH USA
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Sun Nov 04, 2007 2:59 pm |
|
OK, I think I've got this worked out. Looking at the wysiwyg code for ContentEnh and Pitcher's modified News submit.php, it looks like the wysiwyg function does not want the height and width parameters passed.
in modules\content\admin\index.inc, I removed the height and width values from the wysiwyg calls and it seems to be working good for new articles and for edits:
Line 169 (v 9.7.11)
Code:
// Create required WYSIWYG instances.
$wysiwyg_page_header = new Wysiwyg('content_save', 'page_header', '');
$wysiwyg_text = new Wysiwyg('content_save', 'text', '');
$wysiwyg_page_footer = new Wysiwyg('content_save', 'page_footer', '');
$wysiwyg_signature = new Wysiwyg('content_save', 'signature', '');
line 287
Code:
// Create required WYSIWYG instances.
$wysiwyg_page_header = new Wysiwyg('content_save_edit', 'page_header', $mypages['page_header']);
$wysiwyg_text = new Wysiwyg('content_save_edit', 'text', $mypages['text']);
$wysiwyg_page_footer = new Wysiwyg('content_save_edit', 'page_footer', $mypages['page_footer']);
$wysiwyg_signature = new Wysiwyg('content_save_edit', 'signature', $mypages['signature']);
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1 |
|
| Back to top |
|
 |
ma_hunter


Joined: Nov 02, 2007 Posts: 22 Location: MA
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Wed Nov 14, 2007 1:03 am |
|
I just tried it. Works well. A couple of small bugs:
Ordered List (<ol>)
1.
2.
3.
do not work.
They come with 0 for index.
The SPAW file manager reports:
Notice: Undefined variable: st in /home/gameandf/www/www/includes/wysiwyg/SpawEditor/plugins/spawfm/dialogs/spawfm.inc.php on line 569
Notice: Undefined variable: st in /home/gameandf/www/www/includes/wysiwyg/SpawEditor/plugins/spawfm/dialogs/spawfm.inc.php on line 574
ma_hunter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/5.0.45/9.1.2.1 |
|
| Back to top |
|
 |
ma_hunter


Joined: Nov 02, 2007 Posts: 22 Location: MA
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Wed Nov 14, 2007 2:00 pm |
|
I noticed another bug in Spaw. I was trying to enter a price like: ($200/year). When I save/reload the story, the price is reset to (0/year). As a work around I wrote: ($US 200/year).
ma_hunter's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/5.0.45/9.1.2.1 |
|
| Back to top |
|
 |
rlgura


Joined: Mar 27, 2006 Posts: 1148 Location: Cleveland, OH USA
|
Post subject: settting up Spaw in a subdirectoried site Posted: Mon Dec 17, 2007 7:04 pm |
|
OK, had to play around with this a bit to get it to work, so I figured I'd post my results here.
My site is installed in a subdirectory of the webroot:
/home/myuserid123/public_html/mydf/
I had to set the following in /includes/wysiwyg/SpawEditor/config/config.php
Code:
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', '/home/myuserid123/public_html/');
SpawConfig::setStaticConfigItem('SPAW_ROOT', '/home/myuserid123/public_html/mydf/includes/wysiwyg/SpawEditor/');
SpawConfig::setStaticConfigItem('SPAW_DIR', '/mydf/includes/wysiwyg/SpawEditor/');
I also had to modify the uploads directory items:
Code:
// directories
SpawConfig::setStaticConfigItem(
'PG_SPAWFM_DIRECTORIES',
array(
array(
'dir' => 'mydf/uploads/spaw/flash/',
'caption' => 'Flash movies',
'params' => array(
'allowed_filetypes' => array('flash')
)
),
array(
'dir' => 'mydf/uploads/spaw/images/',
'caption' => 'Images',
'params' => array(
'default_dir' => true, // set directory as default (optional setting)
'allowed_filetypes' => array('images')
)
),
array(
'dir' => 'mydf/uploads/spaw/files/',
'fsdir' => SpawConfig::getStaticConfigValue('DOCUMENT_ROOT').'spaw/uploads/files/', // optional absolute physical filesystem path
'caption' => 'Files',
'params' => array(
'allowed_filetypes' => array('any')
)
),
),
SPAW_CFG_TRANSFER_SECURE
);
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3678 Location: Melbourne, AU
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Mon Dec 17, 2007 10:00 pm |
|
replace /home/myuserid123 with BASEDIR?
replace mydf/ with MAINCFG sub path?
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
Irvine


Joined: Dec 14, 2007 Posts: 27 Location: Edinburgh Scotland
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Thu Dec 20, 2007 11:54 am |
|
I just installed the Spaw editor, no problems with the installation. It seems to work fine!
1/ If enter a relative image address, it adds to the specified path so that the image cant be found. An edit of the html not using Spaw repairs this path, but it is annoying.
2/ If I want to re-edit a page already created and select Spaw, I get a blank page. When I select 'none' for the wysiwyg editor the html miraculously appears.
Has anybody else had this problem or is it just me being thick and failing to follow the instructions
_________________ Like adventure, visit www.irvinescotland.co.uk
Irvine's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) CentOS Apache_2.0 Mysql_5.0 PHP_5.2 Dragonfly_9.1 |
|
| Back to top |
|
 |
rlgura


Joined: Mar 27, 2006 Posts: 1148 Location: Cleveland, OH USA
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Thu Dec 20, 2007 1:07 pm |
|
#1 - I've only used Spaw's built-in image upload/selection - any reason not to use that?
#2 - that's related to my edits above to Wysiwyg() calls
What module(s) are you using Spaw for?
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1 |
|
| Back to top |
|
 |
Irvine


Joined: Dec 14, 2007 Posts: 27 Location: Edinburgh Scotland
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Thu Dec 20, 2007 5:36 pm |
|
Quote:
#2 - that's related to my edits above to Wysiwyg() calls
Thanks, that's fixed it. It was just me being thick and failing to read the instructions.
Quote:
What module(s) are you using Spaw for?
I am using it in the enhanced content modules. I want to build a series of extreme sport FAQ's that my site members to contribute to.
Quote:
#1 - I've only used Spaw's built-in image upload/selection - any reason not to use that?
None what so ever. It was just that in my usual bullish fashion, I had written my own basic content modules and as a result already had the images I wanted in the root images file. When I saw the enhanced content module in rosbifs post on a similar subject, I thought there I go re-inventing the wheel again
_________________ Like adventure, visit www.irvinescotland.co.uk
Irvine's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) CentOS Apache_2.0 Mysql_5.0 PHP_5.2 Dragonfly_9.1 |
|
| Back to top |
|
 |
Golem


Joined: Nov 25, 2004 Posts: 337 Location: Germany
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Tue Jan 01, 2008 8:56 pm |
|
I have also successfully managed to install Spaw now. The problem I have is that the align option for images does not "make it" to the finals post: It looks ok in the actual editor. But when you hit preview or submit the news then the inserted image will be displayed above the text again and not next to it (text won't float around the image).
I can also confirm that there are some issues with editing an already posted news items. Often the whole text is "locked" and I cannot edit anything. Many times I cannot change the Font style or font size unless I delete the whole text and re-enter it.
Has anyone else had similar problems and found a way to solve them?
Golem's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.17.8/MySQL: 4.1.22/PHP: 4.4.8/DF: 9.2.1.1 |
|
| Back to top |
|
 |
rlgura


Joined: Mar 27, 2006 Posts: 1148 Location: Cleveland, OH USA
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Wed Jan 02, 2008 5:28 pm |
|
I had the same problem with an image the other day - even manually edited the html to try to float the image left - ended up just leaving it.
I've had to add a space to the end of a line or something similar to "unlock" an existing text to edit it. ie - edit post, select line, hit delete, nothing happens..
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1 |
|
| Back to top |
|
 |
mdthomann


Joined: Feb 16, 2007 Posts: 39 Location: Chicago
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Fri Jan 25, 2008 4:33 am |
|
I have successfully installed SPAW and like it very much.
Small issue/question. In the process of determining what "news" editor to use, I also installed FCK. When I try to switch to FCK, nbb or none and click "change" it always goes back to SPAW.
Any suggestions or ideas on what I did wrong?
Thanks!
_________________ .m@.
"Reality is merely an illusion, albeit a very persistent one. " - Albert Einstein
mdthomann's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) {GoDaddy Hosted} Linux/ 1.3.33 / 5.0.45 / 4.3.11 / 9.1.2.1 |
|
| Back to top |
|
 |
Hedric


Joined: Apr 30, 2004 Posts: 32 Location: England
|
Post subject: Re: [release] Spaw 2.01 wysiwyg for dragonfly 9.1.1 Posted: Mon Feb 11, 2008 12:42 pm |
|
Same issue as above, when trying to return to BBCode the page will refresh and return to Spaw?
Also when creating a Link it seems to create the wrong code:
Incorrect URL from Spaw
Quote:
<a href="www.sorcon.co.uk" title="www.sorcon.co.uk"></a>
Corrected URL
Quote:
<a href="http://www.sorcon.co.uk/">www.sorcon.co.uk</a>
Update: Just checked the pitcher site which has the Spaw Editor, the link has the same effect so must be a bug. The Editor Selector works on that site, any ideas why a few of us have this issue ?
Hedric's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux, Apache 1.3.29, MySQL 4.0.20, PHP 4.3.10, 9.x |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|