I checked your installation and it works now (I made a page called Test! and an entry called Test!).
There were several problems. First the problem many beginning users have: if you specify variables in your template you should use $entry within the entry template and $page in the page template.
Secondly if you use Bonusfields you should use the sample given in the documentation otherwise the gallery won't be set-up.
The documentation specifies:
- Code: Select all
[[bonusgallery assign='gallery' content=$entry.extrafields.galleryimagelist fancybox='1']]
[[foreach from=$gallery item='image']]
<a href="[[$image->src]]" class="fancybox" title="[[$image->title|escape]]" rel="[[$image->rel]]">
<img src="[[$image->getImgSrc(75,75)]]" alt="[[$image->alt|escape]]"
title="[[$image->title|escape]]" />
</a>
[[/foreach]]
which means that the fieldname you have to define should be called
galleryimagelist. If you give it another name then the template code should be changed accordingly. And this sample is only meant for entries! You can use it in the page template but then $entry has to be changed to $page!
But there seems to be a problem in Bonusfields itself. If you locate the gallery before the introduction saving doesn't seem to work!
Maybe Marcel can take a look at that?
I've positioned it now before the keywords (were I normally use it) and there saving works.
Please check out the code I left in the templates and fine tune if necessary.
Quality is in the detail of things............
Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!