problem with free wiki link plugin

Creating and modifying plugins.
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

problem with free wiki link plugin

Post 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
Ciao, Stephan
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post 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.
Ciao, Stephan
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

You're on a roll, Stephan! Committed to CVS.
Judebert
---
Website | Wishlist | PayPal
Post Reply