jahnni
Forum Replies Created
-
Forum: Plugins
In reply to: [gtrans] [Plugin: gtrans] Fatal error installing pluginhi there!
i’ve found this.
https://stackoverflow.com/questions/8971261/php-5-4-call-time-pass-by-reference-easy-fix-availablei’ve changed from load_defaults(& $data); to load_defaults($data); wherevere the function was called and it now works.
bye
GioHi there! Hi managed the below
1) Switching images by clicking on them.
at the same time
2) Closing the window, when clicking on the right or the left of the picture or when last image is reached
adding those lineseif(document.getElementById('prevpic')){ document.getElementById('prevpic').onclick = function(e){e.stopPropagation();shutterReloaded.make(prev);}; } if(document.getElementById('nextpic')){ document.getElementById('nextpic').onclick = function(e){e.stopPropagation();shutterReloaded.make(next);}; } document.getElementById('shWrap').onclick = function(e){shutterReloaded.hideShutter();}; if(nextlink == ''){ document.getElementById('shTopImg').onclick = function(e){shutterReloaded.hideShutter();}; }else{ document.getElementById('shTopImg').onclick = function(e){e.stopPropagation();shutterReloaded.make(next);}; }
around line 138, right under
D.innerHTML = '<div id="shWrap"><img src="'+shutterLinks[ln].link+'" id="shTopImg" title="' + t.msgClose + '" onload="shutterReloaded.showImg();" />' + NavBar +'</div>';
i postet the whole shutter-reloaded.js there https://pastebin.com/Rx3bcyna
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] Event category templateI’m not sure i fully understood what your desired result is.
Maybe the solution to your problem is even easier than the one described above, have you tried to set the Events category as parent of your cities category (every city as child of Events category)?
I used the solution I’ve described above ’cause I had to display different event categories with different layouts. That’d be your case if you need to show the events in different way for every city. i.e.: you want to show the events titles for a city, a picture and the date for another city and so on….