Hello,
I'm having some troubles with the implementation of the CFK editor. I get it in my page, but it displays on the top of the page, and not in the form, where I want it. I'm using php templates, I don't know if this makes any difference?
In the admin_add.php page
In the admin_add.tpl page
Attachement: screenshot

I'm having some troubles with the implementation of the CFK editor. I get it in my page, but it displays on the top of the page, and not in the form, where I want it. I'm using php templates, I don't know if this makes any difference?
In the admin_add.php page
include_once "fckeditor/fckeditor.php"; $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = 'fckeditor/' ; $oFCKeditor->Value = 'Voer hier de omschrijving in' ; $fck = $oFCKeditor->Create(); $addtpl->set_var("FCK", $fck);
In the admin_add.tpl page
<form action="{ACTION}" method="post" enctype="multipart/form-data" id="adminlogin"> <p>Naam van de locatie<br /> <input type="text" name="naam" id="naam" maxlength="20" /><br /> Adres en nummer<br /> <input type="text" name="adres" id="adres" maxlength="50" /> <input type="text" name="nr" id="nr" maxlength="4" class="pcode" /><br /> Postcode<br /> <input type="text" name="pcode" id="pcode" maxlength="4" class="pcode"/><br /> Gemeente<br /> <input type="text" name="gemeente" id="gemeente" maxlength="30" /><br /> Categorie<br /> <select name="cat" id="cat"> <option value="Cafe">Café</option> <option value="Restaurant">Restaurant</option> <option value="Dancing">Dancing</option> <option value="Cultureel">Cultureel</option> <option value="Frietuur">Frietuur</option> <option value="Snack">Snack</option> </select><br /> Telefoon<br /> <input type="text" name="tel" id="tel" maxlength="20" /><br /> Omschrijving<br /> {FCK}<br /> <input type="submit" value="Voeg deze locatie toe" id="gobtn" /> </p> </form>
Attachement: screenshot
