CMS MADE SIMPLE FORGE

Hosted Video Albums

 

[#4946] Smarty tags to grab and insert into pages

avatar
Created By: Andrew Minton (moonoo)
Date Submitted: 2010-05-17 19:05

Assigned To: Olivier LEVILLAIN (leolivier)
Resolution: Fixed
State: Closed
Summary:
Smarty tags to grab and insert into pages
Detailed Description:
What would be great is the ability to grab the smarty for individual files or
albums straight from the Admin for Hosted Videos.. i.e.

{cms_module module="HostedVideoAlbums" what="video"} in the table around the
video alias so a user can just grab this code and drop into a page.. same with:

{cms_module module="HostedVideoAlbums" what="album"}

Jos integrated this into Gallery for images module and it works great.. it's
also already in the GLobal Content BLock areas and is simple to implement in the
.tpl file for the module.. what do you think?

History

Comments
avatar
Date: 2010-05-30 13:23
Posted By: Olivier LEVILLAIN (leolivier)

I'll give it a try.
      
avatar
Date: 2010-06-05 11:14
Posted By: Olivier LEVILLAIN (leolivier)

Hi, my next version will definitely handle this request. 
I am currently facing 2 difficulties.
The first one is a lack of room in the displayed columns...
The second one is to know what you really want to see in the admin interface.
For instance, for an album, should I provide the following code:
{cms_module module="HostedVideoAlbums" what="album" alias="the album alias"}
which will display the album description, or should I provide:
{cms_module module="HostedVideoAlbums" what="video" parent="the album alias"}
which will display the album videos
In my opinion, the second option is better tha the first ais it shows the
content of the object and not the object itself. What do you think about this?
      
avatar
Date: 2010-06-05 12:43
Posted By: Andrew Minton (moonoo)

Definately the second option.. the first is documented in the Help section..

The second one is more likely to be used in my opinion!
      
Updates

Updated: 2010-08-03 14:14
state: Open => Closed

Updated: 2010-07-24 06:15
resolution_id: 6 => 7

Updated: 2010-05-30 13:23
resolution_id: => 6
assigned_to_id: 100 => 13311