Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    118
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Autoloading Content Question

    Hi.

    I need help just a bit confused.

    How to create category pages with javascript this is able to pick up new products in a folder or sub folder.

    And on the category page show product with image and description.

    Just only want to use javascript but been hunting around all week.

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    Quote Originally Posted by vipercode View Post
    Hi.

    I need help just a bit confused.

    How to create category pages with javascript this is able to pick up new products in a folder or sub folder.

    And on the category page show product with image and description.

    Just only want to use javascript but been hunting around all week.
    You can't do this with just JavaScript.

  • #3
    Regular Coder
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    118
    Thanks
    22
    Thanked 0 Times in 0 Posts
    Ok.

    What I am trying to do is fetch data from a folder or sub folder and in that folder lets say it has div called data-content.

    and inside that div would be image price and some text.

    And would show um in columns on a categories page I select just like what you would do if had eCommerce website. but for not using MySQL database.

    Where could I find learning material on that I have been trying to find it on you tube but the are all with MySQL database

  • #4
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    OK, now I'm confused. Folders do not contain divs, they contains files and other folders. If you want to fetch data from anywhere, you have to store it in some way, like a database, text file, or xml file for example.

  • #5
    Regular Coder
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    118
    Thanks
    22
    Thanked 0 Times in 0 Posts
    Like a category system for products bust just stuff for custom content. I am just starting to learn php just seeing if can do that with out database can do it with out.

    I only understand basic php I know semi advance html just self teaching watching tutorials on you tube.

  • #6
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    read this part again

    Quote Originally Posted by DanInMa View Post
    . If you want to fetch data from anywhere, you have to store it in some way, like a database, text file, or xml file for example.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •