Split breadcrumbs out of bodyHtml

tombatore

Joined: 2006-07-23
Posts: 34
Posted: Wed, 2007-10-17 13:01

Hi all,
I am embedding G2 into my site which has a templating system of its own. Everything works fine like this, except that I want the breadcrumbs of G2 in my site header instead of the G2 content.

I can easily remove the breadcrumbs from the G2 template, but how can I get the breadcrumbs seperataly then? I would need them as a string that I can pass to my own templating header.

Any ideas?

Thanks,
Steven

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2007-10-30 04:27

I can think of two different ways..

A) You would need to generate the Breadcrumbs via Gallery2 API Code, using the G2 API URL Generator Functionality.
B) Have a separate CMS Page Header only displayed when viewing the Gallery2 Output thus you could stylise the Gallery2 Breadcrumbs to look like your existing CMS Breadcrumbs..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation