I've read the documentation about creating an extra field during the submit process.
However, I'm wondering.. I want to create a box where a user can enter a specific alphanumeric id. Then, the number will be displayed on the bookmarking_post.php page.
Can I use the same format as adding a field to the user profile? For example:
And then create a form for it..Code:$post['number'] = $h->cage->post->testAlnum('number');
And then add the proper code to bookmarking_post.php to display the number, maybe something like this..Code:<tr><td>Number: </td><td><input type="text" name="number" value="<?php echo $h->post->number; ?>"></td></tr>
It's dirty, and I know there might be a couple of syntax issues with this, but is it possible to do it this way? Or, do I need to create a plugin with db fields, modeled like the media select plugin?Code:<?php if (!empty($post['number'])) { ?> <?php echo $h->post->number; ?> <?php } ?>


Reply With Quote

Bookmarks