So I have found the solution to the disappearing arrows and why changing the value in the javascript does not work.
In the core/components/gallery/elements/chunks/gallerifficjs.chunk.tpl file, it explicitly handles the "onPageTransitionIn:" function.
The only file that needs to be changed to get this to work is this tpl file...
core/components/gallery/elements/chunks/gallerifficjs.chunk.tpl
find where it reads opts.onPageTransitionIn = function() { this.fadeTo('fast', 1.0); }; and change it to the following
opts.onPageTransitionIn = function() {
var prevPageLink = this.find('a.prev').css('visibility', 'hidden');
var nextPageLink = this.find('a.next').css('visibility', 'hidden');
// Show appropriate next / prev page links
if (this.displayedPage > 0)
prevPageLink.css('visibility', 'visible');
var lastPage = this.getNumPages() - 1;
if (this.displayedPage < lastPage)
nextPageLink.css('visibility', 'visible');
this.fadeTo('fast', 1.0);
}
after that, follow the instructions above and copy and paste the event handlers
var gallery = $(opts.thumbsContainerSel).galleriffic(opts);
/**************** Event handlers for custom next / prev page links **********************/
gallery.find('a.prev').click(function(e) {
gallery.previousPage();
e.preventDefault();
});
gallery.find('a.next').click(function(e) {
gallery.nextPage();
e.preventDefault();
});
/****************************************************************************************/
I hope this helps.