I have a form where I'm trying to save some values. I'm using Members extension. This does not work:

<input name="fields[member]" type="hidden" value="$member-id" />
<xsl:value-of select="$member-id"/> <!-- 19 -->

This does not work either

<input name="fields[member]" type="hidden" value="/data/params/member-id" />
<xsl:value-of select="/data/params/member-id"/> <!-- 19 -->

This works:

<input name="fields[member]" type="hidden" value="19" />

Thanks for any suggestion

Ok two braces missing, I know :|

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details