I've tried removing the javascript files from the information_form.twig, doesn't affect it. Also looked at information.php in the controller, validate form function doesn't seem to affect it. Tried removing if user permission allowed parameters incase it was this. Not sure what is stopping it.
It can be added directly to the description field database without an issue.
Not looking for a plugin editor, would like to know what blocks it. Any ideas? :-)
Can you explain this further? What are you trying to save and where?scottyboyyy wrote: ↑Sat Oct 10, 2020 1:29 amWhat would be stopping me from saving information or product with an iframe in description? It is taking me to a 404 if I try to save.
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo
Common sense but other than that, nothing.What would be stopping me from saving information or product with an iframe in description?
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com
I have removed summernote so that it is just a textarea field. This allows me to just work in code view and has been better for me so far - I have more control, can add anything (until this) and don't have the bug issue when saving in codeview.
If I simply put <iframe> without the video link, etc it takes me to a 404 page when saving.
if your html is solid then your host does not allow iframes in the html body, ask them.If I simply put <iframe> without the video link, etc it takes me to a 404 page when saving.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Would my host not block me completely then?
I can add the iframe to the description within the database and it works fine. Also I can add iframes directly into the .twig files.
It is only via the admin textarea that I can't. The save button takes me to a 404. I've tested with a clean opencart install.
Below is what I am changing the description field to be:
Code: Select all
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-description{{ language.language_id }}">{{ entry_description }}<br> </label>
<div class="col-sm-10">
<textarea name="information_description[{{ language.language_id }}][description]" placeholder="{{ entry_description }}" id="input-description{{ language.language_id }}" style="height:450px; width:100%;" class="form-control">{{ information_description[language.language_id] ? information_description[language.language_id].description }}</textarea>
{% if error_description[language.language_id] %}
<div class="text-danger">{{ error_description[language.language_id] }}</div>
{% endif %} </div>
</div>
Thanks for your help and time :-)
no, if they run a security module it would just block the individual request and either give a 404 or just drop the connection.Would my host not block me completely then?
If that is the case, your host is not blocking.I can add the iframe to the description within the database and it works fine.
not a twig expert but is this solid?
Code: Select all
{{ information_description[language.language_id] ? information_description[language.language_id].description }}
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Users browsing this forum: Bing [Bot], mattltm, Semrush [Bot] and 332 guests