Welcome to Geeklog Tuesday, July 23 2019 @ 06:09 pm EDT

Geeklog Forums

Breadcrumbs in Geeklog 2.0


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/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
PHP 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

Status: offline

Laugh

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

PHP 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.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/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

All times are EDT. The time is now 06:09 pm.

  • 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