Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-31-2012, 04:49 AM   PM User | #1
moe82
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
moe82 is an unknown quantity at this point
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
moe82 is offline   Reply With Quote
Old 10-31-2012, 05:24 AM   PM User | #2
aaronhockey_09
Regular Coder

 
Join Date: Dec 2010
Posts: 411
Thanks: 21
Thanked 55 Times in 55 Posts
aaronhockey_09 is an unknown quantity at this point
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 05:25 AM.. Reason: spelling error
aaronhockey_09 is offline   Reply With Quote
Old 10-31-2012, 07:42 PM   PM User | #3
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,465
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
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/
felgall is offline   Reply With Quote
Old 10-31-2012, 09:11 PM   PM User | #4
StevenHu
Regular Coder

 
Join Date: Jun 2011
Location: CA
Posts: 105
Thanks: 0
Thanked 10 Times in 10 Posts
StevenHu is an unknown quantity at this point
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.)
__________________
Steve Husting
http://iphonedevlog.wordpress.com
StevenHu is offline   Reply With Quote
Users who have thanked StevenHu for this post:
moe82 (11-01-2012)
Old 11-01-2012, 02:40 AM   PM User | #5
moe82
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
moe82 is an unknown quantity at this point
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
moe82 is offline   Reply With Quote
Old 11-01-2012, 02:43 AM   PM User | #6
moe82
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
moe82 is an unknown quantity at this point
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 ?
moe82 is offline   Reply With Quote
Old 11-01-2012, 07:20 AM   PM User | #7
kevinmark2
New to the CF scene

 
Join Date: Oct 2012
Location: kevinmark
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kevinmark2 is an unknown quantity at this point
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.
kevinmark2 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:13 AM.


Advertisement
Log in to turn off these ads.