This is a discussion on "Same Text in Multiple pages as well as images" within the Web Page Design section. This forum, and the thread "Same Text in Multiple pages as well as images are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Same Text in Multiple pages as well as images
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Same Text in Multiple pages as well as images
Hopefully someone can help.
I want to create a newsletter page, and want to reflect an abridged version of each of the news snippets on 5 pages in the website that will automatically update when I make chnages to the newsletter page. Can this be done? I also want to ensure that on all the pages, if there is an image that is reflected on all the pages, that if I make changes to it that it updates all the pages without having to do each page individually. I am a bit of a noob. |
|
|
|
#2
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
The best way to do this is to create a header file that each of the pages calls.
That way all you have to do is change the header page and every other page will appear as though they have been changed |
|
#3
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
Quote:
|
|
#4
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
You simply put all of the stuff that you need to include in one file and make sure that every page calls that file.
Someone else might have to help you here though, as I cant remember how to do it in html. I can do it in PHP though if thats any use lol! |
|
#5
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
Quote:
|
|
#6
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
OK here is the header from one of my pages:
Then i would call this in every page like so:
I hope this helps you to understand it a bit better. |
|
#7
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
Thanks for the help. Although a little bit out of my league (I am currently at the join the dots stage of web design) in respects of trying to decipher the code above.
|
|
#8
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
Like I said you can probably ignore all of the PHP in the first section, just see that i have set up a couple of divs.
The second one is the important part where it includes the header.php file. |
|
#9
|
||||
|
||||
|
Re: Same Text in Multiple pages as well as images
You could always use a content management system for parts of your site. Textpattern is a good one
|
|
#10
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
Thanks. Still a bit confuzzed on the PHP, but will give it a shot.
How difficult will it be to integrate the CMS into the existing website design? |
|
#11
|
|||
|
|||
|
Re: Same Text in Multiple pages as well as images
If you have PHP questions, just post them into the PHP forum. As for how hard is it to integrate a CMS into your current design/website...?? It all depends on the CMS system, but most of them are relatively easy.
|
![]() |
| Tags |
| html, images, multiple, text |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] split xml search into multiple pages? | karloff | PHP Forum | 19 | Apr 27th, 2008 16:37 |
| multiple rollover images change multiple images | joshlindem | Web Page Design | 4 | Apr 18th, 2008 09:11 |
| Adding Content to Multiple Pages | longinwa | Starting Out | 5 | Jun 19th, 2007 00:26 |
| Banner in css to add to multiple pages | the newbie web designer | Web Page Design | 1 | Mar 22nd, 2007 18:57 |
| printing multiple pages | benbacardi | PHP Forum | 8 | Aug 8th, 2006 13:08 |