[Pmwiki-users] Re: FreeLinks and the Calendar

John Rankin john.rankin
Thu Mar 18 17:35:47 CST 2004


On Friday, 19 March 2004 9:33 AM, Dave Noonan <PmWiki at ThunderBunny.org> wrote:
>John Rankin wrote:
>
>>>  The freelinks in RecentChanges work now but it's caused a new 
>>>problem.  If I go to http://Wiki.ThunderBunny.org/ it drops me on a page 
>>>name 'WikiLog' instead of on my HomePage.
>>>
>> 
>> Try [[wikiLog:HomePage]] in your GroupHeader.
>> 
>
>	I'm finally getting a chance to work on this a little again. I've 
>installed the latest version (still says 0.6.7 but looks very different, 
>you might change the number :-) ) 

fair comment -- it was meant to imply works with pmwiki 0.6.7 and above

and seems to change the default 
>HomePage for all groups (or least for Main) to Wikilog.  I can fix it by 
>setting $DefaultTitle = 'HomePage' in local/config.php but I'd rather it 
>mess with other groups as little as possible.

I agree -- I'll look into it.

>
>	The $wikilog_home_page variable has the right name but I don't 
>understand what's going on in that line. The variable $pagename doesn't 
>appear to be set at this point.

If you write [[wikilog]], it uses $wikilog_home_page as the name of the
calendar's home page. This defaults to {{name of the calendar group}}.
If you write [[wikilog:SomePage]] (must be in page title format), it uses
{{SomePage}} as the home page of the calendar group.

>
>// This is the default home of each collection (Group) of date pages.
>$wikilog_home_page= "{{" . FmtPageName('$Group',$pagename) .
>"}}";
>
>
>	Related to the above is that after I save a page the index for the 
>trail is LinkDump/LinkDump and I want it to be LinkDump/HomePage.  I 
>found some trail related stuff in publish.php but it was non-obvious (to 
>me) what I was looking for it'll have to wait for later.

Yes -- see above. You can fix this in one of 2 ways:

In config.php after you include wikilog.php, set

    $wikilog_home_page = 'HomePage';

or, assuming you have put [[wikilog]] in a GroupHeader page, edit it
and change [[wikilog]] to [[wikilog:HomePage]].

>
>BUG REPORT:
>	On the trail index page double bracket process isn't right.  I'm seeing 
>[[<<]] in the text and earlier the self-referencing link at the top of 
>the list of entries used to show up as [[{{}} Calendar]] or something 
>similar.  I apparently fixed it by accident and don't have time at the 
>moment to figure out what I did.

Could you send me a link so I can have a look? That looks like a PmWiki
break character.

>
>	BTW, if I haven't said it before thanks for nifty calendar app.   I'm 
>nitpicking but it does the basic job I want and it would have taken me a 
>month to figure out.

It keeps getting better because people like you provide feedback.

>-- 
>Dave
>-----------------------
>It's never too late to be who you might have been.
>~ George Eliot
>
>


-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list