CTA Featured Threads & Portal

CTA Featured Threads & Portal [Paid] 2.17.0

No permission to buy (£40.00)
Add Page to the end of each of the ctaFt class names, e.g. the first row would be .ctaFtBlockPage .sectionMain.ctaFtContainerPage.

Or you can just use the Style Properties.
 
Add Page to the end of each of the ctaFt class names, e.g. the first row would be .ctaFtBlockPage .sectionMain.ctaFtContainerPage.

Or you can just use the Style Properties.

Looking Good.. Thank You.. Hope the below is fine:)
Code:
/*CTA PORTAL*/
.ctaFtBlockPage .sectionMain.ctaFtContainerPage {
background: #9d1212; /* Old browsers */
background: -moz-linear-gradient(top, #9d1212 0%, #690707 50%, #4c0404 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d1212), color-stop(50%,#690707), color-stop(100%,#4c0404)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #9d1212 0%,#690707 50%,#4c0404 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #9d1212 0%,#690707 50%,#4c0404 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #9d1212 0%,#690707 50%,#4c0404 100%); /* IE10+ */
background: linear-gradient(to bottom, #9d1212 0%,#690707 50%,#4c0404 100%); /* W3C */
  border: 1px solid #350404;
  box-shadow: 0 0 1px #dd8989 inset;
  border-radius: 4px; }

.ctaFtThreadTitlePage  {border-bottom: 1px solid #520b0b; box-shadow: 0 1px 0 #a42a2a;}
.ctaFtContainerPage a.ctaFtThreadTitleLinkPage { color: #fac2c2; text-shadow: 0 1px 3px #111111; text-decoration: none; }
.ctaFtContainerPage a.ctaFtThreadTitleLinkPage:hover { opacity: 0.5; }

.ctaFtThreadTextPage { color: #cb8181; margin-top: 2px; }
.ctaFtContainerPage  .ctaFtThreadTextPage a { color: #fac2c2; font-weight: bold; }

.ctaFtContainerPage .avatar .img { border: 1px solid #4e0a0a;
background-color: #a31d1d; box-shadow: 0 0 3px #4e0a0a inset;  }

a.ctaFtReadMoreLinkPage { color: #fac2c2; }
.ctaFtFooterPage .ctaFtFeaturedThreadTextPage { color: #cb8181; }

/*END CTA PORTAL*/

brogan3.webp
 
The avatar size is fixed to the medium avatar in the template.

You can change it to the large avatar size but I wouldn't recommend it as the large avatar sizes are not uniform so the results will be less than ideal.
 
I know we can add a FW widget to sidebar in featured page by adding : cta_featuredthreads_featured to the position WF widget . But how to add a widget to to top of the page, like this :

Capture.webp
 
Unfortunately I don't use the WF add-on so I can't help.

I believe @Martok has stated that isn't possible, but I can't be sure, nor know the reason why.

For what it's worth, the next release has a custom blank template in that location named cta_featuredthreads_featured_custom and the sidebar template has been renamed to cta_featuredthreads_featured_sidebar_custom.
 
Unfortunately I don't use the WF add-on so I can't help.

I believe @Martok has stated that isn't possible, but I can't be sure, nor know the reason why.

For what it's worth, the next release has a custom blank template in that location named cta_featuredthreads_featured_custom and the sidebar template has been renamed to cta_featuredthreads_featured_sidebar_custom.
I don't think it's possible, but correct me if I am wrong.

A far as I'm aware, there are two possible ways of getting widgets into a page:

1. Using Template Hooks
When creating a widget, this is the explanation text that you see:

There are three types of positions:
- The "all" position will make the widget show up in the sidebar of all pages.
- Or you can input a comma separated list of templates that need the widget. Popular templates: forum_list (the index page), forum_view (the individual forum page), thread_view (the thread page).
- Or you can input a comma separated list in the format of "hook:hook_name" to render the widget directly to the hook. For example:"hook:page_container_content_top" will make the widget visible at the top of the page, on every page.

You can browse the site with templates and hooks information here.
Feel free to contact me if you have question about this.
I don't know if the FT page utilises template hooks with them being deprecated? If so then if can be done but I'm guessing it doesn't.

2. Creating a widget page
A widget page allows a page of different widgets to be created. In theory if a FT widget was created then this could be included on the Widget page. As Brogan hasn't created one, this would require users to do it themselves. A widget using the advanced template renderer in theory could do this if the Featured Threads were all output to a single template. I don't believe this is the case, if so then this won't work.

I hope this makes things a little clearer.
 
The hook system was deprecated a long time ago so there are no hooks present.

However, if all it takes is a hook to add a widget then anyone can add one to the new cta_featuredthreads_featured_custom template.
Unless I have misunderstood how the WF add-on works.

It's basically just an anchor so I'd be more than happy to add one to that template if it provides the functionality required.
 
Would it be possible to say...do exactly what this is doing with specific threads, but have it do it with resources instead? I want to use it as a portal type setup for a front page, but I'm using my resource manager as an article system basically, and I'd like to have them previewed and listed instead of threads, since the "Articles" is where my heavy content is going to be at.
 
Resources and threads are entirely different.
It would require completely new code to be able to feature resources in the same way.

You can however feature the resource threads, assuming you have thread creation set for resources.
 
There is no annual renewal fee for support and updates, if that's what you're asking.

I haven't yet decided what to do when there is a new XenForo first point release as at that point it would have to be rewritten.
 
So it looks like adding support for the WF add-on is very simple - thanks to @Martok for testing that for me.

As such, I will be adding some blank templates (top and bottom) and hooks on the featured threads page for the next release.

Good news Brogan, this will make this addon, the best portal solution for XF.
Im really happy with the level of support you provide here.

Thanks
 
Thank you.
Very kind of you to say so and I'm glad you like the add-on.

Now that it has morphed into a portal I keep thinking of new stuff to add.
Where the "to do" list was almost empty before, now it is growing again.

I'd better get on with it I suppose.
 
Thank you.
Very kind of you to say so and I'm glad you like the add-on.

Now that it has morphed into a portal I keep thinking of new stuff to add.
Where the "to do" list was almost empty before, now it is growing again.

I'd better get on with it I suppose.

I keep looking on Pozible, but cannot find you crowdfund to further the development.
 
I keep looking on Pozible, but cannot find you crowdfund to further the development.
Not sure what beef you have with @Jaxel, but I think you have already posted enough bashing towards his crowdfund in his own thread. No need to continue this farce in other threads.

@Brogan: Do you plan to add categories and/or tags to this add-on?
 
Back
Top Bottom