groups

name language licence
ExtraContent Sample - 4 columns HTML Other
ExtraContent Sample - column CSS CSS Other
ExtraContent Sample - iFrame HTML Other
ExtraContent - End HTML Other
ExtraContent Sample - @import and Contact Form HTML Other
ExtraContent Sample - plain text HTML Other
DomReady.min JavaScript Other
ExtraContent Snippet HTML Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 >



language: HTML
licence: Other

ExtraContent Sample - @import and Contact Form

options: view full snippetsend to code collector
<div id="myExtraContent1">
	<div class="column two">
		<div class="content">
			<h2>How cool would it be?</h2>
			<p>How cool would it be to add a contact for to your HTML page? Well you need to have styled text for Pluskit's @import to work, so with ExtraContent, you can add the @import rule into the styled text sidebar inside an ExtraContent snippet and KAPOW! You have a contact form ON your HTML page! w00t!</p>

			<p>Here is what you do:</p>
			<ol>
				<li>create your HTML page using the php extension</li>
				<li>add <code><?PHP session_start(); ?></code> to View > Show Page Inspector > Header > Prefix</li>
				<li>in a styled text sidebar add <code>@import((Contact Form))</code> where "Contact Form" is the name of your contact form.</li>
				<li>wrap your @import rule in and appropriate ExtraContent snippet</li>
				<li>ignore formatting where necessary, but DO NOT ignore the @import rule!</li>
				<li>That's it, Pluskit and ExtraContent does the rest!</li>
			</ol>
	
(Continues...)