Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-02-23 22:54:24

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: txp:breadcrumb outputs malformed HTML when in frontpage.

This hasnt been fixed in 4.0.3

In frontpage, something like:
<txp:breadcrumb wraptag="div" /> will output <div /> (not invalid but it triggers a warning in HTML Tidy)

There is a workaround until fixed:

<code><txp:if_section name=”“>
<txp:else />
<txp:breadcrumb wraptag=“div” />
</txp:if_section></code>

Last edited by maniqui (2006-02-23 22:54:45)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#14 2006-06-04 18:28:15

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: txp:breadcrumb outputs malformed HTML when in frontpage.

I use a wraptag of p and it seems to work properly for me (4.0.3) or is it just a quirk with div?

My breadcrumb code …

<code>
<div id=“breadcrumbs”>
<txp:breadcrumb title=“y” wraptag=“p” label=“Navigation path” sep=” / “ link=“y” />
</div>
</code>


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

Board footer

Powered by FluxBB