Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Problems with Wiwimod / SimplyWiki with Xoops 2.4.4
by skenow on 2010/4/23 11:33:57

Quote:

skenow wrote:
Yes, SimplyWiki handles migrating from Wiwimod 0.83. Just copy the new files into the wiwimod directory and update the module.


SimplyWiki can be installed in any directory on initial install. For an upgrade, it might be possible to, you would just have to do more work. I haven't done it, so I don't have any experience to share with you.
Re: Problems with Wiwimod / SimplyWiki with Xoops 2.4.4
by barryc on 2010/4/21 5:56:55

Do I keep the same directory name (wiwmod) or change it to simplywiki?

barryc
Re: Problems with Wiwimod / SimplyWiki with Xoops 2.4.4
by skenow on 2010/4/21 3:45:45

Yes, SimplyWiki handles migrating from Wiwimod 0.83. Just copy the new files into the wiwimod directory and update the module.
Re: Problems with Wiwimod / SimplyWiki with Xoops 2.4.4
by barryc on 2010/4/20 23:49:29

Can wiwimod be updated to simplywiki? I am also having problems with wiwimod under Xoops 2.4.4. For one, the edit button doesn't work and, in admin, if I click on a link to a wiwi page it doesn't come up.

So, I'd like to try updating.

barryc
Re: Problems with Wiwimod / SimplyWiki with Xoops 2.4.4
by btesec on 2010/3/24 22:44:13

Here is a quick review of the latest simplywiki 1.1.1 on XOOPS 2.4.4. Hope its helpful:


preferences updated properly
When updating preferences using the icon/link from the left column
http://localhost/portal/modules/system/admin.php?fct=preferences&op=showmod&mod=85
http://localhost/portal/modules/system/admin.php?fct=preferences


When updating preferences using the module icon on the right column
http://localhost/portal/modules/simplywiki/admin/admin.php?fct=preferences
http://localhost/portal/modules/simplywiki/admin/preferences.php
i get this at header instead:
_AM_SWIKI_SYS_CFG


need keep/display tables when comparing

also what about keeping the content formatting when comparing. probably just indicate what was added or removed using the left section where the - or + signs appear in green or red, in this way the content formatting such as font size, text color, tables, images (images displaying ok now just need to enter a return to ensure the image and text are seprated in a new line) can be displayed when comparing.

PDF work ok when creating PDF from pages with text and tables only, I get an error when printing a page with images:
FPDF error: Missing or incorrect image file: http://localhost/portal/../../uploads/img4b610fab4ec06.jpg


Update Editors for XOOPS 2.4.4 as follows or you will get a blank page at front end i.e. when creating or editing pages:
in /simplywiki/index.php edit as follows

replace this code
/* switch ($editor) {
default:
case 0 : // standard xoops
$t_area = new XoopsFormDhtmlTextArea(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '30', '70');

break;
case 1 : // XoopsEditor
include_once (XOOPS_ROOT_PATH.'/class/xoopseditor/xoopseditor.php');
$editorhandler = new XoopsEditorHandler();
$editor_name = ($editOptions != '') ? $editOptions : $xoopsModuleConfig['XoopsEditor'];

$options['caption'] = _MD_SWIKI_BODY_FLD;
$options['name'] ='body';
$options['value'] = $pageObj->body;
$options['rows'] = 25;
$options['cols'] = 60;
$options['width'] = '100%';
$options['height'] = '400px';
$t_area = & $editorhandler->get($editor_name, $options, 'textarea');
if($t_area){
$editorhandler->setConfig(
$t_area,
array(
'filepath' => XOOPS_UPLOAD_PATH.'/'.$xoopsModule->getVar('dirname'),
'upload' => true,
'extensions' => array('txt', 'jpg', 'zip')
));
}
break;

case 2 : // Spaw class
include XOOPS_ROOT_PATH.'/class/xoopseditor/spaw/formspaw.php';
$t_area = new XoopsFormSpaw(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '100%', '400px');
break;
case 3 : // HTMLArea class
include XOOPS_ROOT_PATH.'/class/htmlarea/formhtmlarea.php';
$t_area = new XoopsFormHtmlarea(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '100%', '400px');
break;
case 4 : // Koivi
include XOOPS_ROOT_PATH . '/class/koivi/formwysiwygtextarea.php';
$t_area = new XoopsFormWysiwygTextArea( _MD_SWIKI_BODY_FLD, 'body', $pageObj->body , '100%', '400px','');
break;
case 5 : // FCK class
include XOOPS_ROOT_PATH.'/class/fckeditor/formfckeditor.php';
$t_area = new XoopsFormFckeditor(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '100%', '400px');
break; */

With this code

switch ($editor) {
default:
case '0' : // standard xoops
$t_area = new XoopsFormDhtmlTextArea(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '30', '70');

break;
case '1' : // XoopsEditor
include_once (XOOPS_ROOT_PATH.'/class/xoopseditor/xoopseditor.php');
$editorhandler = new XoopsEditorHandler();
$editor_name = ($editOptions != '') ? $editOptions : $xoopsModuleConfig['XoopsEditor'];

$options['caption'] = _MD_SWIKI_BODY_FLD;
$options['name'] ='body';
$options['value'] = $pageObj->body;
$options['rows'] = 25;
$options['cols'] = 60;
$options['width'] = '100%';
$options['height'] = '400px';
$t_area = & $editorhandler->get($editor_name, $options, 'textarea');
if($t_area){
$editorhandler->setConfig(
$t_area,
array(
'filepath' => XOOPS_UPLOAD_PATH.'/'.$xoopsModule->getVar('dirname'),
'upload' => true,
'extensions' => array('txt', 'jpg', 'zip')
));
}
break;

case '2' : // Spaw class
include XOOPS_ROOT_PATH.'/class/xoopseditor/spaw2/formspaw.php';
$t_area = new XoopsFormSpaw(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '100%', '400px');
break;
case '3' : // HTMLArea class
include XOOPS_ROOT_PATH.'/class/htmlarea/formhtmlarea.php';
$t_area = new XoopsFormHtmlarea(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '100%', '400px');
break;
case '4' : // Koivi
include XOOPS_ROOT_PATH . '/class/xoopseditor/koivi/formkoivi.php';
$t_area = new XoopsFormKoivi( _MD_SWIKI_BODY_FLD, 'body', $pageObj->body , '100%', '400px','');
break;
case '5' : // FCK class
if ( is_readable(XOOPS_ROOT_PATH . '/class/xoopseditor/fckeditor/formfckeditor.php')) {
include XOOPS_ROOT_PATH.'/class/xoopseditor/fckeditor/formfckeditor.php';
$t_area = new XoopsFormFckeditor(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '25', '60', '100%', '400px');
//$t_area = new XoopsFormFckeditor( _MD_SWIKI_BODY_FLD, 'body', $pageObj->body , '100%', '400px','' );
}
//$t_area = new XoopsFormFckeditor(_MD_SWIKI_BODY_FLD, 'body', $pageObj->body, '25', '60', '100%', '400px');
break;


Who's Online

217 user(s) are online (177 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits