Options

validating data for vanilla tables

edited May 2007 in Vanilla 1.0 Help
Hi, I've started a project which I really shouldn't have, which involves inserting comments into the vanilla database from a dialogue box of my own construction (and also reading the existing comments back). I'm a bit stuck with validating comments for saving to the database, does anyone have any advice. Thanks, Jimmy

Comments

  • Have a look at library/Vanilla/Vanilla.Class.CommentManager.php. I think you will find all you need in there. Examples of how to use it can be found in library/Vanilla/Vanilla.Control.DiscussionForm.php
  • thanks for your help!
This discussion has been closed.