some html code are inserted in the custom link

Status
Not open for further replies.

smart

Member
Hello,
I run into trouble on the original list after another form linked to the same list is manually created, copy some elements. Then I deleted that form and element as I got some error on viewing the data on the form.
Here is my site.
https://www.alintann.org/quantum-buddhist/uosadha-satipatthana

The custom link icon becomes double and has some html code inserted. I tried to troubleshoot but still couldn't.
I did solve this issue before but it was long time ago. Now I couldn't find the error.
Thanks :)

Code:
<td class="tk___kfblink fabrik_element fabrik_list_57_group_77" style="text-align: center">
            <a data-loadmethod="xhr" class="fabrik___rowlink  fabrik_edit" data-list="list_57_com_fabrik_57" data-isajax="0" data-rowid="13" data-iscustom="1" href="https://www.facebook.com/watch/?v=<a data-loadmethod=" xhr"="">
<img src="https://www.alintann.org/images/icons/IconFB32.jpg" class="fabrikImg"></a>
"
    &gt;
<span><img src="https://www.alintann.org/images/icons/IconFB32.jpg">
</span>

        </td>
 
I found the problem. When elements were copied to a new form, the duplicate set of elements are also copied on the main form as well as on the child forms. So those duplicates have to be deleted manually and also have to delete the duplicated internalID as well from the database. I don't know what happened when elements were copied
 
Testing by copying the element from the parent form to the child form also duplicate another duplicate element in one of the parent's group. I have six groups in the parent form. Why is that? Is it a bug or the wrong steps?

upload_2020-9-21_11-37-24.png
 
First, to avoid confusion on defined terms:
Lists are the Fabrik term for DB tables and can be joined with each other. They contain DB columns (Fabrik elements) and records (Fabrik rows).
Fabrik elements are assigned to groups, and groups are assigned to forms.
Forms enable you to add or edit rows via form fields for the respective elements.

Not sure how exactly you copied what, but if you copy a list in the Fabrik backend, it's normal that - by default - elements, form and groups are copied as well (where you can rename form and groups on the way). So, that's not "duplicates" but correct "copies" - while the DB tables including their columns and records remain as before.
Such copies are helpful if you want to display the same data records in a different format, or pre-filtered, for different users, or whatever. Or if you require specific forms for different user, or similar.

In your element list, e.g. the one you're showing here, you can differentiate copied elements by group name (see the different group names of the highlighted elements) and by their parent/child status: hover over that icon before the checkbox to see which one is parent (= "original") or child (= copy).

Bottom line:
If you need the same data for a different purpose (different list or different form), it's a good start to copy the list and, in the process, rename everything as per your needs. The copied elements are nothing to be worried about, but rather helpful as they allow you different settings, visibility, even different grouping, etc.
 
First, to avoid confusion on defined terms:
Lists are the Fabrik term for DB tables and can be joined with each other. They contain DB columns (Fabrik elements) and records (Fabrik rows).
Fabrik elements are assigned to groups, and groups are assigned to forms.
Forms enable you to add or edit rows via form fields for the respective elements.

Not sure how exactly you copied what, but if you copy a list in the Fabrik backend, it's normal that - by default - elements, form and groups are copied as well (where you can rename form and groups on the way). So, that's not "duplicates" but correct "copies" - while the DB tables including their columns and records remain as before.
Such copies are helpful if you want to display the same data records in a different format, or pre-filtered, for different users, or whatever. Or if you require specific forms for different user, or similar.

In your element list, e.g. the one you're showing here, you can differentiate copied elements by group name (see the different group names of the highlighted elements) and by their parent/child status: hover over that icon before the checkbox to see which one is parent (= "original") or child (= copy).

Bottom line:
If you need the same data for a different purpose (different list or different form), it's a good start to copy the list and, in the process, rename everything as per your needs. The copied elements are nothing to be worried about, but rather helpful as they allow you different settings, visibility, even different grouping, etc.
Thank you :)
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top