Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Use only header from (grav) website in new webapplication

Started by Matthieu Hendriks 6 years ago · 3 replies · 668 views
6 years ago

I'm building an web application in another language and would like to only inlude the (dynamic) header of the grav website. Is this possible? Any hints how to realize this are appreciated.

6 years ago

@digirent, Uhh... a bit more clarification would also be appreciated... :-)

web application in another language

Something like a vue/angular/react app and the likes?

the (dynamic) header of the grav website

What might this be?

6 years ago

The application should be integrated in the look and feel of the website created with grav.
The header of the website is managed by Grav, but should be the same as in the application.
The application has e header, a body part and from the body part application specific interaction with the user thru forms, workflows, dashboards and so on. Yes it would be a consideration to create this with a grav plugin but that is to complicated and most likely not flexible enough, because of heavy database interaction.

From the application perspectief somethink like:

  1. create header => Coming from grav
  2. create body content and interaction => coming from server application

Hope this clarifies it a little bit more.

6 years ago

Not sure how it would work with whole navigation, but can't you just create a page, which would return plain header HTML? Eg. domain.com/header

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 41 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago