"I want to update our site in house

Out of context: Reply #17

  • Started
  • Last post
  • 21 Responses
  • Nairn0

    I recently did a wee site for a friend with includes along the lines of Mimio's description - as he wasn't outright scared of FTP and code and does not have DB-capability, but wanted a site with multiple languages, I simply php-included each language as a seperate file, flagging variables with obvious names like "$contactPageHeaderText"
    "$contactPageTelephone"
    or
    "$aboutPageIntroText"
    etc..

    So, as far as he's concerned, he's got an only slightly codified text file with all content compiled 'neatly' on one page.

    However, his site is only a handful of pages long - if he had loads of content, this would very quickly become unwieldy, with the language includes being too heavy to bring in for each and every page.

View thread