Seite 1 von 1

we:ifWritten print Object ID

Verfasst: So 27. Sep 2015, 20:21
von Michael_S
Hi,

When creating an Object from the front end how do I get the Object ID in we:ifWritten?

Michael.

Re: we:ifWritten print Object ID

Verfasst: So 27. Sep 2015, 22:49
von WBTMagnum
Hi Michael,

I found the following code in our projects:

Code: Alles auswählen

$GLOBALS['we_object']['<formname>']->ID
<formname> is a placeholder for the name of your <we:form> (e.g. edit).

HTH,
Sascha

Re: we:ifWritten print Object ID

Verfasst: So 27. Sep 2015, 23:57
von Michael_S
Perfect, thanks...

Code: Alles auswählen

$GLOBALS['we_object']['<formname>']->ID