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 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Basic HTML question

    Hi this is my first post.

    I'm working on a site where I will be posting reviews of products.
    On home page I will be posting a short intro and then there will be a button next to intro that brings you to the full review. Do I have to make a separate .html file for every long version for the reviews I make ? I am planning on making hundreds of reviews, does that mean hundreds of .html files for every long version of each review ? Basically the outline of every long version will be the same except for the paragraph about the review.

    So far I have 2 reviews and 2 separate .html files. Basically i copied and pasted the first and changed it accordingly. I sure there is a much easier way. I think it has something to do with templates ?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2nd question-
    on the top of the page I have 4 tabs- home reviews news and contact.

    so for every review I have to add
    -the intro on the home page
    -the intro on the review page (accessed by clicking the reviews tab)
    -the full review(accessed by click the button next to short review)

    Is there an easy way to do all this or do I have to change the code in Home page , the code in the reviews page and create a page for the full review.

    I am using Dreamweaver

    - thanks in advance

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Posts
    424
    Thanks
    22
    Thanked 56 Times in 56 Posts
    Question 1.

    Yes- unless your are using a CMS like wordpress, joomla, drupal or any other variation, you will need to use a separate HTML file for each full review.

    Question 2

    I am sort of confused about this. Do you have "tabs" or a navigation.
    If its just a Navigation, you would just have a sigle home HTML page with information, a reviews tab, which would go to all the reviews, and then the Full Review HTML page for each individual review.

    Hope this helps
    Last edited by aaronhockey_09; 10-31-2012 at 06:25 AM. Reason: spelling error

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    If you have a server side language available then you can use include statements in that language to include the common parts of the content.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #4
    Regular Coder
    Join Date
    Jun 2011
    Location
    CA
    Posts
    105
    Thanks
    0
    Thanked 10 Times in 10 Posts
    Question 1.

    The old-school way was to make each review a separate html page. Now with content management systems (CMS), you would enter the information in a series of fields on a page (title of article, body of article, author, etc.), and it gets saved to a database. A template page will automatically retrieve the data and post it on the template page, such as your home page, showing only so many posts per page.

    I suggest signing up for Wordpress (free: http://www.wordpress.com) and seeing if that is something you would like to try. Wordpress is a CMS for blogs, and since your site is mostly text, it may be worth your time. It shouldn't take you more than a few hours to get the hang of it and see if you like it. (If you have a server already, and you like wordpress, then you would go to wordpress.org instead and install the software on your server.)

  • Users who have thanked StevenHu for this post:

    moe82 (11-01-2012)

  • #5
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up

    Quote Originally Posted by StevenHu View Post
    Question 1.

    The old-school way was to make each review a separate html page. Now with content management systems (CMS), you would enter the information in a series of fields on a page (title of article, body of article, author, etc.), and it gets saved to a database. A template page will automatically retrieve the data and post it on the template page, such as your home page, showing only so many posts per page.

    I suggest signing up for Wordpress (free: http://www.wordpress.com) and seeing if that is something you would like to try. Wordpress is a CMS for blogs, and since your site is mostly text, it may be worth your time. It shouldn't take you more than a few hours to get the hang of it and see if you like it. (If you have a server already, and you like wordpress, then you would go to wordpress.org instead and install the software on your server.)
    Thank you very much. Cleared allot of confusion and now im finally back on track

  • #6
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by StevenHu View Post
    Question 1.

    The old-school way was to make each review a separate html page. Now with content management systems (CMS), you would enter the information in a series of fields on a page (title of article, body of article, author, etc.), and it gets saved to a database. A template page will automatically retrieve the data and post it on the template page, such as your home page, showing only so many posts per page.

    I suggest signing up for Wordpress (free: http://www.wordpress.com) and seeing if that is something you would like to try. Wordpress is a CMS for blogs, and since your site is mostly text, it may be worth your time. It shouldn't take you more than a few hours to get the hang of it and see if you like it. (If you have a server already, and you like wordpress, then you would go to wordpress.org instead and install the software on your server.)

    In terms of loading speed, is the old school method slower or is just tedious ?

  • #7
    New to the CF scene
    Join Date
    Oct 2012
    Location
    kevinmark
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Your Design and its more feature filled sibling Web Designer Premium are great no-code editors for people who want to get started building websites but don’t want or need to learn the programming of HTML, CSS, or JavaScript.
    There are dozens of templates included and lots of ways to modify images, adjust your graphics, and change the look of your pages.


  •  

    Posting Permissions

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