XF 1.4 Move up or move down some widgets on sidebar

Betclever

Well-known member
Hello,

How can I move up or move down some widgets?
I'm using Widget Framework but I don't find any option to move up or move down my widgets.

I also checked under options with sidebar position but I don't have all of my widgets there like top poster or Twitter,...

Thanks,
 
No possibility to move up or move down widgets without using widget framework cause if I disable this one, the order is the same...
This is not an add-on issue cause I just tried to install this add-on to change the order but the ones I'm using doesn't appears on the list.

Can I use another add-on to change the widget order?

Thanks,
 
Widget Framework contains all of the 'standard' widgets that the standard sidebar has. If you have other widgets then they are from other add-ons. You will therefore need to ask for support for these in the add-on discussion threads.
 
Super answer, send me to google, it is better...

Add a code via forum_list is not an add-on according to me of course.
Change the order via this template, I don't believe it but ok.
 
Super answer, send me to google, it is better...
Add a code via forum_list is not an add-on according to me of course.
Change the order via this template, I don't believe it but ok.


If you are talking about Widget Framework itself, the problem is a lack of reading in the discussion forum for that add-on AND a lack of looking very closely at the widgets one creates upon your part. There's this amazing little segment each time you create one that looks similar to this:
Screen Shot 2014-12-22 at 6.52.29 AM.webp

Oh, look... it says Display Order... and the description below it lets you know that it is relative to the other widgets in same position (forum_list, etc). So, the lower the number, the nearer the top they are.

If you are referring to standard sidebar widgets, then yes, you will need to edit templates (and also for any add-ons that create sidebar widgets).
 
Last edited:
Hi,

I use Widget Framework for my sidebar widgets but now I try to fit in a Twitter widget in the middle. I've tried ad_sidebar_top and ad_sidebar_bottom templates but they both put the Twitter widget in the top/bottom...

Is there a way to put a display order tag inside my template code? The code in ad_sodebar_bottom now looks like this and the Twitter widget is positioned in the bottom:

Code:
<xen:hook name="ad_sidebar_bottom" />

<div class="section">
<div class="secondaryContent">
            <a class="twitter-timeline"  href=https://twitter.com/xxxxxxxx/lists/xxxxx data-widget-id="xxxxxxxxxxx">Tweets från https://twitter.com/xxxxxx/lists/xxxxx</a>
            <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>

EDIT: Alternatively, is it possible to put Twitter code in a Widget Framework widget? Then the ordering would be easy obv.
 
Have you tried using the Advanced Template widgets?
Hi Tracy!

No I'd missed that Advanced Template choice! I can't get it to work though.

I chose the ad_sidebar_bottom as template, pasted the Twitter code into the expression box, chose a position and a good display order number. Problem is nothing shows on the site! Where am I going wrong? Should I use controller name and action? Don't even know where to find those, the template consists of pretty much one single row of code.
 
Top Bottom