1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

create an depencies::_defaultTemplateParams setter

Discussion in 'Closed Suggestions' started by ragtek, May 5, 2011.

  1. ragtek

    ragtek Guest

    I haven't found any way, to add own params to the _defaultTemplateParams array.
    It would be useful to have an setter for this, so we can add own global params to all templates.

    Another way would be to create a new event and fire it BEFORE
    return new XenForo_Template_Public($templateName, $params);

    (if there's already a way, pls share it:)


    I'm still not sure if it's really necessery or if it is already possible with the container_public_params.
  2. ragtek

    ragtek Guest

    ok it's already possible with the container_public_params event

    can be moved:)

Share This Page