ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help: How to Customize User Message Template

September 20, 2007 5:00pm

Subscribe [2]
  • #1 / Sep 20, 2007 5:00pm

    mrjasonsweet

    8 posts

    Are there any restrictions, other than not removing the five specified variables, in styling the user message template?  I ask because I tried putting in a branded page from one of my templates, included the five variables ({title} {meta_refresh} {heading} {content} {link}) but the results look as if the page doesn’t like my PHP includes or EE embeds.

    If you want to check it out, just attempt a log in with nonsense so you can see the error message:

    Linky

    This is what the updated user message template code looks like:

    <?php session_start(); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>{title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    {meta_refresh}
    
    <link href="http://www.budomembership.com/styles/site.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <div id="Container">
        {embed="budo_membership/inc_header"}
        <?php include("http://www.budomembership.com/includes/menu.inc.php"); ?>
        <?php include("http://www.budomembership.com/includes/h_banner.inc.php"); ?>
        <div id="wrapper">
            {embed="budo_membership/inc_h_sidebar"}
        <div id="centerbar2">
            <h1 class="h1_members">{heading}</h1>
            <div class="news">
                {content} 
                {link}
            </div>
        </div>
        </div>
       <?php include("http://www.budomembership.com/includes/footer.inc.php"); ?>
    </div>
    </body>
    </html>

    Thanks in advance for your feedback.

  • #2 / Sep 20, 2007 5:09pm

    Lisa Wess

    20502 posts

    That template is very restricted, yes, it can use only the variables listed there and does not process PHP or other EE code.

  • #3 / Sep 20, 2007 5:19pm

    mrjasonsweet

    8 posts

    All I needed to know.  Thanks much!

  • #4 / Oct 14, 2007 5:51pm

    brubin

    6 posts

    That template is very restricted, yes, it can use only the variables listed there and does not process PHP or other EE code.

    *Frigg!*
    this is not good…
    being able to embed header, body and footer styles as for the rest of the site would be *too* sweet!
    not being able to beats the entire purpose of having embeds in the first place.
    :-(

  • #5 / Apr 08, 2008 11:32pm

    EasyThereTiger

    36 posts

    *Frigg!*
    this is not good…
    being able to embed header, body and footer styles as for the rest of the site would be *too* sweet!
    not being able to beats the entire purpose of having embeds in the first place.
    :-(

    Word.

    Here’s to hoping EE 2.0 will address this.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases