InstallationHowTo.html 4.04 KB
Newer Older
1 2
<h3>Installation</h3>
<div class="mb-3" id="accordion" role="tablist" aria-multiselectable="true">
3 4 5 6 7 8 9 10 11
    <div class="card bgWhite">
        <div class="card-header" role="tab" id="headingOne">
            <h5 class="mb-0">
                <a data-toggle="collapse" data-parent="#accordion" href="#install-zip" aria-expanded="true" aria-controls="collapseOne">
                    Install extension via ZIP file
                </a>
            </h5>
        </div>
        <div id="install-zip" class="collapse show" role="tabpanel" aria-labelledby="headingOne">
Thomas Löffler's avatar
Thomas Löffler committed
12
            <div class="card-body">
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
                <ol>
                    <li>
                        <f:link.action controller="Extension" action="download" arguments="{extension : extension, versionString : extension.lastVersion.versionString, format : 'zip'}">
                            Download ZIP file
                        </f:link.action>
                    </li>
                    <li>
                        Log into your TYPO3 backend
                    </li>
                    <li>
                        Go to Extension Manager module
                    </li>
                    <li>
                        Press the upload button on the top bar
                    </li>
                    <li>
                        Select the ZIP file and upload it. If you want to overwrite an existing extension installation, activate the
                        checkbox.
                    </li>
                </ol>
            </div>
        </div>
    </div>
    <f:if condition="{extension.composerPackageName}">
        <div class="card bgWhite">
            <div class="card-header" role="tab" id="headingTwo">
                <h5 class="mb-0">
                    <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#install-composer" aria-expanded="false" aria-controls="collapseTwo">
                        Install extension via composer command
                    </a>
                </h5>
            </div>
            <div id="install-composer" class="collapse" role="tabpanel" aria-labelledby="headingTwo">
Thomas Löffler's avatar
Thomas Löffler committed
46
                <div class="card-body">
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
                    <ol>
                        <li>
                            Go to your folder where the root composer.json file is located
                        </li>
                        <li>
                            Type: <code>composer require {extension.composerPackageName}</code> to get the latest version that runs on
                            your TYPO3 version.
                        </li>
                    </ol>
                </div>
            </div>
        </div>
    </f:if>
    <div class="card bgWhite">
        <div class="card-header" role="tab" id="headingThree">
            <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#install-t3x" aria-expanded="false" aria-controls="collapseThree">
                    Install extension with T3X file
                </a>
            </h5>
        </div>
        <div id="install-t3x" class="collapse" role="tabpanel" aria-labelledby="headingThree">
Thomas Löffler's avatar
Thomas Löffler committed
69
            <div class="card-body">
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
                <ol>
                    <li>
                        <f:link.action controller="Extension" action="download" arguments="{extension : extension, versionString : extension.lastVersion.versionString, format : 't3x'}">
                            Download T3X file
                        </f:link.action>
                    </li>
                    <li>
                        Log into your TYPO3 backend
                    </li>
                    <li>
                        Go to Extension Manager module
                    </li>
                    <li>
                        Press the upload button on the top bar
                    </li>
                    <li>
                        Select the T3X file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.
                    </li>
                </ol>
            </div>
        </div>
    </div>
92
</div>