tommydamic68
Well-known member
Do you know which template it is?Well you said you had removed it from the template, so revert any changes to the template.
Do you know which template it is?Well you said you had removed it from the template, so revert any changes to the template.
public function actionPreferencesSave()
{
$parent = parent::actionPreferencesSave();
if ($parent instanceof XenForo_ControllerResponse_Redirect)
{
if ($this->_input->filterSingle('restore_featured_threads', XenForo_Input::BOOLEAN))
{
$this->getModelFromCache('CTA_FeaturedThreads_Model_Featured')->undismissFeaturedThreadsForUser();
XenForo_Application::getSession()->set('dismissedFeaturedThreads', false);
}
}
return $parent;
}
Ah yes, that was my test forum, (full of rubbish)That looks to be more of a WF issue.
Possibly a bad widget?
<xen:if is="{$featuredThread.avatar_icon} == 2">
<!-- <div class="hiddenResponsiveNarrow {xen:if "{$xenOptions.ctaFtIcon.enabled} AND ({$featuredThread.featured_icon_date} OR ({$featuredThread.default_icon} == 1 AND @ctaFtDefaultIconPath))", 'ctaFtIconPage ctaFtIconRightPage', 'ctaFtAvatarPage ctaFtAvatarRightPage'}">
-->
<xen:else />
<!-- <div class="hiddenResponsiveNarrow {xen:if "{$xenOptions.ctaFtIcon.enabled} AND ({$featuredThread.featured_icon_date} OR ({$featuredThread.default_icon} == 1 AND @ctaFtDefaultIconPath))", 'ctaFtIconPage', 'ctaFtAvatarPage'}">
-->
</xen:if>
Oh, I just noticed what you did.Is my commenting correct?
<xen:if is="{$featuredThread.avatar_icon} == 2">
<div class="{xen:if "{$xenOptions.ctaFtIcon.enabled} AND ({$featuredThread.featured_icon_date} OR ({$featuredThread.default_icon} == 1 AND @ctaFtDefaultIconPath))", 'ctaFtIconPage ctaFtIconRightPage', 'ctaFtAvatarPage ctaFtAvatarRightPage'}">
<xen:else />
<div class="{xen:if "{$xenOptions.ctaFtIcon.enabled} AND ({$featuredThread.featured_icon_date} OR ({$featuredThread.default_icon} == 1 AND @ctaFtDefaultIconPath))", 'ctaFtIconPage', 'ctaFtAvatarPage'}">
</xen:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.