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

How can I add custom javascript

Started by Stephan 7 years ago · 3 replies · 5433 views
7 years ago

Hey there,

first of all, I really hope I am in the right category, otherwise I am sorry!

I have following problem:
I am trying to build a website for out local sports team. There is a piece javascript, which I would like to my page. I have the quark theme with modular pages (onepage design)

I tried to google and search in this wiki, but I could not find something I need/understand.
grafik|376x218
That is the part, where I would like to see following code to work:

HTML
<script type="text/javascript" src="https://www.fupa.net/fupa/widget.js"></script>
<div id="fupa_livebox">... lade Modul ...<script type="text/javascript"> live_widget(10356);</script>

Thanks for your help!

7 years ago

Thanks for your replay!
I really tried to figure that out with those two links you send me.
I put the code into the base.hmtl.twig but I still can't figure out, how to get this working.

Could you be a little bit more specific please. Thank you so much in advance!

Greetings

7 years ago

Hey again,

could someone take a few minutes to help me out here? 🙂
Thank you!

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 10 months ago
6 726 10 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 625 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 547 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 472 1 year ago
Content & Markdown · by belthasar, 2 years ago
4 817 2 years ago