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,655
    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.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    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
    70
    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. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3370
    Last Post: 16 May 2013, 01:03 PM
  2. Update Data With SQLScripts Created In Excel
    By JuxiZoza in forum Setting Up Categories, Products, Attributes
    Replies: 74
    Last Post: 23 Mar 2006, 05:16 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
  •