Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    4
    Plugin Contributions
    0

    Default HELP! INCLUDE or REQUIRE function for new file

    I can't get "include" or "require" function to work with one of my new file:

    I have been trying to develop a module to show manufacturings brands on the main page. I started by copying all files related to featured products functionality, and understand the calling steps involved:
    step 1: tpl_index_default.php -- will call the file of:
    tpl_module_featured_products.php -- which is tpl_module_featured_brands.php for my new function

    step 2: tpl_module_featured_brands.php will call featured_brands.php under "modules", somehow the "include" or "require" can't really work, do I need to register "featured_brands.php" with some file to make it work? I have also tried to call directly using "includes/modules/promoted_brands.php", it also does not work.

    Has been working on this for a few hours, usually I am able to find answers through search, but for this one I do not even know how to search my questions... Any help would be much appreciated!

  2. #2
    Join Date
    Jun 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: HELP! INCLUDE or REQUIRE function for new file

    never mind, found it is because of a typo Z"""""

 

 

Similar Threads

  1. Error MessageWarning: require(includes/application_top.php) [function.require]: faile
    By valbuhagiar in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 31 Oct 2011, 07:44 PM
  2. FataL error: require() [function.require]:
    By weezee in forum General Questions
    Replies: 5
    Last Post: 23 Nov 2010, 02:31 PM
  3. Replies: 3
    Last Post: 4 Oct 2006, 07:29 PM
  4. Require Help for New Zenners
    By brn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Sep 2006, 06:51 PM

Posting Permissions

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