You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I can echo pods( 'foo', array( 'where'=> 't.ID' => 7 ) )->form() or echo pods( 'foo', array( 'where'=> 't.post_title' => 'bar' ) ) to edit a specific item [pods name="foo" form="1" where="t.ID = 7 "] and [pods name="foo" form="1" where="t.post_title = 'bar' "] will create new items.
This is an issue since, if I'm reading the page on special magic tags correctly, I should be able to use a special magic tag, such as {@get.foo} or {@id} in the where clause of the shortcode, but not in ID parameter.
The goal here is to put output a form, via shortcode, to edit a specific item, but not current post, with it's ID or post_title being setting in a GET variable.
The text was updated successfully, but these errors were encountered:
Very needed. All ways to "link" request vía GET, POST or whatever way that could be valid are really needed since a pods developer will need it to wire a a pods app without the need of writing PHP code templates and only configuring (so maintain the development outside the theme scope with the benefit of switching themes more easily)
While I can
echo pods( 'foo', array( 'where'=> 't.ID' => 7 ) )->form()
orecho pods( 'foo', array( 'where'=> 't.post_title' => 'bar' ) )
to edit a specific item[pods name="foo" form="1" where="t.ID = 7 "]
and[pods name="foo" form="1" where="t.post_title = 'bar' "]
will create new items.This is an issue since, if I'm reading the page on special magic tags correctly, I should be able to use a special magic tag, such as
{@get.foo}
or {@id} in the where clause of the shortcode, but not in ID parameter.The goal here is to put output a form, via shortcode, to edit a specific item, but not current post, with it's ID or post_title being setting in a GET variable.
The text was updated successfully, but these errors were encountered: