Hai everybody,

i have two different layout.
this admin layout meta tag not display in my meta title,description..
what is the problem
i addded my action file inside,but not diplayed.

plz help me.

    public function executeContactus(sfWebRequest $request)
    $response = $this->getResponse();
    $response->addMeta('title','Contact Us – Give us your feedback, comments and questions');
    $response->addMeta('title','Talk to us. We would love to hear from our users on how we can improve to provide the best plan sharing experience.');


        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name = "viewport" content = "width = 1080" />

        <meta name="title" content="symfony project" />
        <meta name="description" content="Social Network  sharing." />
        <meta name="keywords" content="S Catalog, Reservation, Advertisement" />
        <meta name="language" content="en" />
        <meta name="robots" content="index, follow" />

        <link rel="stylesheet" type="text/css" href="../css/reset.css"/>
        <link rel="stylesheet" type="text/css" href="../css/admin.css"/>

        <link rel="shortcut icon" href="/favicon.ico" /> 
        <script language="JavaScript" type="text/javascript" src="../js/jquery.min.js"></script>






What are you asking? Are you asking about the addMeta() functions? If you are, look at what you are doing? You are overwriting the first function with the second. If you need to have them displayed on two different pages try adding some logic.

if( is_some_page() ){
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.