-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extendable bundle? #66
Comments
Hi @Invincible83, Quick summary:
|
Hello, Nice. This is extactly what I mean. Is there something else I should do? I'm trying it and this is where I get, as far. (I used the This is the openplatform directory structure
index.js exports.icon = 'ti ti-totaljs';
exports.name = '@(Profiles)';
exports.position = 2;
exports.permissions = [{ id: 'profiles', name: 'Profiles' }];
exports.visible = user => user.sa || user.permissions.includes('profiles');
exports.type = 'setup'; // extends the `setup` plugin
exports.routes = [
{ url: '/profiles/{id}/', html: 'detail' }
];
exports.install = function() {
ROUTE('+API /api/ -profiles *Profiles --> list');
}; It kind of works. I have
Sorry to bother you, |
I tested it. I don't know about it, but you must move the file |
Can you please upload your testing version? As far I see, there https://github.com/totaljs/openplatform/blob/master/plugins/setup/index.js#L55-L63 is no And there is static |
Sure, so I had some time to spare and did some tests. I found that my suspicions were correct. It's the https://github.com/totaljs/openplatform/blob/master/plugins/setup/index.html#L79C95-L79C112 |
Hello,
Is there any way to extend
setup
plugin inbundle
? I would like to add a new page with extra settings. However I want to keep the OpenPlatform intact.I'm thinking something like this:
The text was updated successfully, but these errors were encountered: