XF 2.2 Custom widget title link

Thanks @Miri but i don't understand how this thread can help us, probably because my level is bad, not about your answer.
Do you mean we have to redefined the link in the expressions ?
 
@nicodak , I've found a way thanks to this post. Go to the template used for your widget. In this case, widget_new_threads.

Find
Code:
                    <h3 class="block-minorHeader">
                     <a href="{$link}" rel="nofollow">{$title}</a>
                    </h3>
And edit like this:
Code:
                    <h3 class="block-minorHeader">
                        <xf:if is="$title == 'YourWidgeTtitle'">
                    <a href="your URL" rel="nofollow">{$title}</a>
                            <xf:elseif is="$title == 'AnotherWidgetTitle'" />
                    <a href="another URL" rel="nofollow">{$title}</a>
                            <xf:else/>
                        <a href="{$link}" rel="nofollow">{$title}</a>
                        </xf:if>
                    </h3>
This worked for me :)
 
Back
Top Bottom