Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template in HTML ?
12-31-2009, 04:15 PM
Post: #1
Template in HTML ?
Are the templates in HTML and can I edit them with an HTML program ?
12-31-2009, 05:15 PM
Post: #2
RE: Template in HTML ?
Hello,

Well, basically they are in HTML (+CSS), but template files look like this:
PHP Code:
function template_lost_password() {
    global 
$settings$lang;

    echo 
'
  <div id="main_contents">
    <div class="content_box">
      <h2>'
$lang['lost_password_recovery'] ,'</h2>
      <form action="" method="post" name="recover_password">
        '
$lang['you_have_forgotten_password'] ,'<br />
        '
$lang['email'] ,': <input type="text" name="recover_email" size="25" />
        <input type="submit" name="submit_email" value="'
$lang['submit'] ,'" />
      </form>
    </div>
  </div>'
;

// end function 
with template editor it gets a bit clearer, but this is only in admin panel
[Image: ftemplate_editor.jpg]

I am not sure what exactly you mean by HTML program, but if you mean something like Frontpage then that most probably wont work.

Hans
onArcade.com
Visit this user's website Find all posts by this user
01-01-2010, 01:33 PM
Post: #3
RE: Template in HTML ?
yes i mean something like frontpage. i thought that it might be possible to creat a basic template e.g. a table with frontpage and than insert the other files like register or top games.

is it difficult to create an own template ? or insert things like top games with its thumbnails or change the position of this tables ?
01-01-2010, 07:03 PM
Post: #4
RE: Template in HTML ?
Hello,

In theory it is possible to create the template in FrontPage and then insert it into onArcade, but for this you would still need pretty good understanding of HTML and understand how onArcade template system works.

It is difficult for me to evaluate the difficulties of creating and modifying onArcade templates, because I created the system and I understand how everything works (so for me it is easy), for someone with knowledge of HTML and CSS it shouldn't also be difficult to make smaller modifications with template editor, bigger modifications are probably more difficult. Top games with thumbnails is not just a change on template because thumbnail information is never read from the database. For this you would also need knowledge of PHP and MySQL... though I have already created mod for this, so you would simply have to follow the instructions.

You can see template editor more closely if you log in here, click on Settings, then click on Templates and then edit under one template (UN: admin PW: admin123): Please log in to see this link.

Hans
onArcade.com
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)