File Field Forced me to Login in the front end

mohammed_abdallah - 2 months ago

Peace for U guys am created careers module and one of the fields is CV all goes right in the backend when i logged as admin but when using it in the frontend when i press upload to make a popup with login page to login any hints to avoid this ?? am watching the series in this video https://pyrocms.com/videos/series/module-development/module-forms-for-the-frontend but when @ryanthompson explain it skip the poster field thanx in advance :)

Answer

ryanthompson - 2 months ago

Ya the file field type.. maybe use the https://github.com/anomalylabs/upload-field_type instead.

I'll have a look at moving those communications over to the public end but.. it's really not what was intended of the field type.

ryanthompson - 2 months ago

Ya the file field type.. maybe use the https://github.com/anomalylabs/upload-field_type instead.

I'll have a look at moving those communications over to the public end but.. it's really not what was intended of the field type.

mohammed_abdallah - 2 months ago

"cv" => [ "type" => "anomaly.field_type.upload", "config" => [ "folder" => 'cv', ] ] it's what really i made yesterday but still the same problem Ok , It will be a Great contribution

mohammed_abdallah - 2 months ago

damn on me Am Forget to reinstall after i change to the field type =D thanx ryanthompson it's what i want Works Fine now

ryanthompson - 2 months ago

@mohammedabdallah fantastic! Glad you got it working ^^