Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2011
    Posts
    12
    Plugin Contributions
    0

    Default which is the category page in the ftp files?

    Hi,

    Am working on this website www.fetise.com/men

    the earlier developer has made the website on zencart and now am trying to complete the project

    there is product pages like these http://www.fetise.com/men/index.php?...index&cPath=64

    am unable to identify which file in the FTP contains this page

    can som1 help?

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

    Default Re: which is the category page in the ftp files?

    Zencart is a dynamic PHP-driven program, so most of the pages you see don't actually exist as such, but are built from other files as necessary. You can look at the URL for clues. That page should contain subcategory or product information from the category with the id 64.

    What exactly do you need to do ?

  3. #3
    Join Date
    Mar 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: which is the category page in the ftp files?

    yeah so every product on the site has sub-product pages which list all the products under that cateogry

    i want to edit the design of this type of page

    http://www.fetise.com/men/index.php?...index&cPath=65

    http://www.fetise.com/men/index.php?...index&cPath=66

    have attached a screenshot of this page too

    just unable to find from where to edit these pages!
    Attached Images Attached Images  

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

    Default Re: which is the category page in the ftp files?

    You'll have to be a little more specific about what you want to accomplish. A lot of the look of Zen Cart is controlled by the stylesheets. Other elements may be controlled by content of various php files.
    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
    Mar 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: which is the category page in the ftp files?

    like i said i want to change the design of this page and also remove the share sale on twitter/facebook from this page

    have searched all the files on the /include/templates folders - no clue where this page is pulling the content/design/data from.....

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

    Default Re: which is the category page in the ftp files?

    You're in for a lot of work, as the template designer has added a lot of stuff that isn't in a stock Zencart site, so:

    Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    Then, when you've found the id or class of the element you want to change,

    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39


    to find the proper file.

    Most layout changes will be done by editing template files, most of which begin with tpl_ .

  7. #7
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: which is the category page in the ftp files?

    Quote Originally Posted by abhishek1711 View Post
    like i said i want to change the design of this page and also remove the share sale on twitter/facebook from this page

    have searched all the files on the /include/templates folders - no clue where this page is pulling the content/design/data from.....
    The first thing you ask for should be easy -- if you have two things on your local hard drive: a full copy of the site files as they exist now, and a full copy of the same version of Zen Cart unmodified. (You don't need to run them locally on a web server; you just need the files.)

    Using a (programmer's) text editor and my browser I see that the Share Sale thing is inside three DIVs, like this...
    <div class="FR MT15">
    <div class="share_bx1">
    <p class="gl_12">

    Search for each of those div class names in the site files. When you've identified which php file(s) has been modified, open it and the unmodified version of the same file and do a file compare. That should show you exactly how the file was modified so you can undo it.

    Other changes you want to make, especially those involving appearance, should be doable through the stylesheets, as mentioned above. But check for in-line styles too; many people in a hurry find it easier to insert in-line styles than to figure out how to use the stylesheets.

    And you may also need to use the admin to make changes to page elements -- such as whether and where sideboxes appear and in what order. And of course, you can edit content in the admin.

    Rob

 

 

Similar Threads

  1. Replies: 2
    Last Post: 24 Dec 2013, 08:05 PM
  2. which PHP files writes the Order to the DB?
    By tcarden in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 29 Mar 2013, 05:02 PM
  3. FTP template files to which folder
    By davisz in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 25 Jan 2011, 05:58 PM
  4. which files do I upload to the server?
    By mindapolis in forum Installing on a Windows Server
    Replies: 14
    Last Post: 23 Nov 2010, 08:44 PM
  5. which css files has the banners?
    By hangman21 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 20 Jul 2010, 03:31 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