I am trying to build a products page, the end users wants stacked images with related text next to each image (simple enough, i think) however, they want to be able to add new enteries themselves via the contents area.
If I have understood what you want to do correctly. You could do following:
Add a Multi Node Tree Picker to your document type from the uComponents package. This would allow the user to select multiple images from the media section on a single document node.
Add a property to the Image media item to contain your image description.
Pull the media image and description into the product page using an XSLT macro.
its on a single page, mulit images/text pairs. then i need to make it editable in the content area for the end user with the ablity to add more images/text pairs at will
Products Page
Hi,
I am trying to build a products page, the end users wants stacked images with related text next to each image (simple enough, i think) however, they want to be able to add new enteries themselves via the contents area.
Is this possible?
Thanks
Hi Dominic,
If I have understood what you want to do correctly. You could do following:
I'll give this a try thanks!
Will it give the end user the means to enter more products themselves?
i've very caveman esk just madea page with rich text editor and put a table in, inserted pics and text adn then insert row for new products hehe
Hi,
Maybe I've not understood correctly, did you want...
1) multiple image/text pairs on a single product page, or
2) multiple product pages each with their own image and a index page showing a list of product images/text pairs?
My suggestion above was for 1) and on reading your reply I'm not sure now if you wanted to acheive 2)
Matt
its on a single page, mulit images/text pairs. then i need to make it editable in the content area for the end user with the ablity to add more images/text pairs at will
Hi Dominic
In that case my original suggestion should work.
Here is a snippet of XSLT that should get you going on the right lines for the image
<xsl:if test="$currentPage/portfolioImages/MultiNodePicker/nodeId">
<xsl:for-each select="$currentPage/portfolioImages/MultiNodePicker/nodeId">
<xsl:variable name="node" select="umbraco.library:GetMedia(.,false)" />
<img src="{$node/umbracoFile}"/>
</xsl:for-each>
</xsl:if>
In the example 'portfolioImages' is the alias of the Multi Node Picker which has been set to 'Media' and to store the data in XML format.
Just add a "select" statement in for the new text field you have added into to the Image media type using $node/youraliasname
Matt
thanks i'll give that ago, i should point out am a noob, so some of that went right over my head lol
is working on a reply...