Display hardcoded breadcrumbs on every page

Permalink Browser Info Environment
Hi, I am trying to add breadcrumbs on every page by adding php code snippet to page templates. But it does not show it as breadcrumb trail. It shows subpages as list.

here is my code:
$nav = BlockType::getByHandle('autonav');
$nav->controller->orderBy = 'display_asc';
$nav->controller->displayPages = 'top';
$nav->controller->displaySubPages = 'relevant_breadcrumb';
$nav->controller->displaySubPageLevels = 'enough';

I don't have any breadcrumb.php file inside

How can i do it. Please help me.

Type: Pre-Sale
Status: New
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version -
Version Installed -
Database Version - 20150109000000

# concrete5 Packages
Editor Comment (7.0.1), Fruitful (1.1.1), Page Redirect (2.0), Page Selector Attribute (2.0), Spacer (0.9.0).

# concrete5 Overrides
languages/el_GR, languages/it_IT, languages/fi_FI, languages/ru_RU, languages/ja_JP, languages/de_DE, languages/da_DK, languages/sl_SI, languages/sv_SE, languages/fr_FR, languages/tr_TR, languages/nl_NL, themes/fruitful, themes/elementalcustom

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Only when manually removed or the cache is cleared.

# Server Software
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9

# Server API

# PHP Version

# PHP Extensions
apc, bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, ionCube Loader, json, libxml, mbstring, mcrypt, memcache, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 30
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 12M
memcache.max_failover_attempts - 20
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.