WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. davesnothere
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

    Removing

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

    Does what I wanted.

  3. davesnothere
    Member
    Posted 3 years ago #

    that would be in nggfunctions.php ln 172

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.