Menu

#7 Clean up Template.pm

minor
open
nobody
5
2013-02-19
2000-03-02
No

Develop a version that is much cleaner than the current version to show off the templating capabilties.

Discussion

  • Gaelyne Gasson

    Gaelyne Gasson - 2000-03-11

    When this is done, be sure to include the Order.pm and Cart.pm files. There are a lot of instances of:

    if($template)
    {
    print \"</TD></TR>\\n\\n $template_foot\";
    }

    and similar that I have to convert to:

    if($template)
    {
    print \"\\n\\n $template_foot\";
    }

    in order for my template to display correctly in the order and cart areas.

     
  • Gaelyne Gasson

    Gaelyne Gasson - 2000-03-11

    Other template-ish related things that need to be tidied up include the Email addresses used in Cart.pm and Order.pm - the addresses used should be in the YamsGlobals.pm file and used as the variable. (it would help).

    Another help would be if all common images (and alt text for each) were defined in one place, such as the YamsGlobals.pm file, so the Template.pm, Cart.pm and Order.pm files could call the global variables.

     

Log in to post a comment.

MongoDB Logo MongoDB