poole3003 Posted August 21, 2014 Report Share Posted August 21, 2014 got this code when i tried to add the newest picture to the home page Notice: The template file "/home/collin14/public_html//lib/skins/cc_vaskin_02/Screenshots/screenshots_new.tpl" doesn't exist in/home/collin14/public_html/core/classes/TemplateSet.class.phpon line 248 Quote Link to comment Share on other sites More sharing options...
BaRBeR Posted August 21, 2014 Report Share Posted August 21, 2014 The file screenshots_new.tpl doesnt exist Quote Link to comment Share on other sites More sharing options...
ChrisTaylor Posted August 21, 2014 Report Share Posted August 21, 2014 Go to the templetes directors and find screenshots_new.php Change ALL the files to .tpl Quote Link to comment Share on other sites More sharing options...
poole3003 Posted August 21, 2014 Author Report Share Posted August 21, 2014 there isnt a .php file sorry to say just .tpl files and the file is defo there Quote Link to comment Share on other sites More sharing options...
poole3003 Posted August 21, 2014 Author Report Share Posted August 21, 2014 i have made it work but how would i make this clickable as in once the picture was on the site how would i be able to click it to make it bigger using this code <?php Screenshots::show_newest_screenshot(); ?> Quote Link to comment Share on other sites More sharing options...
BaRBeR Posted August 22, 2014 Report Share Posted August 22, 2014 This might do it: <a href="'.SITE_URL.'/index.php/Screenshots/large_screenshot?id='.$screenshot->id.'">]<?php Screenshots::show_newest_screenshot(); ?> </a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.