Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Indiana
    Posts
    16
    Plugin Contributions
    0

    Default Format problem with Custom/index.php

    I have searched and searched for an answer but can't find it. I have followed tutorial article 129 step by step several times. I don't change the code or remove any tags. I simply change the words Congratulations! You have successfully installed your Zen Cart... to Welcome! and saved it in includes/languages/english/mytemplate/index.php

    I upload the page and apply the change. It changes the text to what I want but my store looses format. Suddenly the text is too big and the store is positioned to the left of the page. If I delete index.php from mytemplate folder, zencart defaults back to using the original index.php file, the format is back to normal and the zencart message is back.

    I have checked and double checked this operation and can't figure out why this happens.

    Zencart, newest version, hosted on GoDaddy.
    Last edited by candyt3; 17 Aug 2009 at 04:51 PM. Reason: fix spelling

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Format problem with Custom/index.php

    What program are you using to edit the file?

    May we see a link to your site?

  3. #3
    Join Date
    Aug 2009
    Location
    Indiana
    Posts
    16
    Plugin Contributions
    0

    Default Re: Format problem with Custom/index.php

    Store:
    http://www.vacpartsplusstore.com/zencart/

    Screenshot of problem (I was able to get rid of the tagline here)
    http://www.vacpartsplusstore.com/images/scrshot.jpg

    Editing with Epression Web. It's supposed handle php and css and I don't see any changes taking place in the code.

    I ust did a test. I copied and pasted the default index.php file into mytemplate and uploaded it. It worked find but with the original "Congratulations!..." text. As soon as I changed the text and saved and uploaded the page was back to loosing format.

  4. #4
    Join Date
    Aug 2009
    Location
    Indiana
    Posts
    16
    Plugin Contributions
    0

    Default Re: Format problem with Custom/index.php

    Editing with Expression Web. (sorry for my bad spelling above)

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Format problem with Custom/index.php

    I haven't used Expression Web, but some WYSIWYG editors add stuff to PHP files that can mess things up. Try editing the file with Notepad and see if that works.

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

    Default Re: Format problem with Custom/index.php

    Never used Expression Web, but unless you or it is FTP'ing the relevant file to your computer to edit, and then back to the server, any changes won't take permanent effect. You might try Notepad++ (free from Sourceforge) for editing - I know that works well.

  7. #7
    Join Date
    Aug 2009
    Location
    Indiana
    Posts
    16
    Plugin Contributions
    0

    Default Re: Format problem with Custom/index.php

    Quote Originally Posted by gjh42 View Post
    Never used Expression Web, but unless you or it is FTP'ing the relevant file to your computer to edit, and then back to the server, any changes won't take permanent effect. You might try Notepad++ (free from Sourceforge) for editing - I know that works well.
    I am going to try Notepad++ and see if that works. I will report back with the results.

    As a note, yes, I am using ftp back and forth. I have everything backed up on my computer and I ftp the changes to the server, open my browser to see the results.

 

 

Similar Threads

  1. Using Wordpress in zc - Problem with index.php URL
    By fakeDecoy in forum General Questions
    Replies: 1
    Last Post: 29 Sep 2015, 07:59 PM
  2. Problem with the index.php file
    By Craftystash in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Jun 2009, 09:01 PM
  3. Problem with index.php
    By cnegfx in forum General Questions
    Replies: 2
    Last Post: 30 Apr 2007, 05:13 PM

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