phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017262phplist applicationPlugin APIpublic11-07-14 13:0411-08-14 20:08
Reporterduncanc 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.0.6 
Target VersionFixed in Version3.0.7 
Summary0017262: Allow plugin to have public pages
DescriptionAn enhancement to allow a plugin to provide public pages accessed through a url such as www.mysite.com/lists/?pi=myplugin&p=mypage

By default a plugin will not have any public pages. The plugin constructor has to override a $publicPages variable if it wants to provide some.

The plugin is responsible for validating any further query parameters. So a page could be totally public and viewable by anyone, or might require a uid parameter, similar to the preferences page, so that it can display results specific to one subscriber.

An example of use is to provide a "view in browser" function. Currently the installation of the "View in browser" plugin has manual steps to allow an additional page to be accessed. See https://github.com/bramley/phplist-plugin-viewbrowser [^]

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0054231)
duncanc (developer)
11-07-14 13:54

See GitHub pull request https://github.com/michield/phplist/pull/34 [^]
(0054235)
michiel (manager)
11-07-14 16:49

nice !
(0054547)
duncanc (developer)
11-08-14 11:59

There is a bug in my commit that stops the subscribe, preferences etc pages working. I have created a new pull request, see https://github.com/michield/phplist/pulls [^]

This needs to be applied to the pending release.
(0054548)
michiel (manager)
11-08-14 12:24

I think I already found and fixed that.
(0054562)
michiel (manager)
11-08-14 20:08

yes, just checked, but I had already fixed that. In fact, I rewrote the whole if block a little


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker