Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter colt5034

    (@colt5034)

    Hi Hunk

    That worked a treat, thank you.

    Really love the Magic Fields Plugin, great work.

    I have another few questions if you can answer them?

    how would i get it to work with the get_group command?

    This is as far as i got with my code:

    slides: [// Slideshow Images
    <?php $slides = get_group(‘supersized’);
    foreach($slides as $slide){ ?>

    {image : ‘<?php echo $slide[‘supersized_slide_image’][1] ?>’, title : ‘<?php echo $slide[‘supersized_slide_caption’][1] ?>’}<?php } ?>
    ]

    Also, this is a little harder to explain
    As each the image is part of the array i will need a comma at the end of every line e.g. “…title : ‘<?php echo $slide[‘supersized_slide_caption’][1] ?>’} , <?php } ?>”
    However this will cause the plugin to break in IE…
    Is there any way I can add a comma at the end of every line except the last one?

    Thanks again for your help
    Cheers
    Colin

Viewing 1 replies (of 1 total)