Announcement

Collapse
No announcement yet.

Few Small Things

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

    Few Small Things

    Really small things, but seems like simple things to fix and at least its not something i have to change when i first start working on the store:

    Code:
    <mvt:item name="html_profile" />
    <head>
        <title>&mvt:store:name;: Order Already Processed</title>
        <base href="&mvt:global:basehref;">
        <mvt:item name="head" param="head_tag" />
    </head>
    Maybe you have a reason for putting the basehref not in the head_tag, i couldn't work it out, its always the same thing right? If so, may as well put it in the head_tag so that you only have to check/change one place. Please correct me if i am wrong.

    I only noticed this because the trailing forward slash was left out and it seemed easier to just chuck it into the one place so i don't have to edit every single page.

    Which leads to my second thing, even if you don't move it the head_tag it would be nice if you put on the trailing forward slash like this.

    Code:
    <base href="&mvt:global:basehref;" />
    And one last thing when you upload a picture for use as a button miva puts in the button like this by default:

    Code:
    <input type="image" alt="Remove" src="graphics/00000001/cross.gif" border="0">
    Now it doesn't effect anything in terms of what the user sees but the border option in an input seems to be not valid. I don't exactly know if this is because in ie 4.0 or something like that it will show a border or not, but it seems pointless to have something that has no effect on the page.

    At least thats what i think, i could be wrong and maybe it effects some older browser, please let me know if this is the case because i guess i really should put that little bit of code back :P

    Oh and also like the basehref, it would be nice if by default miva added the trailing forward slash like:

    Code:
    <input type="image" alt="Remove" src="graphics/00000001/cross.gif" />
    Last edited by imnotinsane; 04-22-08, 10:52 PM. Reason: forgot something
    Rob

    #2
    Re: Few Small Things

    The problem with moving the base href into the Head Tag Content area is that it has to be kept at the top of the code, or things like external Javascript or CSS files will not load properly. This could easily become a support nightmare as most end users probably would not know that. So the fail safe is to put it on the individual templates, above the head tag item, so the basehref is always the first thing within the head tag.

    Comment


      #3
      Re: Few Small Things

      Also, I think the SFNT base url var is different then most others, as this is the landing page after the customer logs in securely.
      --

      Henry D. Melamed - President
      Advanced Development Solutions, Inc - http://www.stlads.com
      Merchant Modules, Integration and Custom Design
      "Internet Solutions Provider"

      Comment

      Working...
      X