This is a discussion on "Making all pages repeat the design of the home page" within the Web Page Design section. This forum, and the thread "Making all pages repeat the design of the home page are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Making all pages repeat the design of the home page
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Hi all,
I am a newbie, pease be gentle I have created a new website ( http://www.toysofamerica.com ) As you can see the top of each webpage is the same. There is a company logo, then a set of tabs which link to the other pages in the site. (BTW if I am using the wrong terminology please let me know) These tabs are also repeted at the bottom of the page. Now, if I add a new page to the site I have to edit the index page and then copy the logo and the tabs and paste then onto each page on the website. I have to also repeat this for the bottom tabs. Is there anyway that I can get all the other page in the website to simply repeat what ever adjustments I make to the index page? Many thanks for any help |
|
|
|
#2
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Just copy the page, paste the code into the new page and change what you need. That would be the most common scenario.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#3
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
sadly that would mean i would have to copy and paste 40 times for the whole site. That takes a lot of time thats why i want to see if i can automate
|
|
#4
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
I'm kinda new also, but wouldn't external style sheets uploaded up onto each page work, That wouldn't really solve your 40 page problem tho
|
|
#5
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
This is exactly why you set-up a template system with common page parts held in their own files and loaded into each page using some 'include' method.
That way each new page you create is based on the template which already has the code to include the respective files and you just add the page specific content. There is a Template tutorial available from the sticky at the top of the css forum. Suggest you download and work through that. It willl explain this and a lot more. |
|
#6
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Hi all
Many thanks for the replies. Sadly I have just been reading SEO on google and google does not like the use of style sheets Anyone have any views on this fact? |
|
#7
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Um.. what? Pages that sep design and content using semantic markup and css yield far better search engine placement usually.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#8
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Don't know who wrote the piece about Google not liking style sheets but that is utter rubbish.
|
|
#9
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Probably some Frontpage user who loves frames, <blink> tags and tables hehe.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#10
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
The detail regarding google not liking style sheets is on googles own SEO help file!!!
|
|
#11
|
||||
|
||||
|
Re: Making all pages repeat the design of the home page
Link please.
|
|
#12
|
||||
|
||||
|
Re: Making all pages repeat the design of the home page
ive scoured the google website and cant find this statement :/
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#13
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
If it is there it is possible that it is old information from perhaps CSS 1 days. Ya know during the transition.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#14
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Hi all
Sorry, I went through my history to find the reference to this data, but could not find it But I can assure you it said Google does not like CSS. It maybe that some people have found a way of using it to create spam. |
|
#15
|
||||
|
||||
|
Re: Making all pages repeat the design of the home page
you cant use css to make spam
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#16
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Oh god! The unforgetable blink tag that will give you ceasures and start the foaming of the mouth. All that aside though, I really dont care what the SEO says just do it to make your life easier. CSS all you would have to do is link the stylesheet and put all the divs in the right placedo that first before inputting any info and and you can save it as oh say temp.htm and whenever you have to make a new page just open that temp.htm and right when you open it save it as pagename.htm and then put all your info in.
|
|
#17
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Since the site was never developed with this kind of functionality in mind yeah I would say he is SOL and is going to have to just do the work. In the future plan for such things. Personally I usually make one index.html and recycle that code for corresponding pages making modifications as required. And of course using PHP includes never hurts either for footers or any other content that is globally used and may be changed at a later date.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#18
|
|||
|
|||
|
Re: Making all pages repeat the design of the home page
Quote:
|
|
#19
|