Intechnic
Users Developers
Home / Forums / In-Portal CMS / Need Help! / How to add special pages? / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

How to add special pages? (4)


Posted: 03/01/2005 10:11:06 AM

Reply Quoted  


I need to have pages for the following:

Copyright Statement
Disclaimer
Privacy Policy
Terms of Service

I would just like a link in the footer to each page, but would like the page to be presented in the content area of in-portal so that it matches the theme.

How to do this?

Posted: 03/01/2005 3:37:18 PM

Reply Quoted  


Tech support does not visit the forums?

Posted: 03/02/2005 9:52:42 AM

Reply Quoted  


djdurant wrote:03/01/2005 10:11:06 AM
I need to have pages for the following:

Copyright Statement
Disclaimer
Privacy Policy
Terms of Service

I would just like a link in the footer to each page, but would like the page to be presented in the content area of in-portal so that it matches the theme.

How to do this?


Hello,

Sorry about a delay. Usually, we check the forums twice a day.

1. New Pages
Simply make a copy of "index.tpl" template as many times as you need and rename it of course. Next, you can take out everything between the main table tags:

<inp:include _template="common/head.tpl&quot/>
&
lt;BODY>
&
lt;inp:include _Template="common/pagetop.tpl&quot/>

&
lt;table width="770&quotborder="0&quotcellspacing="0&quotcellpadding="0">
    &
lt;!-- start content -->
    &
lt;tr>
        &
lt;td valign="top&quotheight="100%">


and

</td>
    &
lt;/tr>
    &
lt;!-- content \\-->
    &
lt;inp:include _Template="common/footer.tpl&quot/>
&
lt;/table>

&
lt;/body>
&
lt;/html>



Please note, that I am giving this code from the default theme.

2. Link to Template
Simply use the m_template_link tag in order to make a link to any template. There is a full description with accepted attributes and examples listed in In-tag library (Admin->Modules&Settings: Tag Library)

Thanks.

Posted: 03/03/2005 10:35:37 PM

Reply Quoted  


Works great. Modified to keep the right columns in, and used code from the welcome.tpl for formatting.