1
skenow
Re: Wiwimod
  • 2011/11/25 22:09

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

cath22 wrote:
Yes, Thanks Steve, this definitively solves the problem, I can open the blocks to the homepage again normally.

And I'll try with this to give you more feedback since I am a happy user from wiwimod/simplywiki.

With debug on I still can see following messages:

Warning: include_once(../../mainfile.php) [function.include-once]: failed to open stream: No such file or directory in bestand /modules/simplywiki/header.php regel 15
Warning: include_once() [function.include]: Failed opening '../../mainfile.php' for inclusion (include_path='.:/usr/local/lib/php') in bestand /modules/simplywiki/header.php regel 15


You'll need to make a few additional changes -

in blocks/swiki_blocks.php and blocks/wiwimod_recent.php remove the line that includes header.php
include_once ICMS_ROOT_PATH '/modules/' $wikiModDir '/header.php';


in header.php, remove the if {} statement immediately after the line that includes mainfile.php with
defined('ICMS_URL') || define('ICMS_URL'XOOPS_URL);
defined('ICMS_ROOT_PATH') || define('ICMS_ROOT_PATH'XOOPS_ROOT_PATH);


Quote:

These 3 are listed aswell, upon clicking on the function include I get following message : The requested URL /test1/modules/simplywiki/function.include was not found on this server.

Therefore I can say these are related with simplywiki

Warning: include() [function.include]: Filename cannot be empty in file /class/smarty/Smarty.class.php line 1923
Warning: include() [function.include]: Filename cannot be empty in file /class/smarty/Smarty.class.php line 1923
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in file /class/smarty/Smarty.class.php line 1923


Those probably are due to the above, also

Quote:

And further some notices:

Notice: Constant ICMS_URL already defined in bestand /modules/simplywiki/header.php regel 18
Notice: Constant ICMS_ROOT_PATH already defined in bestand /modules/simplywiki/header.php regel 19


These should go away if you use the updated code I posted in my previous message (edited the original snippets)

Quote:

Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_TITLE - assumed '_MI_SWIKI_PAGERESTORE_TITLE' in bestand /modules/simplywiki/xoops_version.php regel 335
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_CAPTION - assumed '_MI_SWIKI_PAGERESTORE_CAPTION' in bestand /modules/simplywiki/xoops_version.php regel 336
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_DESC - assumed '_MI_SWIKI_PAGERESTORE_DESC' in bestand /modules/simplywiki/xoops_version.php regel 337
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_SUBJECT - assumed '_MI_SWIKI_PAGERESTORE_SUBJECT' in bestand /modules/simplywiki/xoops_version.php regel 339
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_TITLE - assumed '_MI_SWIKI_GLOBALPAGERESTORE_TITLE' in bestand /modules/simplywiki/xoops_version.php regel 344
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_CAPTION - assumed '_MI_SWIKI_GLOBALPAGERESTORE_CAPTION' in bestand /modules/simplywiki/xoops_version.php regel 345
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_DESC - assumed '_MI_SWIKI_GLOBALPAGERESTORE_DESC' in bestand /modules/simplywiki/xoops_version.php regel 346
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_SUBJECT - assumed '_MI_SWIKI_GLOBALPAGERESTORE_SUBJECT' in bestand /modules/simplywiki/xoops_version.php regel 348


Those are present in the English files and need to be added to the other translations.

Quote:

Might I see other things I will report back, and if I find the time I'll update the Dutch language since that is missing a lot aswell, also giving some messages in the debug I guess.

But a important thing that is fixed is the Preferences section that first only worked with the legacy layout in admin.
Keep up the good work.

Greetz
Cath


The blocks/groups tab in admin won't work on X2.5 - I plan to take it out, anyway.

Thanks for the feedback.



2
skenow
Re: Wiwimod
  • 2011/11/22 15:14

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


SimplyWiki is meant to be cross-platform - but I don't always get much feedback from the XOOPS users, so things can get missed.

Open each of the .php files in the blocks folder (swiki_blocks, wiwimod_recent, wiwimod_showpage and wiwimod_toc) and add the following at the top of the file

defined('ICMS_URL') || define('ICMS_URL'XOOPS_URL);
defined('ICMS_ROOT_PATH') || define('ICMS_ROOT_PATH'XOOPS_ROOT_PATH);


This should take care of your problems. Let me know

I added a condition to the define so you won't get notices about defining the constant more than once



3
skenow
Re: Wiwimod
  • 2011/11/20 21:18

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

chefry wrote:
v1.1 was the last version i could find.

I got it fromhttp://www.christianwebresources.net/

where can i download 1.2?


