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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| please anyone?
__________________ Google says be nice! |
|
#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.
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
|
#4
| |||
| |||
| thanks cliffy dearest!
__________________ Google says be nice! |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extra Pages | pefc2525 | osCMax v2 Installation issues | 1 | 01-09-2006 08:14 PM |
| Extra Pages | draytondavant | osCMax v2 Features Discussion | 1 | 06-23-2005 09:18 PM |
| Extra pages-info box w/ admin | modMan7 | osCMax v1.7 General Mods Discussion | 2 | 03-30-2005 06:16 AM |
| product categories list doesnt show up in non ssl pages | Dumb_Question | osCMax v1.7 Discussion | 17 | 10-29-2004 12:37 AM |
| Extra pages in information box | neil | osCommerce 2.2 Installation Help | 1 | 01-24-2003 06:49 AM |