Jump to content

Adding New Page (pt. 2)


nicky9499

Recommended Posts

With reference to this solved thread to which appears to be locked to new replies...

 

I'm trying to do something very similar.

Creating a new blank page, on which to duplicate the live flight list and map, which can then be embedded on my main website.

 

The issue is at the following step:

Quote

5. Routing

Go to app/Routes/web.php and find this line (around line 17)

 

This "Routes" folder no longer exists. There is also no "web.php" file to be found anywhere.

I am on version 7.0.0 beta 3. Not sure what exactly has changed since the original post.

Can someone advise please? Thank you.

Edited by nicky9499
Link to comment
Share on other sites

You should be using latest development edition. Beta3 is more than 2 years old, lots of things got changed since and I do not think that you can get support for beta.3 (or for beta.4) anymore.

 

https://docs.phpvms.net/developers/addons

 

Above link may give you a clue about how to add your own pages (through a module) but I am not sure that beta.3 or beta.4 do have support for modules fully.

 

Good luck

Link to comment
Share on other sites

I appear to have been mistaken about the installed version. Below is what's listed in admin panel.

 

phpVMS version: 7.0.0-dev

However, the local files that I uploaded are from an archive named phpvms-7.0.0-beta.3.zip.

 

Thank you for the link to Addons but if I'm honest most of that page is well beyond my grasp.

All I really need is a simple page with just the live flight list and map.

Basically the equivalent of adding a file called extrapage.html in public_html.

Is there a simpler way to do this?

Link to comment
Share on other sites

1 hour ago, nicky9499 said:

Basically the equivalent of adding a file called extrapage.html in public_html.

Is there a simpler way to do this?

 

Unfortunately no, there is no easy way of doing that in phpvms v7.

 

However, Disposable Basic (the new module pack I released instead of the old ones) + Disposable Theme v3 offers a pre defined solution for that. With Disposable Basic, you get 3 additional pages; roster, stats and one empty page for you to customize with widgets like LiveMap which can be used to show/display data at your main domain (with html/iframe).

 

These pages will have no logo, background image or menu items. They are suitable for iframe usage at your landing pages (or main sites)

/dp_roster  // Pilot roster
/dp_stats   // Statistics
/dp_page    // Empty page in which you can place widgets like Flight Board etc as per your needs

 

Check my landing page to see the result https://turksim.org , that info comes from my phpvms v7 with the background system Disposable Basic offers. For example you can change the Top Pilots with the Live Map etc.

 

Good luck.

  • Thanks 1
Link to comment
Share on other sites

5 minutes ago, nicky9499 said:

Seems perfect. I'll try to get that to work on my end, thank you DH.

 

Be advised; Disposable Basic and Disposable Theme v3 needs latest development build of phpvms v7, they will NOT work on older builds.

 

And the installation / update from older Disposable Modules needs special care, which is explained in the readme. You need to do that update very, very carefully and step by step. Missing one step may cause terrible results.

 

https://github.com/FatihKoz/DisposableBasic#readme

 

https://github.com/FatihKoz/DisposableTheme#readme

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...