Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 08:16 am EDT

Geeklog Forums

Breadcrumbs in Geeklog 2.0


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Good news: breadcrumbs are part of the next Geeklog... but I can not handle them in my custom function mytheme_createHTMLDocument

From lib-common.php
Text Formatted Code
$function = $_CONF['theme'] . '_createHTMLDocument';

    if( function_exists($function)) {
        return $function( $content, $what, $pagetitle, $headercode, $rightblock, $custom );
    }


$breadcrumbs is not passed to the function.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
That looks to be a bug. To pass all the information it should be:

Text Formatted Code

$function = $_CONF['theme'] . '_createHTMLDocument';
 
    if( function_exists($function)) {
         return $function(&$content = '', $information = array());
     }
 


Can you add a bug report for this in the tracker?

Thanks

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Done: Bug report 1531

Thanks,

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 08:16 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content