Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: editing define_main_page

    Hi Schoolboy

    You are absolutely right and it was my bad that I confused another thread discussing index.php with index.html, where the latter page is to act like a splash page accessible only from within the site and draws upon the content and style of the pre-existing home page of a static html site.

    I hope the above is clearer than mud!

    So if I may re-cast my query: I want to setup a defined page called main.php, as opposed to index.php, that is based on the About_Us mod. Would there be any conflicts with zc code in doing so.

    The content for this page would therefore be edited using includes/languages/english/html_includes/My_Template/define_main.php.

    Cheers

  2. #12
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: editing define_main_page

    So far so good.

    All I had to do was:

    1. be particular about converting references from main_page.pgp to main.php, including links

    2. create a new tpl_main_page.php in includes/templates/MyTemplate/main/tpl_main_page.php

    3. create a main.css to suit in includes/templates/MyTemplate/css/

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Editing define_main_page corrupts home page?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 May 2009, 01:35 AM
  2. While editing define_main_page.php
    By JannyM in forum Customization from the Admin
    Replies: 2
    Last Post: 9 May 2009, 06:33 PM
  3. define_main_page
    By balihr in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Oct 2008, 09:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg