Overview
Links
- Development: https://git.math.uzh.ch/typo3/qfq
- Builds: https://qfq.io/download
Tipps & Tricks
wkhtmltopdf
qfq-Beispiel, wie eine Seite als PDF ausgegeben werden kann (Browser-unabhängiges Resultat):
Erklärung der relevanten Elemente:
Beispiel: print media css
@media print {
a[href]:after {
content: none;
}
.uzh-header, .uzh-footer-area>.col-md-3, .uzh-content-area>.col-md-3,
.uzh-top-line .search, .uzh-footer-top {
display: none;
}
.uzh-content-area>.col-md-9, .uzh-footer-area>.col-md-9 {
width: 100% !important; /*Da der Navigationsbereich ausgeblendet wurde, kann der eigentliche content die ganze Breite einnehmen*/
}
}
Table Layout CSS
Spaltenbreite automatisch anpassen
table {
table-layout: auto;
}
Kleinere qfq-Buttons (für table-condensed)
table.table-condensed a.btn.btn-default {
border: 0px;
background-image: none;
background-color: transparent;
box-shadow: none;
-webkit-box-shadow: none;
padding: 0px 8px;
height: 20px;
}
Typo3
Print-Link so konfigurieren, dass alle aktuellen Parameter übergeben werden:
page.10.subparts.VIEWS.10.typolink.addQueryString = 1
No comments to display
No comments to display