Results 1 to 4 of 4

extra pages mod - doesnt resemble main pages

This is a discussion on extra pages mod - doesnt resemble main pages within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi I have installed the extra pages contribution and have tried to make it look like therest of the catalog ...

      
  1. #1
    Active Member
    Join Date
    May 2004
    Location
    somewhere above colchester uk
    Posts
    147
    Rep Power
    0


    Default extra pages mod - doesnt resemble main pages

    Hi

    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?

    cheers
    kim
    Google says be nice!

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    somewhere above colchester uk
    Posts
    147
    Rep Power
    0


    Default

    please anyone?
    Google says be nice!

  3. #3
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    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
    Active Member
    Join Date
    May 2004
    Location
    somewhere above colchester uk
    Posts
    147
    Rep Power
    0


    Default

    thanks cliffy dearest!
    Google says be nice!

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, 10: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, 01: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

Bookmarks

Posting Permissions

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