View Single Post
Old June 9th, 2009, 05:42 PM   #5 (permalink)
draxx
Member
Verified Customer
 
Join Date: May 2009
Location: Ohio
Posts: 91
You mean I can link a header.php and a footer.php through admin global options instead of a header.html ? In this case who's header footer does it call first? ppclassifieds or the supplied one?

I added the opening stuff to index.php in ppclassifieds. Nuke loaded the main page of the module perfectly. But when I click on a category or something else it does not run this feature off of index.php but rather loads another (Showproduct,showcat). So I tried adding the nuke stuff to that file and it complained and said it could not find my mainfile.

Warning: main(mainfile.php) [function.main]: failed to open stream: No such file or directory in /var/www/virtual/domain.com/htdocs/modules/Classifieds/showproduct.php on line 19

Fatal error: main() [function.require]: Failed opening required 'mainfile.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/virtual/domain.com/htdocs/modules/Classifieds/showproduct.php on line 19

It should be looking in
/var/www/virtual/domain.com/htdocs/ - or the root web directory, for mainfile.

This has something to do with phpself?

Is there a way I can tell it not to forget its a nuke module when I load showcat or showprod?
draxx is offline   Reply With Quote