Announcement

Collapse
No announcement yet.

Phantom Code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Phantom Code?

    I have no idea what is putting the code into my page but for some reason i am getting a style sheet on the top of my store front page.

    Here is the code i have in my store front

    Code:
    <mvt:item name="html_profile" />
    <head>
        <title>&mvt:store:name;</title>
        <mvt:item name="head" param="head_tag" />
    </head>
    
    
    <mvt:item name="body">
    This is on every page, so if it was an issue with extra code being in one of my items then it should be every where, except i am only seeing it on the store front.

    Anyway here is what is in the html_profile

    Code:
    <!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">
    And the head tag

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="http://www.nexusresources.biz/mm5/style.css" rel="stylesheet" type="text/css" />
    <base href="&mvt:global:basehref;" />
    Nothing out of the norm

    Anyway the storefront is http://www.nexusresources.biz


    The only weird thing i noticed was when i added the Latu storehelper module it added this right at the top of my page, but it was just a comment.

    Code:
    <mvt:comment>
    latu.net Store Helper
    Place the following item tokens within the template:
    (the recommended location is after the global_footer)
    <mvt:item name="latu_storehelper" param="local" />
    <mvt:item name="latu_storehelper" param="global" />
    </mvt:comment>
    Which i just removed which made no difference.
    Rob

    #2
    Re: Phantom Code?

    Hmm

    Maybe i should have tried this first...

    I unticked Latu's Store Helper module from the SFNT page it removed the code. I dont know then if it is a problem with the module or miva 5.5

    Here is the CSS it puts on the top of the page anyway

    Code:
    <style type="text/css">
    .text1 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #333333;
    }
    .text2 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333333;
    }
    .be_header {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #333333;
    background-color: #CCCCCC;
    }
    .be_subheader {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: normal;
    color: #333333;
    background-color: #CCCCCC;
    }
    .be_row {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333333;
    background-color: #FFFFFF;
    }
    .be_row_alt {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333333;
    background-color: #DDDDDD;
    }
    </style>
    Edit: Maybe i am completely wrong and it was intended to do that on purpose and thewn i created this thread for no reason :(
    Last edited by imnotinsane; 05-06-08, 05:43 PM.
    Rob

    Comment


      #3
      Re: Phantom Code?

      It is the store helper. It should be unassigned except when debugging. It draws resources and puts the unwanted css on the page.
      Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
      Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
      Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
      Facebook http://www.facebook.com/EmporiumPlus
      Twitter http://twitter.com/emporiumplus

      Comment

      Working...
      X