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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Show some kind of dynamic content · 11 years ago

    My first approach was, using the file-content plugin, and forwarding the URL to the plugin. However, Grav try's to load immediately the file, which is of course not an md file... Here is my folder str

  • Show some kind of dynamic content · 11 years ago

    Reading this thread, it appears that Grav won't do this "as is" and is going to take a certain level of customization to get it done. Plug-ins are not real hard, if you have some PHP development exper

  • Show some kind of dynamic content · 11 years ago

    @rhukster Can you give me a hint, which hook I have to implement and how I get the current URL to load the file content? I have looked into this plugin: https://github.com/getgrav/grav-plugin-page-inj

  • Show some kind of dynamic content · 11 years ago

    Then speed shouldn't be a huge issue. I think i've provided enough information to get you started. It should be 100% possible. Short of actually doing all the work for you and testing it, the rest i

  • Show some kind of dynamic content · 11 years ago

    What do you mean with remote? The files will be of course located on the same server somewhere in the page structure of grav (maybe under 03.doc/version-1-2-3/). We are speaking of maybe 200 HTML file

  • Show some kind of dynamic content · 11 years ago

    Well i would suggest having those files locally somewhere, rather than remotely.. it would be quite slow to get a remote file for every page. Like I said, a plugin might be needed but all it would hav

  • Show some kind of dynamic content · 11 years ago

    I don't know what you mean with page structure of grav. I think 1) cannot work, because I want to embed the content of the HTML file into my website. e.g. <div class="container"> %HTML content%

  • Show some kind of dynamic content · 11 years ago

    You can do anything :) But it might be a little work. 2 options off the top of my head: 1) Ensure your Grav page structure mimics the HTML structure, and going to any .html page will automatically ju

  • Show some kind of dynamic content · 11 years ago

    The thing is, I have to load the file content of the html page depending on the provided URL. E.g.: www.MyDomain.com/doc/api-1-0-0/classes.html I have to load 'doc/api-1-0-0/classes.html' On this page

  • Show some kind of dynamic content · 11 years ago

    try to see the "page-inject plugin", which includes a grav page within another page, I think you can easly modify it to include your html page.