Jump to content

Editing Template Files


sunwest

Recommended Posts

I am trying to edit the homepage.tpl file in the default templates folder. I want to add another option to those available. I added my option, to include the link description and icon, to the homepage.tpl file; added the title and description information to the English.txt lang file, and when I uploaded the edited file my page went blank. All other .tpl files were unaffected, but my homepage.tpl file is now a blank page. Did I miss a step in this operation?

 

I added this to the homepage.tpl file -

 

{$LANG.forumtitle}

{$LANG.forumdescription}

 

plus an appropriate icon.

 

I added this to the .txt lang file -

 

$_LANG["forumtitle"] = "Support Forum";

 

$_LANG["forumdescription"] = " You can use our Support Forum for additional help.";

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated