Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    4
    Plugin Contributions
    0

    help question Coding Changes not Taking Effect



    This always happens! It's where I will be uploading a new
    replacement image, or a snippet of code like in english/header.php
    for a different logo filename. Save, upload, refresh - no effect!
    Then I'll leave it for 12hrs, come back and -then- it changes.


  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Coding Changes not Taking Effect

    Sometimes you get this effect with cached files/info. Clearing your browser cache may help.

  3. #3
    Join Date
    Apr 2009
    Posts
    4
    Plugin Contributions
    0

    Have a Drink Re: Coding Changes not Taking Effect

    I thought the same thing, and tried clearing the
    Firefox/IE cache... still nothing.

    What has spurred me to post about this is the fact
    that I am changing the /languages/english/header.php
    file value for HEADER_LOGO_IMAGE, and it simply
    refuses to update my store with the new logo.

    Could this be some kind of database issue, or a
    server glitch?

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Coding Changes not Taking Effect

    I hope you are following the override/template systen and saving your changes to languages/english/YOUR_TEMPLATE/header.php.

    What folder did you upload your header image to?

    Can you post a link to your site?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Apr 2009
    Posts
    4
    Plugin Contributions
    0

    application error Re: Coding Changes not Taking Effect

    Well I guess I solved my own problem... instead
    of editing the correct file, I was editing that
    other one.

    I'm using the 'classic' template as a base, which
    will eventually become my own custom template. It
    holds then that editing the default header.php in
    languages/english would have no effect. Changing
    the english/classic/header.php is what I wanted.

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Coding Changes not Taking Effect

    Please create your own custom folders before you go too far. Editing the files in the classic folders is unwise since those files will be overwritten with an upgrade/update.

    This list is a bit outdated, but it'll give you an idea where to start to create a very basic custom template (you can build from there):
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/images/logo.gif (or .jpg or .png)
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. v153 My stylesheet.css changes arent immediately taking effect, standard steps taken.
    By evosmash in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Sep 2015, 02:23 AM
  2. v139h Meta tag changes not taking effect
    By jgold723 in forum General Questions
    Replies: 1
    Last Post: 8 Oct 2013, 07:45 PM
  3. Changes made to Stylesheet not taking effect
    By lani_ezara in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Jun 2010, 02:10 PM
  4. custom stylesheet changes not taking effect
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2008, 08:50 AM
  5. Product changes not taking effect
    By nickbulka in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 14 Nov 2006, 03:23 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