Thread: basics

Results 1 to 10 of 48

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: basics

    I've received your PM jagguy and, as you declare you've added me to your ignore list, the only way I can point out your inaccuracies is to publish it here (and I apologise to the rest of the community for this.)
    Will you stop moaning about web development. All you do is complain that you have no need for common web technology and what rubbish you have ben told. You can't make money with that attitude?
    What are you talking about? I didn't mention web development, I haven't complained about not needing common web technology - and as for making money - who mentioned that? Not me.
    I was trying to help because i see you didn't know much about it at all.
    You obviously don't know much about the field other than the narrow world of zencart. If you look on the web you will seen dynamic websites and NOT hardcoded similar looking clones.
    Even if the above was true -so what? This is the narrow world of ZenCart (how many downloads was it ? 500,000+ )
    Look up the word dynamic websites and what php,flash,ajax is?

    Zencart is a beginners product that doesn't allow dynamic web development as told be me from others here. It is what it is just a simple tool.
    If it's not for you, don't waste your time - or ours by refusing to pay any attention to what is said.
    I want to know more about zencart because it has a good add on but it ISN't a way to develop whole sites.
    Oh no! That's bad news for the thousands of ZenCarts owners out there that are very happy with what THEY consider to be a complete solution to their online needs.
    You just went out of your way to insult me, over somethig you need more help on than me. If all you can do is moan than forget about replying because I have you on my ignore list, so you now I can't see your replies.
    Ummm - no I didn't; I pointed out that you were coming across as someone who was unhappy with Zencart because it won't do exactly what you want, and suggested you went elsewhere for something that better fits your requirements.

    Admittedly, there may be a little sarcasm here and there, but I don't think I have actually insulted you at any point.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: basics

    "You can't add php/flash/ajax easily to the structure and that is the bottom line."

    Umm... what about all the ZC users (some quite novice) who have done just that? (Search on flash.)

    You can't do it in the way you were trying to. I suggest spending a bit of time finding out the correct way.

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: basics

    hey Jagguy,
    I hate to totally burst your bubble but take a look at
    www.moissaniteco.com


    there is ALOT of really kool stuff added to this and guess what, its a ZC.

    ZC does work with php,

    If you want to add a page with YOUR content,
    then you need to create 3 pages and 1 folder

    folder
    includes/modules/pages/YOUR PAGE NAME
    file
    includes/modules/pages/YOUR PAGE NAME/header.php
    includes/languages/YOUR LANGUAGE/page_name.php
    includes/templates/YOUR TEMPLATE/tpl_your pagename_default.php
    includes/extra_datafiles/yourpage_filenames.php

    you know have a new page with your content,
    adding flash is about as easy as adding graphics,

    and java can be added using DrBytes auto loaders

    so every thing that you have been wondering can be donw with actually little effort.

    and for further reference
    http://www.zen-cart.com/book

    and Please dont send me a nasty PM,

    I am not flaming you I am simply answering your questions to the best of my ability, pointing out the flaws in your statement and providing details and examples

    Merlin
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: basics

    My Turn - look guys Tina's Back :)

    OK Topic at hand here - Jagguy - you need to learn a little more yourself - and stop labeling those of us using Zen as not knowing as much as you.

    I'll be the first to admit - i know NOTHING about PHP Code myself, or Java, or Ajax - but I DO KNOW that I can pop any of those into a zen cart and have it work perfectly.

    All you need to do - very SIMPLE - click DOWNLOAD above - and then oh heck - here this is the URL to where I was sending you :
    http://www.zen-cart.com/index.php?ma...roducts_id=182


    This is the "basic structure" of creating a new page in zen. I have used it over and over and I have embedded TONS of other PHP scripts into my zens - TONS MORE of Flash(that's a no brainer - surprising that someone as smart as you can't figure it out) and plenty of customizations.

    You simply need to further your knowledge to get what you want - and stop slamming those who are trying to help you.

    OK - I came back - I made my first post - and of course it'll piss some one off - but oh well - sometimes ppl just gotta stand up for what they believe :)
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

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

    Default Re: basics

    Hi,
    I am quite happy with ZC with the way you can link in and out of an ecommerce section, this makes integrating websites dead simple and flexible. That was my main concern but has been solved yesterday.

    To do it this php in a ZC requires files I am confused about.
    If I create a file called myone.php then i create a folder called MYONE.




    then you need to create 3 pages and 1 folder

    folder
    includes/modules/pages/YOUR PAGE NAME
    file
    includes/modules/pages/YOUR PAGE NAME/header.php
    includes/languages/YOUR LANGUAGE/page_name.php
    includes/templates/YOUR TEMPLATE/tpl_your pagename_default.php
    includes/extra_datafiles/yourpage_filenames.php

    what is header.php, page_name.php,tpl_your and pagename_default.php,yourpage_filenames.php ?

    That is 4 files ontop of my own file I want displayed. So are these files just found elsewhere and you copy and paste or I need to create?

    What goes in these files exactly and how can I call it from ZC ( what file do I call)?

    thanks

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: basics

    use the page2 files for examples

    you will see ALL that you need to see,
    then you can use ezpages to call these internal pages and drop the links in the header, the footer, or a sidebox


    so rather than Jumping on these folks,
    take a minute to hear what they have to say,

    you might want to Unblock those that you were rude to,

    say a few oopses and forgive me's

    take the @$$ kickin that you will recieve from a few of them then let them and others help you to your end,

    Please not I looked at your site and there is nothing there that cant be done in ZC in a matter of Hrs,

    and you may want to talk to the designers,
    its full of errors
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: basics

    Jagguy - download the "About Us" page that I linked to and you will see how it all goes together :)
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

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

    Default Re: basics

    Hi,

    I am not getting what to do here I am sorry. ZC is confusing for me as I don't have much experience on it.

    page2 is that page_2.php in english/language dir? and is this linked to the tpl file of the same name tpl_page_2_default.php. I construct pages like this and add php content on a ezpage , then link to it is that what you are talking about?


    Maybe a hello world example is all I need but it looks like I need it. Does the ezpage just contain the php information or is it used some other way.
    If I just want to say hello world from a php script what files do I need exactly to make it work?



    Where is the aboutUs page located as I couldn't really find it anywhere , not really lucky with this thing yet.

    ps ok I can get it in page_2 but how do I link that in the system and can i get DB info?

    thanks
    Last edited by jagguy; 22 Feb 2007 at 08:08 AM.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: basics

    Quote Originally Posted by TinaS View Post
    All you need to do - very SIMPLE - click DOWNLOAD above - and then oh heck - here this is the URL to where I was sending you :
    http://www.zen-cart.com/index.php?ma...roducts_id=182


    This is the "basic structure" of creating a new page in zen. I have used it over and over and I have embedded TONS of other PHP scripts into my zens
    Quote Originally Posted by TinaS View Post
    Jagguy - download the "About Us" page that I linked to and you will see how it all goes together :)
    I think the link above is what TinaS was referring to.

    While the about-us contribution doesn't pull data from the database, it does demonstrate the infrastructure used for a new "page" in Zen Cart (ie: one that can be accessed via ...index.php?main_page=blahblah

    You can build all the DB-query code you want inside the module file (in this case includes/modules/pages/about_us/header_php.php -- stuff the output into relevant variables, and then use the tpl_about_us_default.php template file to loop thru its content with appropriate echo statements as needed (or no loop if not an array, etc).

    Generally, a "module" prepares data which can be used "for" display. This can be extracting from database, parsing POST/GET data, accessing external resources, etc.
    The "language" files are used to define language-specific text "for" output.
    The "template" files are used to render actual output. Sometimes this is done via include() and sometimes by echo ... sometimes both.
    .

    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.

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

    Default Re: basics

    Quote Originally Posted by DrByte View Post
    I think the link above is what TinaS was referring to.

    While the about-us contribution doesn't pull data from the database, it does demonstrate the infrastructure used for a new "page" in Zen Cart (ie: one that can be accessed via ...index.php?main_page=blahblah

    You can build all the DB-query code you want inside the module file (in this case includes/modules/pages/about_us/header_php.php -- stuff the output into relevant variables, and then use the tpl_about_us_default.php template file to loop thru its content with appropriate echo statements as needed (or no loop if not an array, etc).

    Generally, a "module" prepares data which can be used "for" display. This can be extracting from database, parsing POST/GET data, accessing external resources, etc.
    The "language" files are used to define language-specific text "for" output.
    The "template" files are used to render actual output. Sometimes this is done via include() and sometimes by echo ... sometimes both.
    Hi,

    I will check what you said and I did this also . I will try a php file as well but do i need to use ZC variables or is it all my own code?

    I put the files in this location and
    /includes/languages/english/custom/about_us.php
    /includes/languages/english/extra_definitions/custom/about_us.php
    /includes/languages/english/html_includes/custom/define_about_us.php

    I see the link to the page and see the file in define pages aboutUs but the link fails page not found.
    Last edited by jagguy; 22 Feb 2007 at 09:51 AM.

 

 

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