B
Blueprint12mo ago
kespyy

Adding a page

Hi, I am new to extension development and was trying to add a page in the server section, but it just isn't working (I followed this guide https://blueprint.zip/docs/?page=developing-extensions/React-components). Could someone maybe help me with this and let me know if I am doing something wrong
No description
5 Replies
Emma
Emma12mo ago
Hello! Could you send over your Components.yml file and extension file tree?
kespyy
kespyyOP12mo ago
Navigation:
NavigationBar:
BeforeNavigation: ""
AdditionalItems: ""
AfterNavigation: ""
SubNavigation:
BeforeSubNavigation: ""
AdditionalServerItems: ""
AdditionalAccountItems: ""
AfterSubNavigation: ""
Routes:
- { Name: "Example", Path: "/example", Type: "server", Component: "ExampleComponent" }

Dashboard:
BeforeContent: "" # beta-2024-08 and later
AfterContent: "" # beta-2024-08 and later
ServerRow:
BeforeEntryName: ""
AfterEntryName: ""
BeforeEntryDescription: ""
AfterEntryDescription: ""
ResourceLimits: ""

Authentication:
Container:
BeforeContent: ""
AfterContent: ""

Account:
Overview:
BeforeContent: ""
AfterContent: ""
API:
BeforeContent: ""
AfterContent: ""
SSH:
BeforeContent: ""
AfterContent: ""

Server:
Terminal:
BeforeContent: ""
AdditionalPowerButtons: ""
BeforeInformation: ""
AfterInformation: ""
CommandRow: ""
AfterContent: ""
Files:
Browse:
BeforeContent: ""
FileButtons: ""
DropdownItems: ""
AfterContent: ""
Edit:
BeforeEdit: ""
AfterEdit: ""
Databases:
BeforeContent: ""
AfterContent: ""
Schedules:
List:
BeforeContent: ""
AfterContent: ""
Edit:
BeforeEdit: ""
AfterEdit: ""
Users:
BeforeContent: ""
AfterContent: ""
Backups:
BeforeContent: ""
DropdownItems: ""
AfterContent: ""
Network:
BeforeContent: ""
AfterContent: ""
Startup:
BeforeContent: ""
AfterContent: ""
Settings:
BeforeContent: ""
AfterContent: ""
Navigation:
NavigationBar:
BeforeNavigation: ""
AdditionalItems: ""
AfterNavigation: ""
SubNavigation:
BeforeSubNavigation: ""
AdditionalServerItems: ""
AdditionalAccountItems: ""
AfterSubNavigation: ""
Routes:
- { Name: "Example", Path: "/example", Type: "server", Component: "ExampleComponent" }

Dashboard:
BeforeContent: "" # beta-2024-08 and later
AfterContent: "" # beta-2024-08 and later
ServerRow:
BeforeEntryName: ""
AfterEntryName: ""
BeforeEntryDescription: ""
AfterEntryDescription: ""
ResourceLimits: ""

Authentication:
Container:
BeforeContent: ""
AfterContent: ""

Account:
Overview:
BeforeContent: ""
AfterContent: ""
API:
BeforeContent: ""
AfterContent: ""
SSH:
BeforeContent: ""
AfterContent: ""

Server:
Terminal:
BeforeContent: ""
AdditionalPowerButtons: ""
BeforeInformation: ""
AfterInformation: ""
CommandRow: ""
AfterContent: ""
Files:
Browse:
BeforeContent: ""
FileButtons: ""
DropdownItems: ""
AfterContent: ""
Edit:
BeforeEdit: ""
AfterEdit: ""
Databases:
BeforeContent: ""
AfterContent: ""
Schedules:
List:
BeforeContent: ""
AfterContent: ""
Edit:
BeforeEdit: ""
AfterEdit: ""
Users:
BeforeContent: ""
AfterContent: ""
Backups:
BeforeContent: ""
DropdownItems: ""
AfterContent: ""
Network:
BeforeContent: ""
AfterContent: ""
Startup:
BeforeContent: ""
AfterContent: ""
Settings:
BeforeContent: ""
AfterContent: ""
File Tree: D:. │ .gitkeep │ conf.yml │ view.blade.php │ ├───components │ components.yml │ ExampleComponent.tsx │ └───console Byte.php Console.yml here
Emma
Emma12mo ago
@kespyy components.yml has to have a capital C to be recognized by blueprint, should add support for lowercase in the future though Components.yml is the correct file name.
kespyy
kespyyOP12mo ago
It worked, thanks!
Emma
Emma12mo ago
Glad it did!

Did you find this page helpful?