The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Using CMS to design site
cssaddict
post Nov 3 2010, 07:59 PM
Post #1


Member
***

Group: Members
Posts: 53
Joined: 20-October 10
Member No.: 12,969



SO the company I work for uses PHP Website to design their site. It's real easy to use.

However, I'm working on a new look for the site. Here's an example of what I was sent in order to create a site using HTML and CSS.

The following tags should appear between your HTML <head> tags.

{BASE}
Required by style sheets. Leave it in.

{PAGE_TITLE}
This tag sits between the <title> html tags. You don't have to use it,
however phpWebSite uses it to dynamically entitle pages. Making it
static will obviously defeat this ability.

{METATAGS}
Your meta tag settings in the Layout module appear in this tag. You
should leave it.

{JAVASCRIPT}
Various Javascript routines appear in this tag. Make sure to include
it.

{STYLE}
PhpWebSite can perform some neat tricks with your theme's style
sheets. Make sure to include this tag. You may add extra style
information before or after if you wish.


That covers the header tags. Next we will go over the tags that should
appear between the <body> HTML tags.

{BODY}
Your site's main content will appear in this tag. As such, it is a
required tag.

{DEFAULT}
Any content that does not appear in the BODY tag, appears
here. DEFAULT usually receives short content, administration menus,
advertising, etc. It is also required.


My question is, do I change what I normally put in HTML to what these say? In other words, I replace MAINCONTENT (which is what I use) with BODY? The document is confusing me. Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
wgabrie
post Nov 4 2010, 01:40 PM
Post #2


Advanced Member
****

Group: Members
Posts: 148
Joined: 11-July 10
Member No.: 12,279



Think of a Content Management System (CMS) as a way to create a "cookie-cutter" design where a page design is reused, over and over, for each page of content.

The page content is filled-in wherever you place the template tags (Those commands in the curly brackets), and it is important to put them in the correct place so that they work as expected. They are like "fill in the blank" spaces.

Usually, you would create a page using filler text, such as a generated text block of Lorem Ipsum or a page of tags to base a css style off of HTML Element Sampler (part of W3C Core Style Sampler) , and after you style the content you remove the filler text and place the template tags in their place.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 06:02 AM