1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Typo in PAGE_CONTAINER

Discussion in 'Resolved Bug Reports' started by Daniel Thomann, Oct 11, 2011.

  1. Daniel Thomann

    Daniel Thomann Active Member

    Line 25:
    HTML:
    <a href="{$homeTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}"><span{xen:if $microdata, ' itemprop="title"'}>{$homeTab.title}</span></a>
    after itemprop="url"'} there is an additional "
    Argh nearly forgot: using xf 1.1 b2
    EDIT: removed colorcode from the quote
     
  2. ragtek

    ragtek Guest

    You mean template "breadcrumb"?;)
    Code:
    <a href="{$homeTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}">
     
    Daniel Thomann likes this.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Are you sure you're not confusing ' with " there?

    And isn't that from the breadcrumb template?
     
  4. Daniel Thomann

    Daniel Thomann Active Member

    uuups yea it's in the breadcrumb template... I was opening the PAGE_CONTAINER template.. sorry...
    Anyway.. this is how it looks like:
    HTML:
    <a href="URL_of_the_Homepage" class="crumb" rel="up" itemprop="url""><span itemprop="title">Home</span></a>
    
    The itemprop="url"" messes up the source code view in IE.

    Edit: seems like the typo messes if you hide the home tab and using Jaxel's XenPorta as replacement
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Oh now I see it, it's between the } and >

    Code:
    <a href="{$homeTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}">
    I couldn't see it in the code you posted above because of the color tags showing as plain text.
    You need to use code=rich to show formatting in a code box.
     
    Daniel Thomann likes this.
  6. Daniel Thomann

    Daniel Thomann Active Member

    Sorry... tried to add a color BBCode in the code box.. shame on me:cry:
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, I edited my post above to explain how to do that.
     
    Daniel Thomann likes this.

Share This Page