I am making a new website, but when i want to show a icon in a data table through media type and then icon. The icon is not showing in the data table. It is is strange, because if i show the media in the first row before a text it is showing a icon there, but when i change the icon it disappear again. After the icon showed up and disappeared, i selected the same icon again what showed up before, but it wont show up anymore.
Kind Regards, Sander
]]>
[datatable datatable-42 recordset:recTablescrollx "Name|name" "Type|type"]
Thanks for your help!
]]>i have the free version and i m using tabs
https://ibb.co/NY4tpyb
https://ibb.co/NY4tpyb
i wanna know where can i set how many rows will be display in a page
]]>function image_show_cfdb(){ ?>
<script type="text/javascript" language="Javascript">
(function(jQuery) {
jQuery(document).ready(function() {
jQuery("#formid td[title='image'] > div > a").each(function() {
var href = jQuery(this).attr('href');
var label = jQuery(this).html();
var imgTag = '<img height="30" width="30" src="' + href + '" alt="' + label + '" >';
jQuery(this).parent().html(imgTag);
})
});
})(jQuery);
</script>
<?php }
add_action('wp_footer', 'image_show_cfdb');
In my page I have:
[cfdb-datatable form="Formname" id="formid" hide="Submitted,Submitted Login,Submitted From"]
I’m using https://www.ads-software.com/plugins/cf7-post-fields/ to select images in form and it saves only shortcodes or image titles to database, so I have made the image titles their URL’s. I get text https://www…/wp-content/uploads/sites/6/2022/05/explos.gif in the table. I also tried inserting `
<img src=”https://www…/wp-content/uploads/sites/6/2022/05/explos.gif” /> and <a href=”https://www…/wp-
content/uploads/sites/6/2022/05/explos.gif”>image</a>
`
manually in the image-column but all I see is text. How to display images?
Also I get Uncaught ReferenceError: TippNett is not defined
at HTMLDocument.<anonymous> ((index):105:16)
at e (jquery.min.js?ver=3.6.0:2:30038)
at t (jquery.min.js?ver=3.6.0:2:30340)
in console.
Great plugin, keep up the great work
Just recently (maybe in a recent update?) the datatable no longer works on WPDM.
On closer inspection it appears bootstrap.min.js.map in /plugins/download-manager/assets/bootstrap/js cannot be found and throws the error ‘TypeError: $(…).dataTable is not a function’ in the browser console for /wp-includes/js/jquery/jquery.min.js.
I’ve tried clearing cache, swapping themes and even looking for bootstrap.min.js.map in an older backup but cannot find it to resolve the problem.
My shortcode:
[wpdm_all_packages jstable=1 items_per_page=20 …]
Has anyone else experienced the same issue or know how to fix?
Thank you
]]>1) I would like to know how I could make the table show no records on first load
2) Show no records until someone searches a perfect matching ‘Certificate Number’ (the table gives you an idea of the same)
As you can see the table loads all records initially which should not be the case and it searches for any text string within the whole dataset.
Any help would be great as I am not so well versed with the coding.
Thanks
]]>