What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Call-to-Action Button disappears with CTA Featured Threads add-on

Freelancer

Member
Title says it all. There seems to be a conflict with the templates (or template mods). When CTA FT is installed, the button for the "post new thread" disappears from forum index.
 

Clement

Freaky Coder
Staff member
I don't know, does all template modifications relative to my add-on are active ?
 

Freelancer

Member
I found the conflict...

Both are searching for the <h1>Title</h1> tag.

XFA
Bildschirmfoto 2016-07-09 um 15.44.27.jpg

CTA Featured Threads
Bildschirmfoto 2016-07-09 um 15.43.54.jpg

Can you adjust your code or does Brogan need to adjust his code?
 

Clement

Freaky Coder
Staff member
Okay, the problem is that cta is replacing the whole top of the template which is a bit strong :)

One solution is to change the template modification.

In find put:
Code:
<xen:hook name="forum_list_nodes">

In replace put:
Code:
<xen:if is="{$xfa_ntoi_canPostThreads}">
<xen:topctrl><a href="{xen:link 'misc/xfa-create-thread'}" class="callToAction OverlayTrigger"><span>{xen:phrase post_new_thread}</span></a></xen:topctrl>
</xen:if>

$0
 

Freelancer

Member
Many are using CTA Featured Threads add-on. Only a matter of time when the next report will come. Except if no one is using your add-on beside me. ;)
 

popr

New Member
I have the same problem. Where do I find the <xen:hook name="forum_list_nodes"> code to replace? I can't find it in any template or anywhere in your plugin code.
 

popr

New Member
When I go to edit the template modification, it won't let me. At the top of the screen it says
"This modification can only be enabled or disabled."
 

popr

New Member
The only way to edit it is to use debug mode. Works now, but I wish it worked on the CTA featured threads homepage. Another cool feature would be if it was still visible for guests, but when they click it, it takes them to the registration page.
 
Top