0
It would be a usability display in the field "artist country" is appropriate flag.
The ideal option would be to make the drop-down list in the artists Control Panel, but this requires additional programming and may be implemented in future versions MC.
I would like to insert in the "country" html-code, but data is not stored.
I tried to add
in /administrator/components/com_muscol/models/artist.php
after line 112
- the same result.
Tell me, what changes are necessary to keep the html code? B)
P.S. If you write to the database, bypassing the admin result
will be
The data will be lost with any change in viewing this performer in admin.
The ideal option would be to make the drop-down list in the artists Control Panel, but this requires additional programming and may be implemented in future versions MC.
I would like to insert in the "country" html-code, but data is not stored.
I tried to add
$data['country'] = JRequest::getVar('country', '', 'post', 'string', JREQUEST_ALLOWHTML);
in /administrator/components/com_muscol/models/artist.php
after line 112
$data['review'] = JRequest::getVar('review', '', 'post', 'string', JREQUEST_ALLOWRAW);
- the same result.
Tell me, what changes are necessary to keep the html code? B)
P.S. If you write to the database, bypassing the admin result
will be
The data will be lost with any change in viewing this performer in admin.
Responses (4)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0line 106 in views/artist/tmpl/form.php
class="text_area" type="text"
I replaced by type="textarea"
$data['country'] = JRequest::getVar('country', '', 'post', 'string', JREQUEST_ALLOWHTML);
in /administrator/components/com_muscol/models/artist.php
Everything works! :woohoo:
But!!! :angry: After closing the form data is lost, there is only img src=
The full code line 106 in views/artist/tmpl/form.php
class="text_area" type="text"
I replaced by
artist->country;?>
$data['country'] = JRequest::getVar('country', '', 'post', 'string', JREQUEST_ALLOWHTML);
in /administrator/components/com_muscol/models/artist.php
Everything works! :woohoo:
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »