Bug #19486
TSref: page.includeJS seems to work only for files on current server, not documented
Status: | Closed | Start date: | 2008-10-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Francois Suter | % Done: | 100% |
|
Category: | - | |||
Target version: | 4.3.0 |
Description
It seems to be impossible to include external files via
page.includeJS.file1 = ...
neither with nor without "http://" attached.
which is ok, but it could be documented in TSref. Thank You.
I tried to include jQuery hosted by Google.
Workaround for those interested:
page {
headerData.681 = HTML
headerData.681.value = <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
}
(issue imported from #M9609)
Related issues
History
#1 Updated by Nils Hodyas almost 7 years ago
there's a bug (#19399) filed elsewhere requesting inclusion of external files. So this here might be closed.
#2 Updated by Francois Suter about 6 years ago
Bug #19399 seems on its way to be rejected so I updated the TSref anyway in trunk (4.3) version.
#3 Updated by Francois Suter over 5 years ago
This is actually possible in TYPO3 4.3.
Check updated doc_core_tsref version 4.3.0
#4 Updated by Chris topher about 4 years ago
- Project changed from Core to TypoScript Reference (TSref)
- Category deleted (
Documentation) - Target version deleted (
0)
#5 Updated by Chris topher about 4 years ago
- Target version set to 4.3.0
- % Done changed from 0 to 100