Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Troubles With New Widget


Best Answer eric, 09 August 2015 - 09:37 PM

The main difference between the "legacy" and non-legacy TubePress widget is that you can use multiple instances of the non-legacy widget. So if you are only using one TubePress widget, and you like the way the legacy widget looks, feel free to stick with it.

 

The current means of configuring both the new and old widgets is to supply a TubePress shortcode, using any of the options that we make available. It's not the most user-friendly configuration, I apologize for that, but it gets the job done and allows users to configure the widget exactly the way they want it. Here's a shortcode that you might want to try in the widget:

[tubepress playerLocation="jqmodal" paginationBelow="false" paginationAbove="false" resultsPerPage="3"]

This will turn off pagination, use jqModal to play the videos (which will get rid of the embedded player at the top), and show 3 videos in the widget. Based on what I can see on your site, it seems like adding playerLocation="jqmodal" might be all you need to do; I don't see the pagination.

 

Does that make sense? Let me know - thanks!

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 09 August 2015 - 07:28 PM

I just noticed that the Tubepress widget I had in the sidebar said "Legacy", so I switched to the new one. I wish I hadn't.

 

The previous widget's look was very clean, but the new one has the pagination in it, which looks terrible in a small widget, and seems totally unnecessary there. Also, it tries to show the first thumbnail as a full video at first, and when that shrinks down, it's still larger than the rest of the thumbnails in the widget, and duplicates the first thumbnail's video. (See left column: http://www.humortimes.com/)

 

I've searched the documentation and shortcode (btw, please put a prominent link to the shortcode list in the documentation, couldn't find it there, had to just google 'tubepress shortcode' to find it), and can't find anything about the widget in general, or shortcode to deal with this problem.

 

How can I eliminate the pagination from the widget (tried paginationBelow="false", not working), as well as the attempt to show a full size video, and have all the thumbnails the same size?

 

Thank you.



#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2,787 posts

Posted 09 August 2015 - 09:37 PM   Best Answer

The main difference between the "legacy" and non-legacy TubePress widget is that you can use multiple instances of the non-legacy widget. So if you are only using one TubePress widget, and you like the way the legacy widget looks, feel free to stick with it.

 

The current means of configuring both the new and old widgets is to supply a TubePress shortcode, using any of the options that we make available. It's not the most user-friendly configuration, I apologize for that, but it gets the job done and allows users to configure the widget exactly the way they want it. Here's a shortcode that you might want to try in the widget:

[tubepress playerLocation="jqmodal" paginationBelow="false" paginationAbove="false" resultsPerPage="3"]

This will turn off pagination, use jqModal to play the videos (which will get rid of the embedded player at the top), and show 3 videos in the widget. Based on what I can see on your site, it seems like adding playerLocation="jqmodal" might be all you need to do; I don't see the pagination.

 

Does that make sense? Let me know - thanks!



#3 James Israel

James Israel

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationSacramento, CA

Posted 10 August 2015 - 02:26 PM

Okay, that worked, thanks. As for the pagination, I guess the paginationBelow="false" I had put there earlier did work, maybe it was a cache thing that fooled me.

 

Now, I'd like to turn off the view count below the thumbnails for the widget. What's the shortcode for that?

 

There used to be a long list of all the shortcodes, where is that now? I can't find it. You really should make that prominent in your documentation somewhere!

 

Thanks.



#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2,787 posts

Posted 10 August 2015 - 06:03 PM

Now, I'd like to turn off the view count below the thumbnails for the widget. What's the shortcode for that?

 

You can add views="false" to turn off the view count.

 

There used to be a long list of all the shortcodes, where is that now? I can't find it. You really should make that prominent in your documentation somewhere!

 

We have that list, albeit broken into categories, here. You can also get there by clicking the link for "View all Reference articles" from the front of the support site. Thanks for the feedback regarding your difficulty finding it; I've filed an internal ticket so that we can figure out a way to make this jump out somehow.

 

Please let me know what else we can do to get the widget looking good for you.