Skip to content

Instantly share code, notes, and snippets.

@ssp
Created July 30, 2012 13:28
Show Gist options
  • Save ssp/3206904 to your computer and use it in GitHub Desktop.
Save ssp/3206904 to your computer and use it in GitHub Desktop.
xmlinclude Opac Nutzung
// für RealURL
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars'] = array (
'xmlinclude' => array (
array(
'GETvar' => 'tx_xmlinclude_xmlinclude[URL]',
'userFunc' => 'EXT:xmlinclude/Classes/RealURL/tx_xmlinclude_realurl.php:&tx_xmlinclude_realurl->main'
)
),
'57' => 'xmlinclude', // Page ID auf der xmlinclude mit RealURL genutzt werden soll
);
plugin.tx_xmlinclude.settings {
parseAsHTML = 1
cookiePassthrough.1 = DB
cookiePassthrough.2 = PSC_1
XSL.51 = fileadmin/xsl/Opac.xsl
useRealURL = 1
}
page.CSS_inlineStyle (
#content h1 {
background: transparent;
position: static;
}
.opac {
position: relative;
}
.opac .menu {
position: absolute;
top: 0px;
right: 0px;
background: rgba(255, 255, 255, 0.9);
text-align: right;
}
.opac .menu h2 {
}
.opac .menu ul {
display: none;
list-style-type: none;
}
.opac .menu:hover ul {
display: block;
}
.opac .menu ul li:hover {
text-decoration: underline;
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment