D.C Style - Widgets

D.C Style - Widgets 1.1.4 Patch Level 1

No permission to download
So I installed it and after that I have noticed that another addon is missing - [DC Style] – Thumbnail, so I installed it. After that I have noticed again, that there is a need to install another addon to get the others working... What is the point of it? :rolleyes:
Maybe if you read those add-ons description you’ll get it.
 
So where can I find info that Thumbnail requires Attachment view (except this one from acp)?

On (again) another page. This is confusing, isn't?

But nevermind. It didn't meet my expectations.
 
Last edited:
D.C.,.. Thank you for this addon for the widgets.

I used the regular new thread list widget before, and had it call a custom macro for newthreads so I could modify the results layout.

Where can I edit the addon template to call to my custom entry in thread_list_macros?

Or which template may I edit in order to change the layout of the thread results of the random widget.
 
Last edited:
@D.C Style can you add promote and unpromote thread logs please? I wanna check who promote threads but I can't see. I think it's important.
Sure! Will be added in the upcoming version.

D.C.,.. Thank you for this addon for the widgets.

I used the regular new thread list widget before, and had it call a custom macro for newthreads so I could modify the results layout.

Where can I edit the addon template to call to my custom entry in thread_list_macros?

Or which template may I edit in order to change the layout of the thread results of the random widget.
Forgot to add: I am using the default layout setting for the widget.
I think you might want to choose custom template in the "Widget type" section
1715016137059.webp

Then you create your named custom template, for example, "custom_widget_type_sidebar". In that template, you can try something like this
Code:
<xf:if is="$threads is not empty">
    <div class="block"{{ widget_data($widget) }}>
        <div class="block-container">
            <h3 class="block-minorHeader">
                <a href="{$link}" rel="nofollow">{$title}</a>
            </h3>
            
            <ul class="block-body">
                <xf:foreach loop="$threads" value="$thread">
                    <li class="block-row">
                        <xf:macro name="thread_list_macros::item_new_threads"
                            arg-thread="{$thread}" />
                    </li>
                </xf:foreach>
            </ul>
        </div>
    </div>
</xf:if>

Replace thread_list_macros with your macro template.
 
Top Bottom