Resource icon

Widgets Collection for Widget Framework 2.0.2

No permission to download
I guess to fix it for responsive would require last post info and replies, views stats block to be hidden, since it will be hidden in xenforo 2.1
 
Great plugin however I have some questions.

I want to create a widget where I will put some HTML (some custom banners). Is this possible?
Also, do you know a way to make the sidebar show on all the pages?

Thank You
 
Great plugin however I have some questions.

I want to create a widget where I will put some HTML (some custom banners). Is this possible?
Yes. Use XenFacil Widget RawHTML. Setting Raw HTML text for your needs.
Also, do you know a way to make the sidebar show on all the pages?

Thank You

Widget position set to ALL but I think it gives an error. If you select a hook, il shown in all pages that this hook is present.

Salud2
 
I reverted templates and updated to the latest version of Widgets Collection.

I'm still getting the blue dot error.

I'm back to using this again:
Search for blue bold highlighted text and change this content on xf_widgets_MostXXX_recentLastThreads template by
Rich (BB code):
/* title, poster section */
 
#recentLastThreads .discussionListItem .titleText
{
padding: 0 0 0 20px;
overflow: hidden; zoom: 1;
position: relative;
}
 
 
#recentLastThreads .discussionListItem .posterDate
{
float: left;
/* margin-left: -5px;*/
}
 
#recentLastThreads .discussionListItem .prefix,
#recentLastThreads .searchResult .prefix {
margin: 0;
}
Search for blue bold highlighted text and change this content on xf_widgets_recent_threads.css template by
Rich (BB code):
/* title, poster section */
 
#latestThreads .discussionListItem .titleText
{
padding: 0 0 0 20px;
overflow: hidden; zoom: 1;
position: relative;
}
 
 
#latestThreads .discussionListItem .posterDate
{
float: left;
/* margin-left: -5px;*/
}
 
#latestThreads .discussionListItem .prefix,
#latestThreads .searchResult .prefix {
margin: 0;
}
The changes are highlighted in black bold.

Salud2
 
Seems a hook is the best way to go, but I only want it on that one page. Is there a way to inject it into the hook:page_container_content_top, but only on a particular template?

Edit: Maybe with use of an expression?
 
Seems a hook is the best way to go, but I only want it on that one page. Is there a way to inject it into the hook:page_container_content_top, but only on a particular template?

Edit: Maybe with use of an expression?

Put in position field the template name to insert page into. Example: if template name is "EWRporta_portal" this is what we have to place for sidebar place.

For expression, try with "$templateName == NameOfTemplate" (without the quotes).

Salud2
 
Put in position field the template name to insert page into. Example: if template name is "EWRporta_portal" this is what we have to place for sidebar place.

For expression, try with "$templateName == NameOfTemplate" (without the quotes).

Salud2


sticker,375x360.png


It no works. It either still displays in the side bar or not at all or on ALL templates that have the specified hook :(
 
Coming soon:

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

Salud2
 
Leave blank to show all viewable threads.

This option^^^^ no longer works as it should in Xenforo 1.2 RC1 whenever using Most Threads widget.

Instead it only shows it to logged-in members.
 
There is an error with the widget for threads. The URLs to the threads are not correct:
The controller XenForo_ControllerPublic_Forum does not define an action called TheElderScrollsAnthologyAngekuendigt.18.

The wrong URL your widget use: mydomain/forums/threads/the-elder-scrolls-anthology-angekuendigt.18/

This is the correct url: mydomain/threads/the-elder-scrolls-anthology-angekuendigt.18/

"Forums" is too much.
 
I want to display the recent threads widget in a slider format.

HTML:
<ul class="slider class">
                    <li>
                        <a href="thread url" target="_blank"><img src="attachment URL" alt="attachment1"/></a>
                        <div class="slider description">
                            <h3>Thread Title</h3>
<p>Thread Excerpt</p>
                        </div>
                    </li>
  </ul>
Can I get a foreach loop for the above format?
 
There is an error with the widget for threads. The URLs to the threads are not correct:

"Forums" is too much.

I've found a solution, in "xf_widgets_MostXXX_LastThreads" I had to change line 17:

Code:
<a href="{xen:link canonical:threads, $thread}">{$thread.title}</a></h3>

to

Code:
<a href="{xen:link threads, $thread}">{$thread.title}</a></h3>
 
  • Like
Reactions: lms
Top Bottom