This is a discussion on Contributions that require header.php? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I know oscMax doesn't have a catalog/includes/header.php file. I am trying to install a couple of contributions that need the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I know oscMax doesn't have a catalog/includes/header.php file. I am trying to install a couple of contributions that need the header.php file Code: <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> I need to know how to adjust the scripts so I don't get header.php syntax errors. |
|
#2
| ||||
| ||||
| Just remove any header includes as it is not there. Then, any new code that the mod instructions tell you to put in header.php, put in main_page.tpl.php Also, if the mods are adding new pages to the catalog, you must convert those pages to BTS format... There are a few posts about it here, do a search on adding new pages or BTS.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thanks for the helpful reply So I would put Quote:
|
|
#4
| ||||
| ||||
| No, you would remove any and all reference calls to header.php in any files of your mod. I am assuming that the header code that you are referring to is in several new pages that your mod adds. BTS has no use for it, as all the header.php info is now lumped into main_page.tpl.php. Then, you would need to convert that new page to BTS format. This includes removing the header.php and footer.php includes. See this thread: http://oscdox.com/PNphpBB2-viewtopic-t-4842.html It is for osCMax v1.7, but the process is the same...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| looking for two contributions | usmanaa | osCMax v1.7 Discussion | 1 | 06-10-2005 02:32 PM |
| BTS and other contributions | tarynyoung | osCommerce 2.2 Modification Help | 2 | 03-27-2005 01:23 PM |
| header / header.php top logo problem | the_error_king | osCommerce 2.2 Modification Help | 0 | 04-05-2004 05:02 PM |
| CONTRIBUTIONS | case510 | osCMax v1.7 Discussion | 2 | 12-19-2003 02:12 PM |