Thread: basics

Results 1 to 10 of 48

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: basics

    It is adding your own pages with content that is confusing me . I am trying to fit into a pre-defined system ( which I need to know how to make mods to ).

    Ok maybe I need to explain with an example.

    I have a php file that gets say all the category names and i want them displayed in a html table, and maybe some css with it. The coding is simple enough.

    It is easier to have the php stuff in 1 file and css/html in another. Now I want this page in the content area, and a link to it in a sidebox.

    Do I create an ezpage and add it all in but the thing is in 2 files? So do i just add the whole code in 1 file.

    How do i add a content page with php/css/html?

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

    Default Re: basics

    ezpages and the defines pages can only parse html - php will not parse in these pages
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: basics

    not exactly true kobra

    maybe reading this thread will help you.....http://www.zen-cart.com/forum/showth...ht=php+ezpages

    I wish I understood more what this page is for......as it seems to be familiar....kinda like display categories on main page.....which there is a switch for in the admin someplace......but I don't know what your end result is supposed to be...
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: basics

    Mike,

    Looked at that and I am with Ajeh on this(and if Ajeh is finding this problematic...Well!!!:
    Quote Originally Posted by Ajeh
    I can see it is coded to do this ... but I am having a user moment here ... and not getting it to actually execute the php code ... so what's the trick?
    I will have to investigate further but am leery about DrBytes caution also, and if this actually is supported and will validate properly

    jagguy,

    Can you provide a susinct example of exactly what you are trying to do?? Please not maybe this and maybe that....
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: basics

    ok well I didn't read the whole thread on that one but I thought it maybe pointed towards where he was wanting to go........my bad
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: basics

    What I want to do is add php content and html/css for my own pages. I gave an example but why am I getting people say explain what is it you are trying to do? I am trying to understand what zencart can and can't do.

    I have existing websites I want to fit in but if all zencart CAN do is use an existing layout with minor changes only then it is a little limited, and maybe for a person without much IT background.

    Ecommerce carts like this are just php/html/css/JS that someone has created.


    The 'what is it you are trying to do exactly' replies can be explained . It is simple, I am trying to develop flexible websites that don't all look the same.

    q)Can you add your own php content to a new page and display in content area? how?

    It is a general question to see if you zencart can ( i gave an example earlier for a php data table ).



    q)Can you add a page with php/html/js? How?

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: basics

    jagguy,

    I guess I wil have to "Beg Your Pardon" on you getting huffy and trying to espouse your coding acumen.
    Can you add your own php content to a new page and display in content area?
    If you actually understood php and these applications you would know that there are not "pages" that you edit like an html page. It is bits and pieces that are assembled into a page. So one must locate and find the pieces to edit. It is not all in one place.
    The 'what is it you are trying to do exactly' replies can be explained . It is simple, I am trying to develop flexible websites that don't all look the same.
    This still does not offer any explanation as to "EXACTLY" what it is that you want and is far too generic to provide any actual advice. Basic answer - Zen Cart is fully extensible. It is mostly div based and you can create/delete any div's that you want to. Just not as a "Page" as you seem to be inferring. It is divided into logic and presentation layers as previously posted to you, yet you still ask about editing a "Page"

    The same answer for all of your "PAGE" questions!
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: basics

    ok I think I'm a little outta my element with this one. I'm good with the templates and the stylesheet but I haven't spent the time to study the way ZC puts together a page well enough to explain it. I would say study how something like the contact us page is created....
    Last edited by barco57; 19 Feb 2007 at 06:10 AM.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. v154 Right Back to Basics
    By adb34 in forum Basic Configuration
    Replies: 3
    Last Post: 3 Apr 2015, 04:34 PM
  2. Back to Basics w/a Glitch
    By sammirah in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 10 Apr 2012, 08:12 PM
  3. layout basics
    By mex in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 23 Feb 2007, 05:09 AM
  4. Credit Card Basics
    By LeJerque in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 19 Dec 2006, 04:35 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