Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 583 posts 1407 karma points
    Feb 21, 2011 @ 13:53
    Sebastian Dammark
    0

    Image gallery with coments

    Well I need a little input here ... ;)

    As an amateur photographer I have a lot of photos in different categories.
    And of course I don't want to create 500 nodes in the content tree.

    So all my images are uploaded to the media tree and rendered on a specific page using GetMedia($galleryrootfolder, 1).

    In my XSLT I then render my categories, a single category or a single photo.

    My idea was then to use uComments, so that comments are separated from the content, and render the comment form in the 'single photo' template in the XSLT file.
    But unfortunately the comment form is a .NET control and if I add it through my macro I get comments on all 3 stages.

    Is it possible to render a media with another template than assinged to the actual page ?

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Feb 21, 2011 @ 14:09
    Chriztian Steinmeier
    0

    Hi Sebastian,

    Yes - there are two ways to use an alternate template - if your page is named /photographs.aspx you can do either of these:

    /photograps.aspx?altTemplate=ALIAS_HERE

    /photographs/ALIAS_HERE.aspx

    /Chriztian

  • Sebastian Dammark 583 posts 1407 karma points
    Feb 21, 2011 @ 14:53
    Sebastian Dammark
    0

    Well, that was a great suggetion, and very good information for later use ;)

    But unfortunately the comments are only related to the document used for rendering the images.
    I think, I'll have to skip the uComments module and try something else ...

  • ridi 71 posts 103 karma points
    Jun 08, 2011 @ 08:09
    ridi
    0

    Hi Sebastian,

    you can use third party solution like Disquss, just add the script into your template and get a smile :)

Please Sign in or register to post replies

Write your reply to:

Draft