Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    105
    Plugin Contributions
    0

    Default How to see what file does what?

    Hi,

    I feel like I'm always going around in circles trying to find out what file is included where... what folder to look in, what to edit, etc. every time I want to make any changes to the look of my site.

    At the moment I want to move the Comments box in the checkout process further up the page, directly under the delivery address, but can't for the life of me see what file I need to edit.

    Can anyone tell me an easy way of figuring out what file I need to edit when I want to do these things? (And specifically what file(s) I need to edit to move the Comments field?)

    (ZenCart version: 1.3.9g)


    Many thanks,

    WP.

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

    Default Re: How to see what file does what?

    What I usually do when I don't know what file to edit is view the source of the page and copy a class or id name that looks like it would be unique to that page (or at least relatively few pages) and paste it into the Developers Tool Kit.

    Moving page elements around relative to each other is almost always done in template files (that start with tpl_ and are found in the template folders). Most are named such that it's obvious what they control.

  3. #3
    Join Date
    Jan 2010
    Posts
    105
    Plugin Contributions
    0

    Default Re: How to see what file does what?

    Thanks a mil Steve - I did that, found the file, and have edited it to successfully move what I needed to move.

    So easy when you know how!

 

 

Similar Threads

  1. what php file does the var $customer_mail come from?
    By linjuming in forum General Questions
    Replies: 2
    Last Post: 4 Jul 2012, 01:29 PM
  2. dist-configure.php -What does this file do?
    By Donn in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 4 Nov 2010, 07:11 PM
  3. Best practice for finding out 'what does what'?
    By budfox in forum General Questions
    Replies: 6
    Last Post: 19 Aug 2007, 07:05 PM
  4. What file checks to see if it can write to the config file?
    By websmoken in forum General Questions
    Replies: 3
    Last Post: 26 Dec 2006, 10:58 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