ErrorException: Template error: Macro public:xfrm_overview_macros:featured_carousel is unknown src/XF/Template/Templater.php:631
Generated by: Pete Thomas Aug 13, 2020 at 2:19 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:xf...', '/home/caf/publi...', 631, Array)
#1 src/XF/Template/Templater.php(631): trigger_error('Macro public:xf...', 512)
#2 src/XF/Template/Templater.php(744): XF\Template\Templater->getTemplateMacro('public', 'xfrm_overview_m...', 'featured_carous...')
#3 internal_data/code_cache/templates/l1/s83/public/xfrm_overview.php(35): XF\Template\Templater->callMacro('xfrm_overview_m...', 'featured_carous...', Array, Array)
#4 src/XF/Template/Templater.php(1598): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('xfrm_overview', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XFRM:Overview', 'public:xfrm_ove...', Array)
#8 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#12 src/XF.php(459): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
["url"] => string(11) "/resources/"
["referrer"] => string(66) "https://xf2.cafesaxophone.com/resources/top-40-saxophone-solos.10/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
- When the installer is renaming things (phrases/options/etc), disable development file output as it can cause unexpected upgrade failures when the board is in dev mode
- Add helper method for generating alias'ed classes to correctly support resolveExtendedClassToRoot function (used in controllers & entities)
- Add templater function which can reverse array/array collection
- Fix possible MySQL 8.0+ collation error in renamePhrases
- Implement a custom date/time picker, with a custom input filter. Replacement for pikaday in XF2.2 no longer supporting a time component. Supports seconds (opt-out), and explicit time-zone selection.
XML:<xf:macro template="svStandardLib_helper_macros" name="date_time_input" arg-name="startTime" arg-timestamp="{$xf.time}" />
XML:<xf:macro template="svStandardLib_helper_macros" name="date_time_input_row" arg-label="{{ phrase('start_time') }}"...
- Fix custom date/time picker incorrectly setting the 'day' component of a date to the 'year' value.
It’s a shared set of tools used by a lot of @Xon’s other resources.I still don't know what this add-on use for?
Got it, simply Library of Xon's resources, all in one for who use Xon's add-onsIt’s a shared set of tools used by a lot of @Xon’s other resources.
By having them as a single resource it means they don’t need to be included and upgraded in each individual resource.
- Bundle moment.js 2.29.1
- Extract count down/up timer html/javascript from Vote Tally & Notice Time Replacables add-ons, this includes singular
time.<part>
phrases.
Example usage (generates html & loads javascript);
PHP:$func = \XF::$versionId >= 2010370 ? 'func' : 'fn'; return $this->app->templater()->$func('sv_relative_timestamp', [ $now->getTimestamp(), $other->getTimestamp(), // now and other date time obj 0, $countUp, // maximum date parts and...
- Ensure time counter timer doesn't cause unneeded HTML updates
- When time counter code has maximum date parts set, do not append smaller units. ie "30 days 10 minutes" should be "30 days"
- Add "View template modifications" when viewing a template with template modifications that apply.
A powerful diagnostic tool when diagnosing add-on conflicts in production!
- Lists all modifications that are applying, and allows on-the-fly which are applying or not to view different permutations.
- Allows viewing compiled template code various template modifications, extremely useful for isolating exactly where in a highly modified template is actually causing errors...
We use essential cookies to make this site work, and optional cookies to enhance your experience.