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 ?
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 ...
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 ?
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
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 ...
Hi Sebastian,
you can use third party solution like Disquss, just add the script into your template and get a smile :)
is working on a reply...