Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, running umbraco 4.7.0 with a MySQL database, .Net 4.0
trying to show dokuments from the media secton
it seems the GetMedia() returns nothing?
folderid is OK, and folde does contain files
any ideas?
Code snippet:
<xsl:param name="folderid" select="/macro/folder/Folder/@id" /><xsl:template match="/"> <xsl:if test="$folderid != ''"> ID=<xsl:value-of select="$folderid"/><br/> <xsl:variable name="folder" select="umbraco.library:GetMedia($folderid,1)"/> Folder=<xsl:copy-of select="$folder"/><br/> </xsl:if></xsl:template>
Maybe this topic can help you: http://our.umbraco.org/forum/developers/xslt/27854-Help-with-mediapicker. A lot is explained there.
Jeroen
is working on a reply...
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.
Continue discussion
Getmedia returns nothing
Hi, running umbraco 4.7.0 with a MySQL database, .Net 4.0
trying to show dokuments from the media secton
it seems the GetMedia() returns nothing?
folderid is OK, and folde does contain files
any ideas?
Code snippet:
Maybe this topic can help you: http://our.umbraco.org/forum/developers/xslt/27854-Help-with-mediapicker. A lot is explained there.
Jeroen
is working on a reply...
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.