I’m having some trouble getting the tag pair to work on a Matrix, according to the docs I should be using:
{your_custom_field_name}{/your_custom_field_name}
I get nothing using this syntax.
The entry ID is being passed and I can easily edit and view other fields such as the title.
If I use the:
{field:matrix-field-name}
I get the matrix control but the data contained in the matrix isn’t representative of what the matrix holds - it’s as if it’s an empty matrix and not what I see in the CP.
If enter some data in the data gets saved in the DB, and the new data is added to the matrix in the CP but this data is never seen in the SafeCracker output.
There are no JS errors, the template snippet is:
{exp:safecracker channel="property-db" return="view/ENTRY_ID" entry_id="{segment_2}"}
{safecracker_head}
<label for="title">Title</label>
<input type="text" name="title" id="title" value="{title}" size="50" maxlength="100">
<input type="text" name="url_title" id="url_title" value="{url_title}" maxlength="75" size="50" />
{field:matrix-name}
<input type="submit" name="submit" value="Submit" />
{/exp:safecracker}
EE ver 20100810
Matrix ver 2.0.11
safecracker.1.0.0.build.20100924
Any ideas?