Jump to content

[SOLVED]WebSite style


Guest Kendo

Recommended Posts

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:

rndm.jpg

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

Link to comment
Share on other sites

  • 6 months later...

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...