Thread: HTML Location?

Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2011
    Posts
    49
    Plugin Contributions
    0

    Default HTML Location?

    How Do I locate the different HTML files to edit tags? id like to be able to pull divs in and out. When i view source in firefox, i can see all the divs and page structure, but cant locate the actual files to edit...

    Id love a link to like a page describing HTML page structure if you can find it. I haven't located anything like that int the zencart manual or digging in forums/faq's

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HTML Location?

    Id love a link to like a page describing HTML page structure if you can find it. I haven't located anything like that int the zencart manual or digging in forums/faq's
    And you will not find it for html - - ZenCart is php or server side includes.

    This means that the pieces are distributed amongst several php files that are then assembled into a html page upon viewer request.

    The bulk is found in header, main body, and footer files and these are in the /template area

    These tutorials might help get you started

    https://www.zen-cart.com/tutorials/i...hp?article=232
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    https://www.zen-cart.com/tutorials/i...hp?article=231
    https://www.zen-cart.com/tutorials/i...hp?article=124
    https://www.zen-cart.com/tutorials/i...hp?article=234
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2011
    Posts
    49
    Plugin Contributions
    0

    Default Re: HTML Location?

    Thanks a lot, that really helps.


    I am looking to edit the "information" box and add links and pages. I see where one can turn on and off the default pages, and I see the Defines under the english php files as mentioned on the manual page 261, but if i add defines to the php it doesn't show up in the actual information box.

    I don't like the "information, more information" type thing, I want the more information box turned off but be able to add links to the information box.

    What do i edit to add more list items to the UL tag that the php generates?

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

    Default Re: HTML Location?


  5. #5
    Join Date
    Jul 2011
    Posts
    49
    Plugin Contributions
    0

    Default Re: HTML Location?

    That is for the "more information" sidebox. I'm looking to edit "information"

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HTML Location?

    That is for the "more information" sidebox. I'm looking to edit "information"
    Best advice, get the 3rd party addon for "About Us"

    It adds to the information box - one defines page
    Also outlines the 8 - EIGHT files/edits required to add a page so that it shows up in the box, the site map and so forth

    Each additional page will be an addition/edit to those 8 files
    Zen-Venom Get Bitten

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

    Default Re: HTML Location?

    Or just add your own links by editing /includes/modules/YOUR_TEMPLATE_NAME/sideboxes/information.php file yourself, following the existing pattern:
    Code:
    $information[] = 'insert html link here';
    All the conditional/"if" statements in there are merely for connecting to admin-based switches to turn the links on/off, and thus only needed for someone who won't use FTP and a text editor when wanting to make changes.

    That said, if you're wanting hack up numerous things, the about-us addon does outline how an individual named define-page is built and structured, so might be useful as an example.
    .

    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.

  8. #8
    Join Date
    Jul 2011
    Posts
    49
    Plugin Contributions
    0

    Default Re: HTML Location?

    We have a Winner!!! Thanks Dr.Byte!!! Works perfectly!!! Beats the hell out of modules and editing 8 files :)

 

 

Similar Threads

  1. v139h what is the problem in my login.html and create_account.html pages ?
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Feb 2014, 09:34 AM
  2. Replies: 3
    Last Post: 5 Sep 2012, 10:08 AM
  3. HTML Editor preview changes to Plain Text with HTML code
    By Morph99 in forum Basic Configuration
    Replies: 5
    Last Post: 3 Jan 2011, 10:12 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