The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
5 posters

    How to show code on each page

    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved How to show code on each page

    Post by Guardian-Angel March 8th 2020, 6:51 pm

    Hello

    I often add this clock countdown for several different reasons, however when I add it, my only option is "Top of Home Page" "Bottom of Home Page" "On the Home Page header and Footer"

    How can I make it to show on all pages?

    Thanks.

    Code:
    <iframe src="http://free.timeanddate.com/countdown/i76swg1e/n250/cf104/cm0/cu4/ct0/cs0/ca0/cr0/ss0/cac000/cpc000/pc6d0000/tceac8d5/fs100/szw320/szh135/tatTime%20left%20Bachelor%20Pilot%20Peter/tac000/tptTime%20since%20Event%20started%20in/tpc000/matFinal%20Rose%20Ceremony ET%20/mac000/mpc000/iso2020-03-09T20:00:00" allowtransparency="true" frameborder="0" style="width: 320px; height: 135px;"></iframe>


    Last edited by Guardian-Angel on March 9th 2020, 9:27 pm; edited 1 time in total
    Jadster
    Jadster
    Helper
    Helper


    Male Posts : 690
    Reputation : 74
    Language : English
    Location : Omaha, NE

    Solved Re: How to show code on each page

    Post by Jadster March 8th 2020, 7:02 pm

    For this, those would be the only options however you could try adding it as an Announcement on all pages through the Admin Panel under "General" and under" Messages" on the left hand side there is a section for announcements. When you turn it on you can set it for All Pages.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Solved Re: How to show code on each page

    Post by skouliki March 8th 2020, 7:14 pm

    hello

    did you try to add it as a widget?

    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: How to show code on each page

    Post by Draxion March 9th 2020, 12:49 am

    If you want it to show on all pages, you can add it to the header via the templates.
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: How to show code on each page

    Post by Guardian-Angel March 9th 2020, 2:26 am

    Adding it to the announcements messed up a banner I have in announcements.

    I did not try widgets as I find that very confusing.

    Draxion can you explain how to add it to the templates? TY
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: How to show code on each page

    Post by Draxion March 9th 2020, 3:16 am

    You can add that code in the template overall_header.

    ACP(Admin Control Panel) > Display > Templates > General > overall_header

    If you don't understand, you can paste your overall_header here and I can help you.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15311
    Reputation : 1705
    Language : English,Greek
    Location : Greece

    Solved Re: How to show code on each page

    Post by skouliki March 9th 2020, 5:01 pm

    burbigo wrote:I am not good at coding, and I must admit that your explanation helped me enormously and that I finally succeeded! Thank you so much.

    Please do not hijack another member’s topic

    If you have a problem with your forum please open your own thread

    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: How to show code on each page

    Post by Guardian-Angel March 9th 2020, 8:48 pm

    Draxion wrote:You can add that code in the template overall_header.

    ACP(Admin Control Panel) > Display > Templates > General > overall_header

    If you don't understand, you can paste your overall_header here and I can help you.

    ACP - Display - I don't see Templates anywhere.

    How to show code on each page Captur15
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: How to show code on each page

    Post by SLGray March 9th 2020, 9:00 pm

    Is the AP in advanced mode, and are you using the founder's account?



    How to show code on each page Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: How to show code on each page

    Post by Guardian-Angel March 9th 2020, 9:27 pm

    Thank you, @SLGray. I was not in founder's account.

    Thanks @Draxion, that works perfectly an exactly how I want it! Yes

    Topic is solved,
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: How to show code on each page

    Post by SLGray March 9th 2020, 9:35 pm

    You're welcome.
    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    How to show code on each page Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is September 22nd 2024, 7:23 pm