Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author shauno

    (@shauno)

    NGG 2 has completely redone the templating system. To be honest, I haven’t had a chance to look into it yet, so I have no idea how to output the custom fields.

    I will have to look into it when I get a chance, and update the plugin and documentation appropriately.

    Thread Starter edradour

    (@edradour)

    Thanks
    It seems they are having a lot of problems

    Plugin Author shauno

    (@shauno)

    NGG 2.x has drastically altered the templating system. It can be a bit complicated, but you can get the custom fields working. If you are using the “Basic Thumbnails” inserted into your post/page, you need to find the template /nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php.
    This is the new template for showing the gallery. Inside this template, you need to add the shortcode: <?php echo nggcf_get_field($image->pid, "Custom Field Name"); ?>

    It looks like only “Image” custom fields work for now. I am still working on “Gallery” custom fields.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom data not showing on templates’ is closed to new replies.