Change Files Problem
-
In NextGEN Gallery 1.9 I have adapted these files:
/view/imagebrowser.php, /view/gallery-caption.php, /view/gallery.phpI 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.
-
@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.
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.phpHowever, changes do not have any effect. Ask for help.
Sorry english is not my language.-
This reply was modified 9 years, 5 months ago by
anna-blume.
-
This reply was modified 9 years, 5 months ago by
anna-blume.
-
This reply was modified 9 years, 5 months ago by
anna-blume.
@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.
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.@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 9 years, 5 months ago by
photocrati.
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.
@anna-blume – You’re welcome and Happy Holidays!
– Cais.
-
This reply was modified 9 years, 5 months ago by
The topic ‘Change Files Problem’ is closed to new replies.