CMS MADE SIMPLE FORGE

Hosted Video Albums

 

[#5336] ListVideos template does not find any videos

avatar
Created By: Paul (pmgolz)
Date Submitted: Tue Aug 24 06:29:35 -0400 2010

Assigned To: Olivier LEVILLAIN (leolivier)
Version: 2.0.1
CMSMS Version: None
Severity: Major
Resolution: Invalid
State: Closed
Summary:
ListVideos template does not find any videos
Detailed Description:
May just be me with this one.

1. Create an album
2. Put some videos in the album
3. Set the list template for the album to "ListVideos"
4. Insert the correct album code into a page 
    {cms_module module="HostedVideoAlbums" what="album" alias="my_album"}
5. A blue screen comes up, no videos are found.

From playing with the code myself it seems that $itemlist in this context refers
to the category, not the album. I'm guessing it's not correctly either picking
up the "what" or it's not handling it correctly in the php.



History

Comments
avatar
Date: 2010-08-27 04:34
Posted By: Olivier LEVILLAIN (leolivier)

Hello Paul,
that's a misuse of HVA. Maybe the GUI and the help are not as understable as it
might be but:
- At category and album levels, you can only use ListLinks, the combo is geiven
if you want to create your own derivation of listlinks so taht it won't be
overriden by the next version of hva.
- ListVideos is for video level only.

If you want to display the album i.e the album description only, use 
{cms_module module="HostedVideoAlbums" what="album" alias="my_album"}
If you want to display all albums, use 
{cms_module module="HostedVideoAlbums" what="album"}
If you want to display all albums of one given categaory, use 
{cms_module module="HostedVideoAlbums" what="album" parent="my-category"}

But if you want to display videos, use at video level either ListVideo or
ListLinks or FancyVideoGallery (prefered since 2.0) and
{cms_module module="HostedVideoAlbums" what="video"} will display all videos
whatever their category or
{cms_module module="HostedVideoAlbums" what="video" parent="my_album"} will
display all videos of my-album

Is that clear?
      
avatar
Date: 2010-08-27 04:36
Posted By: Olivier LEVILLAIN (leolivier)

Just a little mistake in my previous explanation:
{cms_module module="HostedVideoAlbums" what="video"} will display all videos
whatever their ALBUM and thus category
      
Updates

Updated: 2010-08-27 04:34
resolution_id: => 9
state: Open => Closed