Jump to content

Topic on Extension talk:YAMBE

YAMBE Tag on PDF output

3
Summary by Zerano8

Changed yambe.php:

In function yambeSetParent:

...

$textbox = "<div class='noprint'>"."<yambe:breadcrumb>$parent[1]|$display</yambe:breadcrumb>"."</div>";

Zerano8 (talkcontribs)

Hi,

the Extension works on MW 1.24, but always prints the <yambe:breadcrumb> Tags in the PDF documents.

That's quite strange, because I deactivated it on my print.css:

div#yambe { display: none !important; }

When I print on paper, there's no problem, the yambe tag will not be print!

Zerano8 (talkcontribs)

Works with:

 <div class="noprint"> <yambe:breadcrumb>Content|Content</yambe:breadcrumb> </div>

Now I'm looking for a possibility to let the yambe Extension create that automatically. So if s.o has an idea how to modify the yambe.php code...

Zerano8 (talkcontribs)

Ok, problem solved!

I changed yambe.php:

I changed in:

function yambeSetParent(&$textbox, &$title) ...

...

$textbox = "<div class='noprint'>"."<yambe:breadcrumb>$parent[1]|$display</yambe:breadcrumb>"."</div>";