Log in

View Full Version : Editing Breadcrumbs ...


paulyy
04-03-2005, 01:04 AM
I'm lead to believe that the index.php file contains the code for the breadcrumbs, that says this is the default page. Now, I have used this script;

<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'home_page'); // change this depending on your filename

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(

);

// get special data templates from the datastore
$specialtemplates = array(

);

// pre-cache templates used by all actions
$globaltemplates = array(
'Home Page',
);

// pre-cache templates used by specific actions
$actiontemplates = array(

);

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');

// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################

$navbits = array();
$navbits[$parent] = 'Home Page';

$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('home_page') . '");');

?>



To create a seperate page. What I would like to do, is call this the default page, therefore becoming the first breadcrumb, rather than the second. You follow? I hope so :)

I'm sure someone who knows the vB3 code will know the code I'm searching for, your help will be much appreciated!

No one at all?