I'm using gallery 2.0.2 and simple module 0.0.2.
I want to create a text field on the upload page that when filled out
will populate the description fields for all uploaded files
when displayed on the edit page...
I've created the text field on SimpleUpload.tpl.
Quote:
<textarea id="description_common" rows="4" cols="50" name="{g->formVar var="my_description"}">Fill in this field with Common Project Data.</textarea>
But I can't figure out how to access this variable on SimpleEdit.tpl
to populate the fields for each file...
Quote:
<textarea id="description_{$item.id}" rows="4" cols="50" name="{g->formVar var="form[items][`$item.id`][description]"}">{g->form_var var="my_description"}</textarea>
Is it a pathing issue, variable syntax, etc?
I've been looking but it's hard to find doco for something so simple...
the coding standards didn't get into it... and i've been staring at
example code for awhile and am just not putting it together...