osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-02-2004, 04:03 AM
Active Member
 
Join Date: May 2004
Location: somewhere above colchester uk
Posts: 147
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
battleaxe
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-03-2004, 03:30 AM
Active Member
 
Join Date: May 2004
Location: somewhere above colchester uk
Posts: 147
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
battleaxe
Default

please anyone?
__________________
Google says be nice!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-03-2004, 07:00 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
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.
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-05-2004, 06:32 AM
Active Member
 
Join Date: May 2004
Location: somewhere above colchester uk
Posts: 147
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
battleaxe
Default

thanks cliffy dearest!
__________________
Google says be nice!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax