Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default override is not working why?

    Hello.
    using toturial, created a directory called custom in /include/template/
    copied both images and css folder there , i can chose the new tempate from admin panle .
    also i created a folder in /includes/languages/ and called the same as my template folder . and copied the english.php there .
    now i need to remove the congradulation, you have ..... from index .. so as per tutorial , i created a folder in /include/language/english/ and named it same as my template " custom " copied index.php there , modified this file , but changes is not taking effect. still is showing the same stuff on my main page..

    in toturial was mentioned that i have to only move files that i modify to folder that is in /languages/english/custom .. so this way zen cart will over ride the core file and uses the modifed one in custom template.. so why mine is not showing..

    Thanks for any help

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: override is not working why?

    Yes, changes to the default index.php language file would go in:

    /includes/languages/english/custom/index.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: override is not working why?

    problem is .. that after doing all that .. changes to my index is not show up .. i can only change things if i modify core file . so any idea as to why ?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: override is not working why?

    What version of Zen Cart are you using? Is it an upgrade?
    Which contributions have you installed?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: override is not working why?

    Im using the latest version of zen cart. with added fix .. no contributions have been added..
    no modifications has been done to any of the fiels .. just need to go live by end of next week , so need to get override up and running .. this way in near future i can have better looking template applied to my shopp

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: override is not working why?

    are "any" of the files you put in your /includes/languages/english/custom folder being loaded properly?

    Files that are typically edited and put in the override folder include index.php, meta_tags.php, header.php etc
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: override is not working why?

    OK problem has been solved.. permission problme.. i was testing on windowsxp but moved the testing server to linux and set permissions correctly .. now it works.
    I have ONE more question .
    on header.php, i need to set " tagline here " to a store slogen ..
    Slogen starts with the work WE'VE .. because of (') in the sentence i get parser error .. i know i have to use (") somewhere , but php is not the langue i know anything . so please tell me how to set this correctly

    thanks

  8. #8
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: override is not working why?

    Single quotes must be escaped.

    Red's hat

    becomes

    Red\'s hat

  9. #9
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: override is not working why?

    Thanks.. that did the job :)

 

 

Similar Threads

  1. Override Not Working
    By theresajb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Sep 2008, 04:45 PM
  2. Override not working? 1.3.7
    By wmarcy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Feb 2007, 12:02 PM
  3. Override not working
    By underworldmagic in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Dec 2006, 03:13 PM

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