Page 1 of 1

problem with free wiki link plugin

Posted: Sun Sep 10, 2006 12:52 am
by stm999999999
Hello,

on my test-blog on localhost/blog/ I try the wiki plugin.

I used

Code: Select all

((a-static-page
))

an I got

Code: Select all

http://localhost/blog//blog/pages/a-static-page.html
This looks not so good :-(

When I link to a blog entry it is all ok, no matter if I use [[entry]] or {{entry}} I got:

Code: Select all

http://localhost/blog/archives/6-entry.html

Posted: Mon Sep 25, 2006 12:32 am
by stm999999999
bugfix:

in line 317

Code: Select all

            if ($type == 'staticpage') {
//                $entry_url = $serendipity['baseURL'] . $entry['permalink'];
                $entry_url = $entry['permalink'];
the $serendipity['baseURL'] is not needed, because the permalink already has the whole path after the domain-part. please add it to the cvs, thanks.

Posted: Tue Sep 26, 2006 4:39 am
by judebert
You're on a roll, Stephan! Committed to CVS.