Jump to content

Swap / Replace a tpl include for a hook?


evolution.x
 Share

Recommended Posts

Hi,

 

I am trying to create a module with back office settings which alters the breadcrumb style.

 

Currently the breadcrumb loads in several tpl files by the include method.

 

Is there anyway i could swap / replace this include in to a hook? I am trying to find a way to make the breadcrumb in to a module without having to edit several tpl files to add the hook.

 

Is there a way i can find and replace on the fly or similar?

 

I would need to change:

{include file="$tpl_dir./breadcrumb.tpl"}

to:

{$HOOK_BREADCRUMB}

Thanks in advance for any help on this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More