CMS MADE SIMPLE FORGE

CGBlog

 

[#11923] Categories selected in frontend are not saved

avatar
Created By: cyrcle (cyrcle)
Date Submitted: Mon Nov 05 16:58:07 -0500 2018

Assigned To: Robert Campbell (calguy1000)
Version: 1.15.8
CMSMS Version: 2.2.8
Severity: Major
Resolution: None
State: Open
Summary:
Categories selected in frontend are not saved
Detailed Description:
There is an error in the default fesubmit_template and in processing after
submit.
Categories selected in frontend are not saved.

In CGBlog fesubmit form template,
replace
{if in_array($node.id,$sel_categories)}checked="checked"{/if}
by
{if in_array($node.id,$sel_categories[0])}checked="checked"{/if}
or
{if $node.id|in_array:$sel_categories[0]}checked="checked"{/if}
allows to display the selected categories of blog articles in front end,
but after submit in frontend, the selected categories are no longer present in
the backend.
They have not been saved.


History

Comments
avatar
Date: 2019-01-23 13:18
Posted By: luc berland (lucho69)

Hello
this bug seems not corrected
any news ?
regards
      
Updates

Updated: 2018-11-07 07:08
description: There is an error in the default fesubmit_template or in processing after submit, I don't find where exactly. Categories selected in frontend are not saved. => There is an error in the default fesubmit_template and in processing after submit. Categories selected in frontend are not saved. In CGBlog fesubmit form template, replace {if in_array($node.id,$sel_categories)}checked="checked"{/if} by {if in_arr
resolution_id: => 5
severity_id: 3 => 2