• Resolved anna-blume

    (@anna-blume)


    In NextGEN Gallery 1.9 I have adapted these files:
    /view/imagebrowser.php, /view/gallery-caption.php, /view/gallery.php

    I also found the files in NextGEN Gallery 2.1.62:
    / Products / photocrati_nextgen / modules / ngglegacy /

    However, changes do not have any effect. Ask for help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @anna-blume – You are referring to NextGEN Legacy templates, are you using these templates in your displays under the current NextGEN Gallery release?

    Thanks!

    – Cais.

    Thread Starter anna-blume

    (@anna-blume)

    I do not know what NextGEN Legacy templates are.

    So far I have in NextGEN Gallery 1.9 made these changes:

    nextgen-gallery/view/imagebrowser.php/view/gallery-caption.php/view/imagebrowser.php
    Line 21 deleted 
    behind line 25 insert: <div class="ngg-imagebrowser-desc"><p><?php echo $image->description ?></p></div>
    nextgen-gallery/view/imagebrowser.php/view/gallery-caption.php /view/gallery-caption.php
    Overwriting Line 42 : <a>imageURL ?>" title="<?php echo $image->alttext ?>; <?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    nextgen-gallery/view/imagebrowser.php/view/gallery-caption.php /view/gallery.php
    Overwriting Line 78 : <a>imageURL ?>" title="<?php echo $image->alttext ?>; <?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
    behind line 25 insert:
    <span><?php echo $image->alttext ?></span>
    <span><?php echo '?', $image->description ?></span>

    Now I use NextGEN Gallery 2.1.62
    I find the data to be corrected here:
    nextgen-gallery/ Products / photocrati_nextgen / modules / ngglegacy /
    /view/imagebrowser.php
    /view/gallery-caption.php
    /view/gallery.php

    However, changes do not have any effect. Ask for help.
    Sorry english is not my language.

    • This reply was modified 8 years, 3 months ago by anna-blume.
    • This reply was modified 8 years, 3 months ago by anna-blume.
    • This reply was modified 8 years, 3 months ago by anna-blume.
    Plugin Contributor photocrati

    (@photocrati)

    @anna-blume – You are looking at the right files that were retained for backward compatibility with NextGEN Legacy versions and for the most part (although there have been some minor changes) the templates used in NextGEN Legacy and their current counterparts in NextGEN Gallery will be the same or very similar. If you are not seeing the changes you are making to the NextGEN Gallery template files then you may need to insure those template files are being used in your current displays where you are expecting to see the changes.

    Thanks!

    – Cais.

    Thread Starter anna-blume

    (@anna-blume)

    Thanks for the useful hint. I will keep trying.
    My main problem:
    nextgen-gallery/ Products / photocrati_nextgen / modules / ngglegacy / view / gallery.php
    is no longer responsible for tagcloud. My wish is under the tagcloud thumbnails
    write: $image->alttext and $image->description.
    Where I have to write it. Thank you very much.

    Plugin Contributor photocrati

    (@photocrati)

    @anna-blume – You can also use our new (undocumented) template system that works on the idea of overriding all existing instances of a display type. For the Tag Cloud display type, as an example:

    * Copy this file: ../wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_tagcloud/templates/nextgen_basic_tagcloud.php
    * To this location: ../wp-content/ngg/modules/photocrati-nextgen_basic_tagcloud/templates/ (you may need to create the folder)
    * Modify the copied file to add your changes.

    Going forward your custom template should be used for all Tag Cloud displays.

    Thanks!

    – Cais.

    • This reply was modified 8 years, 3 months ago by photocrati.
    Thread Starter anna-blume

    (@anna-blume)

    Many thanks for the try to help. But your tip did not help.
    But I was successful, i change this file:
    /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/index.php
    And everything is o.k., Thanks for the useful tip und the very good plugin.

    Merry christmas and happy new year.

    Plugin Contributor photocrati

    (@photocrati)

    @anna-blume – You’re welcome and Happy Holidays!

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change Files Problem’ is closed to new replies.