Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 4 of 4

Thread: extra pages mod - doesnt resemble main pages

  1. #1

    Default extra pages mod - doesnt resemble main pages


    I have installed the extra pages contribution and have tried to make it look like therest of the catalog by adding:- require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE); to info_pages.php

    It does some of the job, but I am getting this on my info pages:-

    Warning: main(templates/content/.tpl.php): failed to open stream: No such file or directory in /home/huskyzco/public_html/catalog/templates/main_page.tpl.php on line 62

    is there something I need to add to main page.tpl to make this work?


  2. #2


    please anyone?

  3. #3


    Hows my girl in the UK !!

    The file this code is looking for according to the error is ".tpl.php" which of course does not exist. Looks like your missing the define statement or part of the code.

    The method for actually taking a ms2.2 style module and adding it to MAX is pretty simple. just take all the php code out of the modules php file and put it into a file in /templates/content/pagename.php

    Then in filenames.php add your define statements and in /includes/languages/english.php add your define statements.

    It's pretty much the same as adding a new standard page which you can find instructions on in this forum, just add the cut out php code from the module to the /template/content/file

    I will see if i can get this module ported to MAX for you, or better yet i'll write a verison for MAX.

  4. #4


    thanks cliffy dearest!

Similar Threads

  1. Extra Pages
    By pefc2525 in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 01-09-2006, 08:14 PM
  2. Extra Pages
    By draytondavant in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-23-2005, 09:18 PM
  3. Extra pages-info box w/ admin
    By modMan7 in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 03-30-2005, 06:16 AM
  4. product categories list doesnt show up in non ssl pages
    By Dumb_Question in forum osCmax v1.7 Discussion
    Replies: 17
    Last Post: 10-29-2004, 12:37 AM
  5. Extra pages in information box
    By neil in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-24-2003, 06: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