CTA Featured Threads & Portal

CTA Featured Threads & Portal [Paid] 2.17.0

No permission to buy (£40.00)
Is it possible to show these featured threads in the sidebar as a widget? I want to show 5-10 of them, only as a title and without taking up too much space.
Yeah. Normally it is the addon developers that make the widgets for widget framework. It adds value to the addon and normally increase sales if it supports the widget framework.
 
I was under the impression that would have been stripped automatically when on the first page but speaking with Mike it appears not.

I should have a fix soon.
 
So the fix for this is very simple, but as it's really a non-issue I'm not going to push out an update just yet.

Look for this on line 440 of library/CTA/FeaturedThreads/ControllerPublic/Thread.php
Code:
'page' => $page,

Change it to this:
Code:
'page' => $page <= 1 ? '' : $page,

upload_2014-4-23_18-18-22.webp

If anyone isn't comfortable with doing that, contact me via conversation and I will send the new file to you so you can just FTP it as normal.
I won't post the file here though.
 
That's not possible.

All you had to do was merge or make a note of your edits, revert and reapply.

The same with any other upgrade, be it the core software or an add-on.
 
That's not possible.

All you had to do was merge or make a note of your edits, revert and reapply.

The same with any other upgrade, be it the core software or an add-on.
I merged and the final product is as you see it here. I revered the template and it fixed the mess below, but my custom changes are gone, even EXTRA.css - I guess you have changed other class names as well...

Screen Shot 2014-04-23 at 8.17.40 PM.webp
 
Good thing I am a professional CSS technician. :D:p:cautious: I have fixed this mess above back to its original state...(FYI- @Brogan - since you told me to clearly mark changes in the template when making changes, I have been, so the custom edits were easily obtainable.)

Screen Shot 2014-04-23 at 9.22.36 PM.webp
 
When the featured thread shows on forum home (custom icon only) it changes the template, do I need to add my custom template changes elsewhere? I lose the like and icon for likes.

Screen Shot 2014-04-23 at 9.28.46 PM.webp

And when will reposition image become available? :whistle:
 
I would greatly appreciate how to address this @Brogan

Replicate the change you made for the avatar bit right above for the icon part. It's not really changing the template as you are saying... If it's not using the icon, then its using the avatar which includes your change. You should ensure you have the same thing listed for the icon part of the template.
 
There are two templates:
  • cta_featuredthreads_list_item - this is for the individual blocks on forum index, forum view, etc.
  • cta_featuredthreads_featured_list_item - this is for the blocks on the dedicated page.

If you want them to look the same you will need to make the same edits to both.
 
Back
Top Bottom