A couple suggestions/tips for using this module:
1. I added $cv->description to editor.class.inc.php, around line 136. Nothing fancy for now, just stuck it in a <p> tag. This writes the description of the TV field, helpful for prompting the user for a TV.
2. I have TV’s that aren’t directly included on a page template, but are either accessed in a snippet or are included as part of another element such as a URL or image (where I don’t want to set parameters in a widget). For those I made the following little snippet, called SetVar:
// Usage: SetVar?thisTV=yourtvname
if($_SESSION['mgrValidated']) {
$output.="<div style='border:1px dotted gray>[*#".$thisTV."*]</div>";
return $output;
}
Right now of course this outputs the content of the TV if a manager user is logged in, and the QuickEdit module adds an edit button. Of course if the TV has a lot of text, or if it has values that may confuse the user, this can get cumbersome. The ideal would be a way to output a link to edit the TV without displaying all of its data. Adam, what would you think would be the best way to do this?