Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Use only header from (grav) website in new webapplication

Started by Matthieu Hendriks 5 years ago · 3 replies · 402 views
5 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.

5 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?

5 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.

5 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 Jerry Hunt, 4 days ago
2 101 16 hours ago
General · by pamtbaau, 21 hours ago
1 68 21 hours ago
General · by Andy Miller, 1 day ago
0 53 1 day ago
General · by Marcel, 12 months ago
6 361 5 days ago
General · by Duc , 6 days ago
3 49 6 days ago