Hi all!
Last days, i began to explore pnWikka to manage content instead sections, and because some documents and info are cooperative, etc.
I'm still a newbie using pnWikka and what i see, is that the 'auto-generated-links' to the other pages, must be the same Tags.
I wonder if i can hack pnWikka to auto-generate "readable links" instead Tag-links. Change the One-Word-Tag form to a Wikipedia style... avoiding to put the links manually.
Something like a hook that create/modify a Wiki reference when a pnWikka page is created/modified?
I'll see...
Here in the PN-Wiki develop some stuff that isn't included in the pnWikka module?
edited by: nestormateo, Aug 21, 2007 - 09:14 PM
--
- Mateo T. -
Mis principios... son mis fines
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
How to enable tags with spaces in pnWikka
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
When i've tried to install in my hosting (Apache 1.3.37 (Unix), PHP 5.1.6, MySQL 5.0.27-standard-log, Linux x86_64), launchs an error:
_PNCG_CREATEINDEXFAILED - BLOB/TEXT column 'body' used in key specification without a key length
pnWikka is only available in the SVN-nightly-build right?
Will be published the improved version that works here in the PN community?
edited by: nestormateo, Aug 21, 2007 - 09:27 PM
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Mateo,
I will PM you with a release copy.
--
David Pahl
Zikula Support Team -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 19, 2007
- Posts: 2
Good morning all...
This is really my first foray into the world of CMS and PN. I had toyed around with PN about a year ago (and Joomla and something else), but decided CMS was overkill for what I was doing at the time. Since then, I've taken on a new project that CMS is perfect for, and PN is the only one that I really liked.
Anyways, out of curiosity, why is pnWikka so hard to find? There is nothing on Chestnut's site, the http://noc.postnuke.com/projects/pnconcept/ link only references the pnWikka bug report, and I'd found a thread in which a member had listed a link to a nightly SVN http://maledivenhilfe.com/pn/modules/pnWikka-1.0b+SVN20070202+multilang.tar.gz which I downloaded and attempted to install, but received the following error:
Code
I am running PN .8 RC1, and understand not everything has been tested and expected to work, etc... but I like living dangerously.
Server:
Operating system Linux
Kernel version 2.6.9-023stab044.4-enterprise
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.8
PHP version 4.4.2
MySQL version 4.1.22-standard
Thanks,
Jon -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Welcome to the Community Jon!,
i've hacked a little the init code of pnWikka to avoid that error.
The first table creation works with:
Code
// MAIN TABLE
$tbl = &$pntable['pnwikka_pages'];
$col = &$pntable['pnwikka_pages_column'];
$sql ="
id I(11) NOT NULL AUTO PRIMARY,
tag C(75) NOT NULL DEFAULT '',
time T NOT NULL DEFAULT '0000-00-00 00:00:00',
body X2 NOT NULL,
owner C(75) NOT NULL DEFAULT '',
user C(75) NOT NULL default '',
latest C(1) NOT NULL default 'N',
note C(100) NOT NULL default '',
handler C(30) NOT NULL default 'page'
";
$sqlarray = $dict->CreateTableSQL($tbl, $sql, $taboptarray);
if ($dict->ExecuteSQLArray($sqlarray) != 2) {
pnSessionSetVar('errormsg', _PNCG_CREATEMAINTABLEFAILED." - ".$dbconn->ErrorMsg());
return false;
}
// Define the name of the index
$idxname = 'tag';
$idxname2 = 'body';
// Define columns with index
$idxflds = 'tag';
$idxflds2 = 'body(500)';
// Index options
$idxoptarray = array();
if (strtolower($dbtype) == 'mysql' && strtolower($dbtabletype) == 'myisam') {
$idxoptarray = array('FULLTEXT' => 'FULLTEXT');
}
// ... and creating the index
$sqlarray = $dict->CreateIndexSQL($idxname, $tbl, $idxflds, $idxoptarray);
if ($dict->ExecuteSQLArray($sqlarray) != 2) {
pnSessionSetVar('errormsg', _PNCG_CREATEINDEXFAILED." - ".$dbconn->ErrorMsg());
return false;
}
I just added a fixed width (500) to the index field, but 500 characters of body is very little to be a MySQL.MyISAM.FULLTEXT index right, so i think that must be greater, but i don't know how much.
Welcome again and Good luck!
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Team Member
- Registered: May 03, 2004
- Last visit: May 31, 2010
- Posts: 511
@ Mateo: As the necessary changes cumulated recently, and several people showed interest in contributing to pnWikka, I recently contacted Franky and proposed to open up development of this fine module. Unfortunately I never received an answer. As I have already contributed some stuff to this module, and use it for several bigger sites I decided to start a (hopefully temporary!) fork of it. You can find it at the NOC here http://noc.postnuke.com/plugins/scmsvn/viewcvs.php/?root=vpContact (I used another old project I had there and I'm not working on any more). Feel free to check out the latest code, or - even better - join us there.
Greetings,
Chris
--
an operating system must operate
development is life
my repo -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
- Moderated by:
- Support
