![]() |
[SOLVED] Creating a template hook within a template
SOLVED - this does work just had the wrong hook location
in parse templates i used Code:
$template_hook['drc_foot'] .= 'TESTING'; So im setting up a product where I have a template that looks like this: Code:
<template name="drc_foot" templatetype="template" date="0" username="DrCustUmz" version="1.0"><![CDATA[ Code:
$template_hook[drc_foot] .= $someVar; what are my options as far as creating template hooks within a product, so that later I could create another product that uses that hook? --------------- Added [DATE]1461966491[/DATE] at [TIME]1461966491[/TIME] --------------- this would be an example of how i would want to use it in separate product: Code:
$find = $template_hook['drc_foot']; Code:
$template_hook[drc_foot] .= $someOtherVar; |
All times are GMT. The time now is 08:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|