NextGEN Gallery
[resolved] changing 'Gallery not found' (3 posts)

  1. davesnothere
    Posted 5 years ago #

    Has anyone changed the function of an empty gallery? I want to change things so that I don't get the 'gallery not found' message, but have it return the gallery description. I know I need to play around with nggfunctions.php about line 162, but it's a bit beyond my skills. Can anyone point me in the right direction? Searches have been unhelpful.

    Client has a portfolio, and wants to add some projects without images, but wants to add a brief description.

  2. davesnothere
    Posted 5 years ago #


    if ( !$picturelist )
            return __('[Gallery not found]','nggallery');

    Does what I wanted.

  3. davesnothere
    Posted 5 years ago #

    that would be in nggfunctions.php ln 172

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.