Hi,
Da ich noch in den PHP Kindeschuhen stecke, kann mir hier vielleicht wer weiterhelfen:
Ich möchte, wenn ich im Admin auf Beitrag erstellen gehe, im Textfeld bereits einen vordefinierten Eintrag drinnenhaben. sozusagen einen Musterbeitrag!
Der HTML-Code dafür ist kein Problem, nur weiss ich nicht, wie ich den Text in die FOrm einbauen kann!
danke für die Hilfe,
DocStone
Vordefiniertes Template für Beiträge
Moderator: Thorsten
Hi,
please locate, backup and open the [PATH_TO_PMFINSTALL]/admin/record.edit.php file, find out these lines below:and replace them with these ones:
Ciao,
Matteo
please locate, backup and open the [PATH_TO_PMFINSTALL]/admin/record.edit.php file, find out these lines below:
Code: Select all
...
}
?>
<form style="float: left;" action="<?php print $_SERVER["PHP_SELF"].$linkext; ?>&aktion=<?php print $acti; ?>" method="post">
...Code: Select all
...
}
if (!isset($content)) {
// Insert here a sample to help the faq authoring
$content = "<p>Insert here your text.</p>";
}
?>
<form style="float: left;" action="<?php print $_SERVER["PHP_SELF"].$linkext; ?>&aktion=<?php print $acti; ?>" method="post">
...Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist