Hi,
I am trying to keep my site as simple as possible and for some users, I just want them to update their channel data (add and edit…guessing its not safe to delete on the front end) on the front end. Is this possible?
Thanks.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 01, 2014 8:32am
Subscribe [2]#1 / Aug 01, 2014 8:32am
Hi,
I am trying to keep my site as simple as possible and for some users, I just want them to update their channel data (add and edit…guessing its not safe to delete on the front end) on the front end. Is this possible?
Thanks.
#2 / Aug 01, 2014 9:07am
You can’t delete entries from the from end. What I do is create a status called “Delete” or something similar and use this to update the status of the entry on the front end. This can then appear in the CP for an admin user to delete if necessary.
#3 / Aug 01, 2014 10:41am
Great thanks. I’ve tried to add fields from my grid which are selects but it doesn’t seem to work - i.e it just says {option_value} rather than generating any data from my channel.
{grid_field}
<select name="my_field_name" id="my_field_name">
{options:my_field_name}
<option value="{option_value}"{selected}>{option_name}</option>
{/options:my_field_name}
</select>
{/grid_field}I’m guessing i have to wrap the select in the grid field name?
Thanks