Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • All,

    Well, nevermind my previous post. ?? I think I figured it out. I thought I was enabling the custom field, but I guess I really wasn’t, so now I’ve got it. Great plugin!

    Hello everyone,

    I’ve just installed AMM, and I do like it, but here are the problems:

    I managed to get one post to work on my weblog: Quilt Epiphany Weblog but I’m not really sure exactly how. It just suddenly popped up with the right pic in the preview window after many saves. Now I’m trying to write another post, using the same code in the post except for the ID number:
    <!--amm_getMediaID('amm_my_first_go',2)-->

    and I’m getting nothing, no pic, no title, no author. Here’s what’s in my amm_extras.php file:

    function amm_my_first_go($amm){
    ?>
    <?php for ($x = 0; $x < $amm->totalItems(); $x++ ) :?>
    <?php echo $amm->imageLink(120);?>
    <p class="c3"><?php echo $amm->title();?>,by <?php echo $amm->author();?>

    <?php $amm->nextItem(); endfor; ?>

    <?php } ?> // Closing amm_my_first_go function

    Can anyone give me a hint? Thanks!

    PS, I hope I’ve posted this right, forums are not my strong point, and I didn’t know what was meant by “Put code in between backticks.” Would be nice if there was a preview button… ??

Viewing 2 replies - 1 through 2 (of 2 total)