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

Looking to Xenporta 2 Random Media Block

Discussion in 'Media Gallery Support' started by whitetrash, Dec 28, 2014.

  1. whitetrash

    whitetrash Active Member

    Hoping to get help on getting a Xenporta 2 Random Media Block like it is set up here on xenforo:
    With two images side by side, media titles and Left/Right scan arrows. Looks great.
    Anyone have any luck with it?

    Thanks much!!!
     
  2. Martok

    Martok Well-Known Member

    whitetrash likes this.
  3. whitetrash

    whitetrash Active Member

    THanks!!!
     
  4. whitetrash

    whitetrash Active Member

    Martok, I am still trying to figure this out.
    I follow your interactions for both xp2 and widget framework and the results are the exact same~
    I get the random side by side
    but
    The header isn't wide enough
    and there are no left or right scroll arrow!!!
    Thanks for help.

    Happy New Year.

    Screen Shot 2015-01-01 at 10.59.40 AM.png
     
  5. Martok

    Martok Well-Known Member

    Looks like a style issue or possibly with XenPorta 2.
     
  6. 3rd AnGle

    3rd AnGle Well-Known Member

  7. whitetrash

    whitetrash Active Member

    Does include left/right scroll arrows?
     
  8. 3rd AnGle

    3rd AnGle Well-Known Member

    it does..
     
  9. Chris D

    Chris D XenForo Developer Staff Member

    It's worth noting that the left/right arrows are Font Awesome icons. If you have Font Awesome switched off then they won't appear. If your style already includes Font Awesome, and you haven't switched it off, then there's likely a clash between two simultaneous calls of Font Awesome so in that case you'd likely need to turn it off in the Gallery Options.
     
    whitetrash likes this.
  10. whitetrash

    whitetrash Active Member

    Chris,
    Thanks. Working!!!
    Now I just need to learn how to widen the header to match the rest.
     
  11. whitetrash

    whitetrash Active Member

    Martok,
    Fine sir, what would sidebar block setting be to make it look like mine?
    Or where would I obtain that info?
    <xen:set var="$isSidebarBlock">1</xen:set> // Sets the styling so it will look like a sidebar block
    Thanks a lot!!!
    Screen Shot 2015-01-02 at 4.53.38 PM.png
     
  12. Chris D

    Chris D XenForo Developer Staff Member

    To be honest, you would probably be best getting support for the styling specific stuff from the author of the style.
     
  13. whitetrash

    whitetrash Active Member

    True, just trying to learn what the code does and get info for my own understanding. (y)
     
  14. Russ

    Russ Well-Known Member

    It's not a style issue, the block is simply loading sectionMain there instead of secondaryContent:

    Code:
    {xen:if '{$isSidebarBlock}', ' secondaryContent', ' sectionMain'}
    
    So it's not treating it like a sidebarblock.
     
    Chris D likes this.
  15. whitetrash

    whitetrash Active Member

    Thanks for looking Russ, tried a few different settings to no avail.
     
  16. boban

    boban Well-Known Member

    It is hard coded option.
    Widgets can now be fully customized from CP.
     

    Attached Files:

  17. whitetrash

    whitetrash Active Member

    Boban,

    Thanks, got it working on Xenporta 2, Jaxel advised to simply remove secondary content.

    Still working on widget framework.
    Screen Shot 2015-01-03 at 9.42.37 AM.png
     
  18. gunnar

    gunnar Active Member

    Is there a way to make this recent instead of random? For xenporta 2?
     

Share This Page