Same place - grab it from the link in the news release for 1.2. I'll update the download link in a few minutes.



4
skenow
Re: Wiwimod
  • 2011/11/20 21:12

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


You definitely are not using the latest version of SimplyWiki! the eregi function was removed from header.php in 2008 - there have been 3 releases since then.

FWIW - it is the xdebug message at the top of the page that is breaking the styling of your site, not SimplyWiki. As Mamba suggested, disabling that will change everything.

Upgrading to the true latest version of SimplyWiki will address the error, so you won't have to disable the debug.



5
skenow
Re: Wiwimod
  • 2011/11/20 21:04

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

chefry wrote:
I'm getting an error when i try to install the latest version, and i tried the patch

Quote:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM COMMENT 'Holds the list of pages and their properties'' at line 18


I'm trying to install on a wamp localhost with XOOPS 2.5.4-RC

Does anyone know a fix? or can someone suggest another wiki to use?


The 'latest version' doesn't declare the engine type in the sql file. Are you using 1.2 Final? It was released back in October 2011



6
skenow
Re: Best Wiki Module
  • 2011/3/2 23:53

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

bhndbrwneyes wrote:
I'm very new to Xoops, what's SVN and is there a way I can see and use the latest version like you said others are doing?


SVN = Subversion, a source control platform. SimplyWiki is on SourceForge.net, under a different CMS project (treated like Lord Voldemort here - the name isn't spoken).

As for current examples, if you go back in this thread, to the post just before yours, you'll see links to several sites in a post by me. For a demo you can play with - nothing live at the moment (but things are in the works )



7
skenow
Re: Best Wiki Module
  • 2011/3/2 2:04

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


One thing I'd like to add is an autocomplete for the parent page, rather than adding in categorization. For one thing, I think tagging has much more power and flexibility than a category hierarchy, especially for a wiki.

There have been many discussions about whether to use categories or tags, not just for this module, but for documentation, in general. Based on how people really use the web, categorization is a lot of work for little return. It's too monolithic. To convert the parent page into a category would severely limit the usability, in my opinion - a page could only be in 1 category. Once you alter that to allow multiple categories, you might as well move to tagging, instead.

Quote:

Also, I don't think it is present in the current version but the "Add Page" function is sort of weird. You have to go to the Edit Page URL but with the extension of the name of the page you would like to add. So I created a link where the page title would be "TITLE" and hopefully all my users understand to change out the title with what they want to call the page.


hmm, I think that would work for the first page, but after that, you'd be taken to edit the first page created, not create a new page. Remember, the page title is not the same as the page name, which must be unique.

If you create a link in a page to a page that doesn't exist, when you follow the link, you will be taken to the create/edit page URL and the original page will be added as the parent (automatically). I might find a way to mimic that behavior in the Add Page form/block.

Quote:
Do you have any idea of a time frame?

It's already been committed to SVN - you can check out the latest trunk and use it. I know several are using it on live sites (including me). Officially, it's still on alpha stage because there are a few more features I'd like to add before releasing it.



8
skenow
Re: Best Wiki Module
  • 2011/3/1 0:32

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Currently working on adding 'children of this page' and 'siblings of this page' functionality - just tweaking for performance

Quote:

bhndbrwneyes wrote:
is there a wiki mod that allows categories? I am currently using simplywiki and I created a page, then I created several pages under it. I want the parent page to act as a "category" and display links to all the pages that are under it, sorted by alphabetical order



9
skenow
Re: Which Module to do this...
  • 2010/11/22 3:51

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


1 - depending on how you want to list your parishes, SmartPartner, or WF-Links (imLinks)
2 - for a roster, you could use a similar module
3 - osc -http://sourceforge.net/projects/osc/ (the modules do work for XOOPS)

Looking for more help? Check out Christian Web Resources



10
skenow
Re: Best Wiki Module
  • 2010/11/21 22:42

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


SimplyWiki supports WYSIWYG editors and the DHTML editor, which all support inserting images into the pages.

In my installations, I also install xcGallery and set the upload directory for FCKeditor to match the gallery uploads.

To see SimplyWiki in action, visit
Christian Web Resources - User Guides (Wiki)
Design n Bloom - About Us
Kienow Family - Our Stories
Cheers Wine & Spirits - Wiki

My thoughts about wiki markup - stay away from it! It isn't portable - HTML is. SimplyWiki uses special markup only for creating and linking pages, not as a substitute for HTML. I had a hell of a time trying to convert 500+ pages from MediaWiki markup to something I could use in SimplyWiki




TopTop
(1) 2 3 4 ... 86 »



Login

Who's Online

178 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits