7 Replies - 1626 Views - Last Post: 18 August 2005 - 04:15 AM

#1 otherguy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-August 05

Dynamic Design Help

Posted 15 August 2005 - 04:00 PM

I'm currently working on designing a page for the openfi project at source forge. ( http://openfi.source...net/new_design/ )
The page design-wise is pretty much completed. I've yet to put much of the content together, so forgive the dead links and unfinished thoughts/incomplete instructions.

I have a question about page design.
Is there a way i could (without using frames) have certain elements of each page be the same across the entire site?
For example, I would like the current version to be displayed at the bottom of the page, but when a version changes i dont want to have to open every html page and modify the text. It would also be nice to be able to have the links a the top be updateable in the same fassion. Hopefully there is some method for doing such a thing.
Sorry if the answer to my Q is obvious, i'm a self taught web/graphic designer.

Any help you could offer would be greatly appreciated.
Thanks in advance,
Jim

Is This A Good Question/Topic? 0
  • +

Replies To: Dynamic Design Help

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Dynamic Design Help

Posted 15 August 2005 - 04:44 PM

You can put that information into a separate file, and include that file at the bottom of each page...that way, when the information changes, you only have to change that one file.
Was This Post Helpful? 0
  • +
  • -

#3 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4496
  • View blog
  • Posts: 28,404
  • Joined: 21-March 01

Re: Dynamic Design Help

Posted 15 August 2005 - 04:49 PM

which dynamic languages can you use for this? php?
Was This Post Helpful? 0
  • +
  • -

#4 otherguy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-August 05

Re: Dynamic Design Help

Posted 15 August 2005 - 04:50 PM

How would i go about calling that file so that it would be appended to each page?

I've never done something like that. Would i need to use a script which would read from a file and print to the page being called?

If you wouldn't mind giving an example i would appreciate it.

Thanks,
Jim
Was This Post Helpful? 0
  • +
  • -

#5 otherguy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-August 05

Re: Dynamic Design Help

Posted 15 August 2005 - 04:51 PM

supersloth, on Aug 15 2005, 07:49 PM, said:

which dynamic languages can you use for this? php?

i could use php, sourceforge will support it i believe, but i have absolutely no experience with php, and i'm trying to keep the page as simple as possible.
Was This Post Helpful? 0
  • +
  • -

#6 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Dynamic Design Help

Posted 15 August 2005 - 05:07 PM

<?php include "z.html"; ?>


You can stick that wherever you want the information included...it will evaluate as a web page. Here is some info on PHP's include function.
Was This Post Helpful? 0
  • +
  • -

#7 otherguy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 15-August 05

Re: Dynamic Design Help

Posted 15 August 2005 - 10:31 PM

thanks for the help! I'm under way.

this should make updating the site quite a bit easier.
thanks again
Was This Post Helpful? 0
  • +
  • -

#8 Arbitrator  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 51
  • View blog
  • Posts: 530
  • Joined: 26-January 05

Re: Dynamic Design Help

Posted 18 August 2005 - 04:15 AM

You can also try using SSI, Server Side Include, if your server supports it.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1