Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare an opt-out for unused service providers #2

Open
ilu33 opened this issue Jun 16, 2017 · 1 comment
Open

Prepare an opt-out for unused service providers #2

ilu33 opened this issue Jun 16, 2017 · 1 comment
Labels

Comments

@ilu33
Copy link
Collaborator

ilu33 commented Jun 16, 2017

Payments: Insert enable/disable option in .env d901e8a
Payments: Load stripe.js only when necessary a7b3294

@ilu33 ilu33 added the bug label Jun 16, 2017
@ilu33
Copy link
Collaborator Author

ilu33 commented Aug 5, 2017

From the generated page code:

<script>(function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

resources/views/Shared/Partials/FacebookSdk.blade.php called in resources/views/Public/ViewOrganiser/Layouts/OrganiserPage.blade.php

<body class="attendize">
        @include('Shared.Partials.FacebookSdk')
        <div id="organiser_page_wrap">
            @yield('content')
        </div>

        <a href="#intro" style="display:none;" class="totop"><i class="ico-angle-up"></i>
            <span style="font-size:11px;">TOP</span></a>

        {!!HTML::script('assets/javascript/frontend.js')!!}

        @include('Shared.Partials.GlobalFooterJS')
        @yield('foot')
</body>

more to check: https://github.com/Attendize/Attendize/search?q=facebook&type=Code&utf8=%E2%9C%93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant