Embed EQdkp Plus

From EQdkp Plus
Jump to: navigation, search


tools.php?action=compare_version&repo=core&version=2.x&lang=en&.png


Versionsinformation
Core 2.x


This is a guide to embedd EQdkp Plus in other applications, using an iframe.

Settings

  • ACP > Settings > Portal > "Allow embedding EQdkp Plus in other Websites" => True

Portal modules

Use a portal layout without any portal modules, or create a new one and use this (ACP > Settings > Portal) as the default one.

Styling

You should remove the things you don't need for embedding. To make this a bit easier, we have prepared a few css classes. Edit the index.tpl file of the style you want to use, and remove from the body tag the class responsive, and add the class embedded. Then, open the custom.css of your style, and uncomment the following block (or simple add it).

body.embedded {
	background: transparent;
}
.embedded #header, .embedded .personalAreaTime {
	display: none;
}
.embedded #contentContainer {
	background: transparent;
	margin:0;
	box-shadow: none;
	border: none; 
}
.embedded #personalArea {
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 0;
	box-shadow: none;
}
.embedded #contentBody, .embedded #contentBody2 {
	background: transparent;
	border: none;
}
.embedded #footer, .embedded .copyright, .embedded #footer a, .embedded #copyright a {
	color: inherit;
}

Embedd

Use a simple iframe for embedding:

<iframe src="https://yourdomain.com/index.php/calender/" width="100%" height="4000px"></iframe>