The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Language File Controller

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #151277


    I am creating a language file for my header controller

    the language file will contain some text that will be based on the header template file.


    I would like to know if i plate text in language file for description and keywords and title if it will pick it up in header.tpl/and or php


    Language <–

    $_['text_title']            = 'Your Website Name';
    $_['text_description']      = 'Blah Blah Blah Is Something';
    $_['text_keywords']         = 'Blah, Blah, Blah';
    $_['text_home']             = 'Home';

    Template <–

    <meta charset="UTF-8">
    <meta name="description" content="<?php echo $text_description; ?>">
    <meta name="keywords" content="<?php echo $text_keywords; ?>">
    <title><?php echo $text_title; ?></title>
    <link rel="stylesheet" type="text/css" href="stylesheet/stylesheet.css">
Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.