fixing the templetes and crating events,slideshow and downloads plugin