Jump to content

Adding "include tpl" command through a hook


Stas

Recommended Posts

Hello guys,

I'm trying to customize some vendors theme without touching the source code.

But there are some places that I need to include some custom tpl file.

For example.

Here i'm including custom tpl code in clientareahome.tpl from a folder that contains tpls i've coded.

<!-- Custom tpl code in clientareahome.tpl -->
{include file="$template/customtheme/clientareahome-insert.tpl"}

 

Is there a way to include custom tpl inside a theme tpl file without actually editing the source code? maybe with a hook?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated