Results 1 to 7 of 7
  1. #1
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Override, help please

    Ok, as I am directing more of my attention to the website side of things on my business I am trying to make an override system for it. I bypassed this before, but I have kept track of what I have changed so now I want to go back and make this. The 1st thing I tried to do was change my Japanese.php to the override, but it did not work at all, I have it like this, includes/languages/Japanese/Green(my template Name)/Japanese.php

    This does not work at all, but If I put the same file just in the normal place, it works. Why would this be?

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Override, help please

    it should be incudes/languages/my template/japanese.php
    and includes/languages/japanese/ ( insert any all other language files here )
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Override, help please

    ok, i tried that, didn't work
    got
    Fatal error: Call to undefined function: mb_language() in ............includes/languages/japanese.php on line 23

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Override, help please

    yep,
    you need to get rid of the undefined function,

    It works just fine without it
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Override, help please

    I'm confused, shouldn't it be going to my japanese.php file that I put in my Green file? why is it looking at the Japanese.php file that it should be overriding?

    ps. Merlin, do you sleep?

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Override, help please

    OK
    here is the table structure

    includes/languages/japanese.php ( this is stock files )
    includes/languages/green/japanese.php ( this is the over ride file.)
    includes/languages/japanese/ {filename here } this is stock files
    includes/languages/japanese/green/{file name here } These are the over ride files

    and the MB function you can take it OUT.
    I took it out when we migrated your account

    One of My favorite movie lines is from Roadhouse,

    "I'll have plenty of time to sleep when I'm Dead"
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    May 2006
    Location
    Japan
    Posts
    326
    Plugin Contributions
    1

    Default Re: Override, help please

    well, hot damn, it works. Anything else you took the mb out of....not that I even know what that means.

    My favorite movie line is from Super Troopers, "I am all that is Man!"

    Not that that means anything.

 

 

Similar Threads

  1. need help with override system, please
    By Kruna in forum Templates, Stylesheets, Page Layout
    Replies: 30
    Last Post: 7 Apr 2011, 01:29 PM
  2. Help with Override System Please.........
    By bobb2 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Apr 2009, 02:07 PM
  3. Please Help! Lost Sideboxes on new override
    By rob_opm in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Mar 2009, 12:30 AM
  4. please help me better understand the template override system I've been making tons o
    By recordshow in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Nov 2006, 01:04 PM
  5. Please help me understand the override system.
    By angelicdezigns in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 9 Jul 2006, 06:06 AM

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