Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    1
    Plugin Contributions
    0

    Default where is the html element generated?

    I did't find the file which generate the html elements.

    say http://localhost/ltb/index.php?main_...ckout_shipping

    I know the php loaded is in \ltb\includes\modules\pages\checkout_shipping

    but I didn't find any html elements in the directory.

    Thanks a lot~

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

    Default Re: where is the html element generated?

    What exactly were you looking for? The pages are 'built' by the PHP files and presented to the browser as HTML. There are very few static HTML pages in Zencart.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: where is the html element generated?

    Just to expand a bit on what Steve has said.

    Fundamentally, there is NO html as you may know it.

    There are NO html "pages".

    The pages that are displayed on the web-browser are composed of html, but they do not exist until they are needed - and are "created" on-the-fly by the PHP programming language.

    A page is created by a user action or request. The php gathers up all the components for that page, from many resources - and there could be HUNDREDS of resources that are called upon for a page to be compiled.

    The page is therefore BUILT UP depending on what the viewer has requested.

    It is sent to the browser (yes, as html) and as soon as the viewer clicks a button, or another link, the page they are on "evaporates"... it disappears forever... and a NEW page is built up in its place.

    Pages are therefore not edited. You edit the CONTENT... most of which is in the DATABASE, and some of which (like defined text) is in the php files.

    But you now need to "un-learn" all you know about flat HTML pages... because there aren't any!
    20 years a Zencart User

 

 

Similar Threads

  1. Replies: 1
    Last Post: 11 Jul 2016, 02:04 PM
  2. v150 How are the product HTML pages generated?
    By capncrunch0 in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 25 Sep 2012, 08:34 AM
  3. PDFOC Where's the shipping text generated in the PDFOC invoice template
    By gamenano in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Sep 2009, 11:39 PM
  4. Replies: 6
    Last Post: 24 Dec 2007, 04:58 PM
  5. Replies: 0
    Last Post: 1 May 2007, 08:02 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