Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    21
    Plugin Contributions
    0

    Default index.php copy for different landing pages

    Hi.

    I have a simple question, i´d like to make a copy of the index.php

    In the copy I want to use only a different ´define_main_page.php´ The index.php gets it from \includes\languages\english\html_includes\

    in the index.php I just can't find the reference to this file. I guess if i'd change the reference to ´define_main_page2.php´ I would have what i want: a copy of index.php but with different center text.

    I want this so I can have different landing pages :)
    Zenner newby - on Version 1.3.7 with Export shipping info -Multilingual ezpages - Admin profiles - Google Analytics - GoogleSitemapAdmin - and building :)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: index.php copy

    Can you explain in more detail what these different "landing pages" are intended for?
    How different do they need to be from the normal home page?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: index.php copy

    Hi DrByte,

    What I would like to do, is to have different 'homepages' depending on the referrer. For this, I need an exact copy with all the menu's, interactive as the homepage, so when i change anything on the basic index.php, it will also go to the copy.

    What I will do, is to put the 'define_main_page.php in a seperate folder. This folder i will i give ftp rights to, so the referrer can change it to it's liking.

    That's what I need the index.php copy for. Or do you see another solution to this. (I have thought of the ezpages. But that I can not put in a folder with ftp rights too?)

    Cheers
    Zenner newby - on Version 1.3.7 with Export shipping info -Multilingual ezpages - Admin profiles - Google Analytics - GoogleSitemapAdmin - and building :)

  4. #4
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: index.php copy

    I am looking for something like this

    id like to have an index page that dont have any categories and just the information sidebox enabled.

    On this index page it tells all about what i offer, of course with a link to register, once the yare registered the yare brought to the other idex page titled members.php or something, Here would be the regular zencart index page as it current is with categories, products and sideboxes and all.

    Any Suggestions

 

 

Similar Threads

  1. Copy index.php to Web Root
    By drziegler in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Oct 2009, 07:27 PM
  2. how to get different header for different pages? - Without CSS
    By markpr9 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Apr 2009, 04:34 PM
  3. Making copy of site fails to show any page but index.php
    By onpointlasers in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 12 Sep 2007, 09:00 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