[pmwiki-users] GroupFooter and RecentChanges
ardchoille42 at me.com
Thu Oct 31 15:40:50 CDT 2013
Thank you, this works.
I must apologize as well. I had thought of doing this but then assumed that the (:nogroupfooter:) line would move down in the list, and eventually be removed, as new entries were logged to the $Group.RecentChanges page. Fortunately, I was wrong.
This was the last hurdle to overcome in enabling comments for all groups and I'm extremely happy with the way everything is working out.
Rev. Ian MacGregor
> On Oct 31, 2013, at 1:33 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> Sorry, I didn't understand the question at first.
> Yes, you can disable the GroupFooter in RecentChanges by editing RecentChanges and placing (:nogroupfooter:) at the top it, before the first line of the recent changes list.
> Ian MacGregor writes:
>> I followed your instructions but this is not working as desired. I need to stop $GroupFooter from appearing at the bottom of $Group.RecentChanges pages.
>> My $Group.GroupFooter contains markup that appears at the bottom of $Group.$Name pages, as it should, but I don't want this markup to appear at the bottom of the $Group.RecentChanges pages because the markup allows visitors to post comments. Comments posted at the bottom of $Group.RecentChanges pages will eventually be removed when $RCLinesMax = 100; in local/config.php is met.
>> On Oct 31, 2013, at 8:15 AM, Petko Yotov <<URL:mailto:5ko at 5ko.fr>5ko at 5ko.fr> wrote:
>>> Ian MacGregor writes:
>>>> How does one go about keeping Group.GroupFooter from appearing in Group.RecentChanges?
>>> In the file local/Group.GroupFooter.php use something like this:
>>> unset($RecentChangesFmt['$Group.RecentChanges']); ## OR
>>> unset($RecentChangesFmt); # to also exclude Site.AllRecentChanges
>>> To delete the current link from Group.RecentChanges, just edit Group.RecentChanges.
>>> But this will log there the edit of Group.RecentChanges :-D
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users