to previous topic Print topic to next topic

 Root :: Developments :: Modules :: pnWikka....newpage action?
 Moderated by:
 
  Bottom  pnWikka....newpage action?
Newsy233 Posted: 16.10.2006, 20:27
Noob
Noob


registered: Oct 16, 2006
Posts: 1

Status:  offline
last visit: 16.10.06
Hi,

I know pnWikka is still in development so am not expecting anything concrete!

I was just wondering if there was any way to port the newpage action from WikkaWiki - I copied newpage.php over from WikkaWiki to the relevant directory in pnWikka, but then got a bit stuck as to how to port what was there!

Otherwise I know that you can edit an existing page and add a new page link in...but I think the newpage action would be less confusing for my users!

Many thanks

Newsy
Top  Newsy233 send PM
 
Chestnut Posted: 18.10.2006, 18:29
Site Admin
avatar

registered: Jun 02, 2002
Posts: 1320

Status:  offline
last visit: 07.02.08
Hi Newsy,

Not much from the original Wikka will work with pnWikka as everything have been converted to be pnAPI compliant. While there is still a few similarities left, not enough to take a piece of one and glue it on the other.

About the newpage action, I admit that it crippled me with reflexion as I don't like it much. The reason is that instead of creating a page by creating a link from another page, you create a page that is almost automatically orphaned. So there is a downside as not everybody have the reflexe to correct that status.

But... on the other side, I can understand the confusion...

Stay tuned... I guess :)


Chestnut ! Cool
Site Admin
Top  Chestnut send PM Homepage
 
leobago Posted: 18.10.2007, 08:23
Noob
Noob


registered: Oct 06, 2007
Posts: 2

Status:  offline
last visit: 18.10.07
Just in case any one else have the same problem, I editted the file pnwikka_user_menu.tpl in the pntemplates directory like this:

Code
  1. <form action="<!--[pnmodurl modname="pnWikka" type="user" func="edit"]-->" method="post" enctype="application/x-www-form-urlencoded">
  2.     <a href="<!--[pnmodurl modname=$modname type="user" tag="Home"]-->" title="<!--[$root_page]-->"><!--[$root_page]--></a> ::
  3.     <a href="<!--[pnmodurl modname=$modname type="user" tag="CategoryCategory"]-->" title="">Categories</a> ::
  4.     <a href="<!--[pnmodurl modname=$modname type="user" tag="PageIndex"]-->" title="">Page Index</a> ::
  5.     <a href="<!--[pnmodurl modname=$modname type="user" tag="RecentChanges"]-->" title="">RecentChanges</a> ::
  6.     <a href="<!--[pnmodurl modname=$modname type="user" tag="TextSearch"]-->" title="">Search</a> ::
  7.     <a href="<!--[pnmodurl modname=$modname type="user" tag="WikkaDocumentation"]-->" title="">Help</a>
  8.     <!--[if $islogged eq false]-->
  9.       :: <a href="user.php?op=main&module=User" title="">Login/Register</a>
  10.     <!--[/if]-->
  11.         <label for="pnwikka_tag"> :: Create
  12.         <input id="pnwikka_tag" name="tag" size="15" class="searchbox" />
  13.         </label>
  14.       </form>


Bye ;)
Top  leobago send PM
 



Powered by pnForum Version 2.0.1
DarkMindZ