Guest Kendo Posted October 27, 2010 Report Share Posted October 27, 2010 hey guys, www.simb6.org i trying to make where it said , "Pilot Login" And "New Pilot" i want to add Stuff under there , how to do it? Best regards, Kendo Quote Link to comment Share on other sites More sharing options...
Jon Posted October 27, 2010 Report Share Posted October 27, 2010 Inside the div tag for that area put the code you want for example: The screenshot centre is installed and i want it to show a random screenshot: <div id="leftcontent"></div> <table width="247" height="61" border="1" bordercolor="#000000"> <tr> <td bordercolor="#000000"><div align="center"><?php Screenshots::show_random_screenshot(); ?></div></td> </tr> </table> </div> That would show: Or if you wanted to just put something like a bit of text: <div id="leftcontent"></div> <table width="247" height="61" border="1" bordercolor="#000000"> <tr> <td bordercolor="#000000"><div align="center">Our Virtual airline is amazing,wait until you join us!</div></td> </tr> </table> </div> Hope this helps: Jon Quote Link to comment Share on other sites More sharing options...
CPC900 Posted April 28, 2011 Report Share Posted April 28, 2011 For some reason when I tried to add the random screenshot code, I got an error. It worked fine when I added it into "frontpage_main.tpl", but I wanted in the "header.tpl". Not sure why it was fine in one, but got the error using the same code?! Notice: The template file "/..../..../public_html/CPC//lib/skins/cpc/Screenshots/screenshots_random.tpl" doesn't exist in /..../..../public_html/CPC/core/classes/TemplateSet.class.php on line 248 This is line 248: trigger_error('The template file "'.$tpl_path.'" doesn\'t exist'); Any ideas? 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.