• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

code in view doesn't work

droogers

Member
Hello,

I have an article in joomla to make a iDeal payment. This works fine:
Code:
<p>{ccideal title="iDEAL" amount_by_user amount_text="Kies bedrag:" paymentid="pastoraat 31-5-2020" paymentid_text="Collectedoel" submit_button="Betalen" }</p>
When I add this code i a mysql view in fabrik I see the right text. But when I click on the submit button it doesn't work. Maybe there is something wrong with the syntax.
This is the code in the view:
Code:
concat('<p>{ccideal title="iDEAL" amount_by_user amount_text="Kies bedrag:" paymentid="pastoraat 31-5-2020" paymentid_text="Collectedoel" submit_button="Betalen" }</p>') as `test`
In the image you see the failure code when I inspect the code in my browser
2020-05-29_11h21_48.png
 
Last edited:
I don't know what ccideal is doing but I assume it's inserting a form
So you'll get nested form tags which will break.

Gesendet von meinem SM-G930F mit Tapatalk
 
Maybe this is the problem. How can I solve this?
This is the source code:
Code:
<form class='form-horizontal' title='iDEAL2' action='https://hervormdijsselstein.nl/?option=com_ccidealplatform&amp;view=ccideal&amp;layout=content_redirect' method='post' id='content_ideal1' name='content_ideal' style="display:inline;"><div class='ccidealplatform_content_plugin_title' style='text-align: center;'>iDEAL2</div>
<input type='hidden' name='extra_textfield_title_label' value='Form' /><input type='hidden' name='extra_textfield_title'  id='extra_textfield_title' value='iDEAL2' maxlength='100' />
<div class='ccidealplatform_content_plugin_image'><img src='https://hervormdijsselstein.nl/components/com_ccidealplatform/assets/images/select_iDEAL.jpg' alt='' /></div><div class='ccidealplatform_content_plugin_fieldset'><div class='idealcontent'>
<div class='control-group'><label  class='ccidealplatform_content_plugin_labels'>Kies bedrag: &#8364;</label><label class='ccidealplatform_content_plugin_labels'><input type='text' name='total' onkeyup="ajaxFunction(this.form,'amount_by_user',1)" onblur="ajaxFunction(this.form,'amount_by_user',1)" id='amount_by_user' class='ccidealplatform_content_plugin_fields' value=''/>
<span id='ajaxDivname1' style='display:none;float:right;'><img src='https://hervormdijsselstein.nl/components/com_ccidealplatform/assets/images/cross.png' width='16' height='16' alt='' /></span><span id='ajaxDivname11' style='display:none;float:right;'><img src='https://hervormdijsselstein.nl/components/com_ccidealplatform/assets/images/tick.png' width='16' height='16' alt='' /></span></label></div><div class='control-group'><label class='ccidealplatform_content_plugin_labels'>Collectedoel</label><label class='ccidealplatform_content_plugin_labels'>pastoraat 31-5-2020</label>
<input type='hidden' name='cont_extn' value='pastoraat 31-5-2020' />

<input type='hidden' name='hidden_order_number' value='3665cac48499d41a' /></div>
<div class='control-group'>
<div class='submit-container'><button type='submit' name='submit' onclick='return submitbutton(this.form,1, 1)' id='content_plugin_submit1' class='btn btn-success'>Betalen</button></div></div></div></div>
<input type='hidden' name='itemid' value='1934'/>
<input type="hidden" name="path" id="path" value='https://hervormdijsselstein.nl/' />
<input type='hidden' name='id' value=''/>

<input type='hidden' name='extn' value='Content_plugin' />
<input type='hidden' name='task' value='idealRedirect'/><input id="hidden_org" type="hidden" name="hidden_org" class="inputbox required" value=""/>
<input type='hidden' name='myMenuItemID' value='1934'/>
</form>
 
You can add such plugins in form or list intro or outro but not in an element.

Gesendet von meinem SM-G930F mit Tapatalk
 
This has nothing to do with Fabrik, it's HTML.You can't have nested form tags.

Gesendet von meinem SM-G930F mit Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top