Jump to content

Template Editing


stevenrca

Recommended Posts

Hi,

Can anyone share thier experience in altering the Portal template ? I have an issue whenever i try to alter the header.tpl / home.tpl file the out put seems coming one table below the other. Even just a comment in the file is resulting into this.

 

I did got few working templates from friend and try to alter the same resulted like the above.

 

Thanks in advance.

 

WHMCS is a great script and developer keep up the g8 works.

 

Regards

 

Steve

Link to comment
Share on other sites

What are you trying to do, can you share the code you are trying to add to the tpl!?

 

Hi Baji,

 

Thanks - u can see the code in - portal folder in template. header.tpl and homepage.tpl.

 

If i try to remove any menu on the left hand side of menu bar or remove any menu on the horizontal in header.tpl file the homepage.tpl is apearing below the menu.

small_screent-pre.jpg

Link to comment
Share on other sites

If you wanna remove any menu buttons on the left side you would have to remove them like this:

 


<tr><td> <a href="announcements.php"><img src="images/rssfeed.gif" alt="{$LANG.announcementstitle}" align="middle" /></a>  <a href="announcements.php" >{$LANG.announcementstitle}</a></td></tr>

 

For the homepage.tpl is similar:

 

    <td width="10%"><div align="center"><a href="clientarea.php"><img src="images/clientarea_big.gif" alt="{$LANG.clientareatitle}" /></a></div></td>
    <td width="40%" style="padding-left:5px;"><a href="clientarea.php"><strong>{$LANG.clientareatitle}</strong></a><br />{$LANG.clientareadescription}</td>

Link to comment
Share on other sites

If you wanna remove any menu buttons on the left side you would have to remove them like this:

 


<tr><td> <a href="announcements.php"><img src="images/rssfeed.gif" alt="{$LANG.announcementstitle}" align="middle" /></a>  <a href="announcements.php" >{$LANG.announcementstitle}</a></td></tr>

 

For the homepage.tpl is similar:

 

    <td width="10%"><div align="center"><a href="clientarea.php"><img src="images/clientarea_big.gif" alt="{$LANG.clientareatitle}" /></a></div></td>
    <td width="40%" style="padding-left:5px;"><a href="clientarea.php"><strong>{$LANG.clientareatitle}</strong></a><br />{$LANG.clientareadescription}</td>

 

 

 

Hi Baji,

 

Thanks again, and apriciate your help.

 

I did checked the code u pasted above looks same as their in the files. COuld u please share more details of the tpl file.

 

Thank you very much in advance.

 

Regards

Steven

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