Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Oct 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: New format for Index Page

    Unfortunately, no. I got frustrated and went on to a new project. I couldn't get the box to appear on the index page. Can you tell me how you got that far and then maybe I can come upwith a solution for both of us!
    Sue

  2. #12
    Join Date
    Jan 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: New format for Index Page

    I opened up tpl_index_default and moved the section for the New Products box above the section for the main text, but it's obviously not as straightforward as that. I don't know php very well, so everything i do is trial and error and rummaging around in the forums . It's a good way of learning, but I've been at it all morning and am absolutely no further along the simple task of moving the new products box above the main writing. It can get frustrating at times!

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: New format for Index Page

    You need to pay close attention to exactly where you move a code block to. Putting it in the middle of something else, or too far up so that it is outside a div it should be in, will cause problems. Also make sure you are moving the whole relevant block and nothing extra.

    As long as you do that right, you should be able to move the code ok.

  4. #14
    Join Date
    Aug 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: New format for Index Page

    Hey there - I tried this with my Index page and it works great! However, I am trying to apply the same technique to my "About Us" page and coming up with this error:


    Warning: main(includes/languages/english/html_includes/FILENAME_DEFINE_ABOUT_US2.php) [function.main]: failed to open stream: No such file or directory in /homepages/36/d173658644/htdocs/babylonink/store/includes/templates/babylon_template/templates/tpl_about_us_default.php on line 56

    Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/html_includes/FILENAME_DEFINE_ABOUT_US2.php' (include_path='.:/usr/local/lib/php') in /homepages/36/d173658644/htdocs/babylonink/store/includes/templates/babylon_template/templates/tpl_about_us_default.php on line 56


    Any ideas? I've gone through 4 times and redid each step, but still no luck.

    Thanks!

  5. #15
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: New format for Index Page

    It looks like your defining the filename , your code is looking for a file called :-

    /html_includes/FILENAME_DEFINE_ABOUT_US2.php

    and not finding it.

    I don't have an about us page , and cant see where its called from , but Step 2 would be different for this page.

    so the part where I say : "then look at the file :

    includes/modules/pages/index/header_php.php"

    I believe this is only relevant for the index page , there should be an equivalent file for the About Us page.

    hope that steers you towards a solution.
    Various Zen cart sites !

  6. #16
    Join Date
    Aug 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: New format for Index Page

    BINGO! You were right crazycucumber! I was missing defining the page in the extra filenames folder. Since the index is defined in filenames.php, but the about us is an add on, it was in a different location.

    Thanks for your help!!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. 404 error for new file format download
    By nikerymis in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 8 Nov 2011, 06:09 PM
  2. [problem]index page, new product for this month
    By kitkitng in forum General Questions
    Replies: 2
    Last Post: 8 Jul 2011, 06:18 PM
  3. Replies: 3
    Last Post: 15 Nov 2010, 10:16 AM
  4. Index Page <New Products for> Product Arrangement
    By haredo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Apr 2007, 01:16 AM
  5. Index listing format change
    By hbtrading in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jun 2006, 08:49 AM

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