[Plugin: NextGEN Gallery] How to create gallery templates?
They apparently don’t exist as downloadable templates. I don’t understand why they are shown off to us but then we have no way to get and use them???
I know this is kind of old, but if anyone needs help setting up– I can help (a little)! I put the rounded corner one on my gallery page.
Tim Gunn says, “Make it work” so I did! Though, it would be nice if someone who KNEW what they were doing made the templates available for the public.
We need to get the caption under single pick and as I have wasted some time searching this forum (and extremely useless dev homepage – http://alexrabe.boelinger…) so I run into forum posts about templates.
I found some old posts like “copy file “blah” etc…” but looks like the structure and the file names have changed in nextgen-gallery.
I can not find any updated documentation on how to create templates.
http://nextgen.boelinger.com/templates/ I also useless 🙁
Thank you for your help
I’ve created my own templates starting from those I found on “view” folder.
I’m using version 1.3.1
Thought it was just me going mad, spend DAYS trying to find the dam templates, NExtGen is cool, but trying to get everything working how you want is proving challenging.
One thing, I can get a beautiful slideshow working, but I want it to show captions on each image. I have put the caption text in place (Gallery>Manage Gallery) but no captions show up.
Any Ideas? Cheers
I will release my sample files in the next weeks, hope this will help to work on templates
@alexrabe: Oh I would be so grateful to you! I’ve bee desperately searching for a way to make them, but my level of knowledge is insufficient. 🙁
Here’s how you create your own template:
– In the directory where WP is installed, go to wp-content/plugins/nextgen-gallery/view/
– Download “gallery.php”
– Rename “gallery.php” to “gallery-templatename.php”
– Inside your theme folder, create a folder named “nggallery”
– Upload “gallery-templatename.php” to the “nggallery” folder that you just created
– To use, use this shortcode: [nggallery id=1 template=templatename]
– That’s it! 🙂
NOTE: If you are using a theme framework (Thematic for instance) the “nggallery” folder must go inside that folder NOT the child theme folder.
I’d have to argue that that’s not “it,” lol. I am proficient enough in PHP to understand that the steps you provided are what’s supposed to happen to get the template to show up.
My question is how do we create a brand spankin’ new template in the first place?
For example, Web Designer Wall gives us a zip file for the html, image and css files to practice. If I wanted to use the 6_watercolor.html style for my gallery, what do I pull from 6_watercolor.html to put in gallery-watercolor.php to make it show up on my gallery properly?
alexrabe said above:
“I will release my sample files in the next weeks, hope this will help to work on templates”
After a bit of mucking around, I got it to work…
Using this page’s source code as a base:
1. Download this CSS file as save it on your own sever in the wp-content/plugins/nextgen-gallery/css folder as ngg_YOUR_THEME_NAME_HERE.css.
2. Download all the images that are referred to in the above CSS file and put them on your own server. For example:
3. Duplicate the gallery.php file. Rename it gallery-YOUR_THEME_NAME_HERE.php. Edit the source so that it references the CSS style you want. Check this source code for an example:
4. Upload this file to wp-content/themes/YOUR_CURRENT_WP_THEME/nggallery
5. Use this shortcode: [nggallery id=1 template=sample1]
6. That’s it! It should work now! Good luck!
- The topic ‘[Plugin: NextGEN Gallery] How to create gallery templates?’ is closed to new replies.