1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Move up or move down some widgets on sidebar

Discussion in 'Troubleshooting and Problems' started by Betclever, Dec 22, 2014.

  1. Betclever

    Betclever Active Member


    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,...

  2. TJA

    TJA Well-Known Member

  3. Amaury

    Amaury Well-Known Member

    You will need to ask in the add-on thread for support.
  4. Betclever

    Betclever Active Member

    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?

  5. Martok

    Martok Well-Known Member

    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.
  6. Betclever

    Betclever Active Member

    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.
  7. Tracy Perry

    Tracy Perry Well-Known Member

    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.png

    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: Dec 22, 2014
    Amaury, vbuser and Martok like this.
  8. OMGClay

    OMGClay Member


    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:

    <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>
    EDIT: Alternatively, is it possible to put Twitter code in a Widget Framework widget? Then the ordering would be easy obv.
  9. Tracy Perry

    Tracy Perry Well-Known Member

    Have you tried using the Advanced Template widgets?
  10. OMGClay

    OMGClay Member

    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.
  11. Tracy Perry

    Tracy Perry Well-Known Member

    @OMGClay, further support for that add-on would best be addressed in it's discussion thread. More people will see it there. In fact, it may have already been answered.
    Amaury and OMGClay like this.
  12. OMGClay

    OMGClay Member

    Yes you're right. I'm gonna post there after Christmas, gotta sleep and work now. Thank you!

Share This Page