Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Evan 344 posts 99 karma points
    Apr 13, 2009 @ 18:11
    Evan
    0

    Need help with building onto the CWS gallery

    I am trying to build onto the CWS gallery to allow a section for flash video. I have modified everything so that my gallery (now called media) can hold images and video. I have it set up where the user will click on the gallery and view all of the images (or video's in that gallery) and then when they click on the image a lightbox effect brings up the image in a nice way. I wish to have the same thing done for the video but I can not get it to do anything. Here is my xslt for the images to open in the lightbox. I need to figure out how to tell if it is a video and if it is, open the embed file in the lightbox.



    ]>
    <>
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxml="urn:schemas-microsoft-com:xslt"
    xmlns:umbraco.library="urn:umbraco.library"
    exclude-result-prefixes="msxml umbraco.library">























  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Apr 13, 2009 @ 21:35
    Douglas Robar
    0

    I admit that I haven't looked at your xslt but maybe there is another issue...

    I seem to recall that lightbox doesn't do video/flash. Maybe a new version does. In the past I've used Thickbox when I have to include video.

    cheers,
    doug.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Apr 13, 2009 @ 22:32
    Douglas Robar
    0

    Just saw this jQuery lightbox-type tool that looks very nice, and works with umbraco. [url]http://catcubed.com/tag/jquery/[/url]

    cheers,
    doug.

  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Apr 14, 2009 @ 09:43
    Warren Buckley
    0

    Hiya,
    OK how have you setup the gallery to use video's have you created a new documentType or added properties to the existing photo documentType as this will determine how you need to modify the XSLT.

    Warren

  • Evan 344 posts 99 karma points
    Apr 14, 2009 @ 15:23
    Evan
    0

    [quote=warren]Hiya,
    OK how have you setup the gallery to use video's have you created a new documentType or added properties to the existing photo documentType as this will determine how you need to modify the XSLT.

    Warren[/quote]
    I figured out the error, the lightbox method was running a little long for this project and it was just something I was going to add but instead I used lightbox on the images and the basic gallery layout on the video.

    On a non related note we should devote a section of the forum to showing off your umbraco installations, it would be nice to see what everyone is working with

  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Apr 14, 2009 @ 15:43
    Warren Buckley
    0

    Hiya glad you got it solved.
    Yes it would be nice, but im not sure how the community would feel to have a dedciated sub forum to CWS.

    Warren

  • Evan 344 posts 99 karma points
    Apr 14, 2009 @ 16:09
    Evan
    0

    [quote=warren]Hiya glad you got it solved.
    Yes it would be nice, but im not sure how the community would feel to have a dedciated sub forum to CWS.

    Warren[/quote]

    no not just for CWS, for all umbraco sites that people have built to show off their work. It would be nice to see people show their sites and then guests can ask them how they did this or that and also get inspiration.

  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Apr 14, 2009 @ 16:11
    Warren Buckley
    0

    Either contact Niels/Per from Umbraco HQ or Dirk who also adminstrates the forum to see what they say as they have the power.

    Warren

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies