Post by robertiulianstoica » Wed Dec 10, 2014 2:28 am

Hi there guys!

I am working on a website and i need to separate the breadcrumbs from each file, and make them independent as they were in opencart 1.4. Do you know any method to do this in opencart 2.0 ? I have put the functions from the library/document.php from opencart 1.4 into the opencart 2.0 document class and added the ''$data['breadcrumbs'] = $this->document->breadcrumbs;" code in the header, but all i get is this error "Fatal error: Cannot access private property Document::$breadcrumbs".

Have you guys tried this before? Could you help a fellow developer out ? I really think replicating the new layout into every tpl is not the way to go.

Thank you!
Last edited by robertiulianstoica on Wed Dec 10, 2014 2:54 am, edited 1 time in total.

robertiulianstoica[at]gmail.com


New member

Posts

Joined
Tue May 07, 2013 8:42 pm

Post by robertiulianstoica » Wed Dec 10, 2014 2:53 am

Solved it! If anyone is interested i can make a step by step tutorial! Cheers!

robertiulianstoica[at]gmail.com


New member

Posts

Joined
Tue May 07, 2013 8:42 pm

Post by tjsystems » Wed Dec 10, 2014 5:01 am

robertiulianstoica wrote:Solved it! If anyone is interested i can make a step by step tutorial! Cheers!
Yes plaessssseeeee.... ;D

Live with 2.2.0.0 fully SSL.


Active Member

Posts

Joined
Sun Aug 26, 2012 5:39 pm
Location - NL, Amsterdam
Who is online

Users browsing this forum: No registered users and 15 guests