Guest loobiac Posted March 12, 2006 Share Posted March 12, 2006 Im creating a custom page, it will be a "document page". But Id like to keep the current viewDoc.tpl intact, and then have a second viewDoc.tpl (ie viewDoc2.tpl) that is loaded for the custom page. Is this possible? (I hope my English makes sense =) ) Quote Link to comment Share on other sites More sharing options...
markscarts Posted March 12, 2006 Share Posted March 12, 2006 The easy hack for this is to duplicate some files. You would copy viewDoc.inc.php as veiwDoc2.inc.php, then you would assign its output in the root index.php, just as tviwDoc.inc.php is assigned there. In your "new" viewDoc2.inc.php you would set the XTemplate as viewDoc2.tpl Quote Link to comment Share on other sites More sharing options...
Guest loobiac Posted March 12, 2006 Share Posted March 12, 2006 I see, but where do I set which of the two .tpl files that will be used? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.