Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remove tabzilla Mozilla Persona login

79 views
Skip to first unread message

Moz Khee To

unread,
Jan 13, 2013, 8:28:13 PM1/13/13
to dev-p...@lists.mozilla.org
Hello all,

I would like to use Popcorn Maker along with a custom CMS. However, the tabzilla and Mozilla Persona are shown in the Popcorn Maker.  Is there anyway to remove the tabzilla and Persona login and use the log in provided by the CMS?  I appreciate any guidance provided.  Thank you.

Regards,
Mozkheeto

Robert Richter

unread,
Jan 14, 2013, 10:37:58 AM1/14/13
to Moz Khee To, dev-p...@lists.mozilla.org
Removing tabzilla from Popcorn Maker is relatively simple. The following files have references to tabzilla functionality constituents which are safe to delete:
butter/src/layouts/header.html
butter/src/ui/header.js
butter/templates/basic/template.js

Beyond that, you might want to adjust the CSS so that there isn't a conspicuous space in the top-right .

Replacing Persona shouldn't be too much harder, but there is more functionality you need to supply in its place -- that is, if you wish to continue to have an auth system. I recommend looking at what the "express-persona" module does starting from butter/cornfield/app.js, and how "navigator.id" is used within butter/src/cornfield/module.js.

Unfortunately, neither of these features can be switched off from the configuration file. However, we hope to achieve that kind of flexibility soon for many features.

Happy to assist further, especially if you wish to help contribute to a more modular solution.

-Bobby

----- Original Message -----
_______________________________________________
dev-popcorn mailing list
dev-p...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-popcorn

mozk...@gmail.com

unread,
Jan 14, 2013, 7:41:04 PM1/14/13
to
Hi Robert,

Thanks for the detail reply. I will work on my custom system as for now and get back to dev-popcorn later in this week. I will port my system to a official PHP CMS to avoid conflict of interest (some party is interested with my idea). If you have any suggestion on CMS feel free to let me know.
0 new messages