Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Posts
    17
    Plugin Contributions
    0

    Default Where to put new file

    Hi,

    I am trying to convert OSC POINTS AND REWARDS MODULE V2.00 into Zen-Cart.

    As per the existing module there are many files need to change as well as need to add. ZC file structure and naming convention is lot different compared to OSC. I can figure out which file need to change but I am having difficulty in adding new file.

    I have modified customer account page to include rewards module related link (variables value will be corrected once everything else is settled)
    check the attached screen shot.

    The real problem is when I click on the link it I get page not found. Let us take only one file at this moment thats my_points_help.

    Now what I have done.

    Added the file name into filenames.php
    define('FILENAME_MY_POINTS', 'my_points'); // Points/Rewards Module
    define('FILENAME_MY_POINTS_HELP', 'my_points_help'); // Points/Rewards Module

    created a file named "tpl_my_points_help.php" and placed in "C:\xampplite\htdocs\cart\includes\templates\silverfish\templates"
    created another file with name "tpl_my_points_help_default.php" and placed in "C:\xampplite\htdocs\cart\includes\templates\silverfish\templates"

    copied both of these files into C:\xampplite\htdocs\cart\includes\templates\template_default\templates - still same.

    What I am missing ? file name or file type or the location ?

    Thanks,
    Sena
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Where to put new file

    Zen Cart pages need a header_php.php file and sometimes other files also. These can be found in the includes/modules/pages/PAGE_NAME folder and are called first to prepare the data that will be displayed on the template file.

    If Zen Cart can't find a folder for a page with these preparatory scripts in, then it will return a page not found message.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    May 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Where to put new file

    Some pls help me. I am stuck.

  4. #4
    Join Date
    May 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Where to put new file

    Thanks for your help Kuroi.

    Let me resume

  5. #5
    Join Date
    Sep 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Where to put new file

    Hi,

    Did you ever get this module working in ZenCart. I am looking for the same module.

    Thanks.

  6. #6
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    68
    Plugin Contributions
    0

    Default Re: Where to put new file

    I am also extremely interested in this module. Does anyone know if anyone has created something like it? I have a lot of customers who order once so I would love to have a rewards program so they keep coming back.
    Online skin care and cosmetics
    http://www.beautyxpress.com.au

  7. #7
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Where to put new file

    Bumped.....

    Anyone?

 

 

Similar Threads

  1. Where to put file? Fixing another contribution
    By Twinge in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Apr 2009, 05:04 AM
  2. New flyout header, where to put the .lbi file?
    By darkswan in forum General Questions
    Replies: 1
    Last Post: 17 Apr 2009, 01:12 PM
  3. Where to put file?
    By Twinge in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 17 Apr 2009, 09:03 AM
  4. Where to put Linkpoint PEM file?
    By ex.wear in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 19 Sep 2008, 06:59 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR