Guest ebooktron_com Posted November 8, 2005 Share Posted November 8, 2005 Hello! In the index.tpl, there is a section for the page content <div class="colMid"> {PAGE CONTENT} </div> My question is: From where cubecart get this information? Where is the pagecontent.tpl? How can I change that middle content? I have a form that I would like to put right in the middle of whatever.tpl. So I copy index.tpl and I rename whatever.tpl. I want the form I got to be put in the middle of whatever.tpl. That would be in the {PAGE CONTENT} Any help would be appretiated! jose Quote Link to comment Share on other sites More sharing options...
roban Posted November 8, 2005 Share Posted November 8, 2005 The main page is stored in language/your language/home.inc.php but it is generated from admin control panel 'Home Page' and is edited from there. Quote Link to comment Share on other sites More sharing options...
convict Posted November 8, 2005 Share Posted November 8, 2005 pagecontent.tpl doesnt exist. have look into index.php especialy to whatever under switch ($_GET['act']). PAGE_CONTENT is generated here (direct in included files). Quote Link to comment Share on other sites More sharing options...
markscarts Posted November 8, 2005 Share Posted November 8, 2005 . . . and there are many templates used by php to create {PAGE_CONTENT} These templates are found in styleTemplates/content/ Quote Link to comment Share on other sites More sharing options...
Guest ebooktron_com Posted November 8, 2005 Share Posted November 8, 2005 ok, Thank you for your help! Now I have another question: Can it be possible to have the index.tpl show a form.php instead of the Main Content? Can it be possible to have something like <div class="colMid"> home/Form.php </div> jose Quote Link to comment Share on other sites More sharing options...
convict Posted November 8, 2005 Share Posted November 8, 2005 do yo mean php code? with any php code within templates you will be failed write own php and tpl, use iframe or modify existing one php and appropriate template if you like to show home/Form.php as a string within page content you are welcome :huh: 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.