Re: Adding data table plugin to improve tables

Datatables integration would be great, so please do a PR for 2.0 once you have something that works

The problem that you are experiencing is that the data is managed in 2 worlds : the javascript world and the PHP world. The javascript world (datatables.js) works with the data that you give it. In a simple situation, the basic configuration of datatables works fine : you feed it all the data, and everything is managed inside the datatables implementation, on the client browser.

As you found out, that is limited to small datasets. Once you get into the few hundreds, the browser slows down considerably. The trick is to plugin PHP functionality to replace some of the functions that datatables does in the browser, and shift the workload as much as possible to the server. Sorting and such as well, because if you load only 15 elements inside of datatables, in its standard configuration, it will only work with those 15 lines, giving very funny results, that will be plain wrong

in my opinion, you will need to write an integration for the loading, updating, sorting, searching of data from datatables within ImpressCMS. Once you have that, the sky will be the limit

Topic | Forum


Adding data table plugin to improve tables

Hello!  I'm trying to customize the standard   icms_ipf_view_Table Actually, in order to use DataTable jquery Plugin I overwrote my system_persistabletable_display.html file in order to be able to use the plugin. (https://datatables.net/

For small tables it works like a charm, but when you have slightly bigger ones (around 1k records), data is being fetched completely and then Datatable is redendered. The downside is that it becomes really slow untill all loading is completed.  

I've also tried to keep the tree selector where I can have limits for 10, 15 etc records, but then I cannot access more data than selected for some reason.  I have other, larger tables where I can see thing getting too slow then. 

Reading the documentation I came up to defer loading, json rendering and background loading methods, but I don't know how to apply thoses changes inside impresscms in order to have it running.

Some links I read:  https://datatables.net/examples/server_side/defer_loading.html http://datatables.net/release-datatables/extras/Scroller/large_js_source.html https://datatables.net/faqs/#speed Any thought on how to optimize this loading process? 

Thanks!

Topic | Forum




Re: blank page on 1.3.11 softaculous install from scratch

<p>If you install from your own upload to the host, does it work?</p> <p>What are you able to see from CPanel/WHM/Plesk? All the files/folders, database?</p>

Steve Twitter: @skenow Facebook: Steve Kenow



blank page on 1.3.11 softaculous install from scratch

<p>I am setting up some sites on my hosting account, and I'm basing them on a softaculous installation. However, I can't seem to get a working install in 1.3.11, I always get a blank page.</p>

<p>The ImpressCMS site is running on a Softaculous install that was upgraded from 1.3.10 to 1.3.11, so that works. But it looks like an install from scratch is problematic.</p>

<p>Can anyone test a softaculous install and let me know?</p>



ImpressCMS, SSL and Cloudflare Free

<p>I setup my ImpressCMS site using a <a href="https://letsencrypt.org/">Let's Encrypt SSL certificate</a>. Everything works fine, nothing specific to configure other than putting 'https' in your root url. The site was running a bit sluggish, due to the server being on the other end of the world, so I decided to activate the free Cloudflare option my hosting company offered.</p>

<p>After that, once Cloudflare was up and running, my site was unreachable due to 'the site redirecting in an incorrect way'. Because the site has been working without issue before, I figured it was the cloudflare setup that needed adapting.</p>

<p>I found <a href="https://support.cloudflare.com/hc/en-us/articles/200170536-How-do-I-redirect-all-visitors-to-HTTPS-SSL-">this article on the cloudflare support site</a> that explains what was happening : my site was SSL-only, but the cloudflare default setting is for 'Flexible SSL'. The Flexible SSL option acts as a SSL proxy between your users and your site, and can be a good option if you don't have the opportunity to run your site with an SSL certificate, but you want to expose an SSL address to the world. Cloudflare then exposes a HTTPS address to the outside world, but communicates with your servers without it.</p>

<p>Changing the option from 'Flexible SSL' to 'Full SSL' immediately fixed the issue for me. Site response times have improved considerably since then.</p>



Re: login to custom php app using icms login credential ?

<p>As a follow-up on this, you could implement this using a OAuth2 server, where the OAuth2 server lets the user login in your ImpressCMS site, and then notify your other webapp that the user is verified. That means custom development on both sides, and i don't think that this has been attempted before for an ImpressCMS site.&nbsp;</p>

<p>This would be the most flexible solution, in the likes of logging in with Twitter, Google, Microsoft or Facebook into a site.</p>



carousel no longer working after upgrade to ImpressCMS 1.3.11

Hi,

after we upgraded the ImpressCMS site (this one) to the latest version using Softaculous, we noticed after a short while that the carousel on the front page wasn't working anymore.

looking at the HTML sourcecode, the content was still there, but for some reason it wasn't showing on the screen anymore.

We noticed an error message in the browser logs telling us that the version of jQuery was too recent. As a quick fix, I downgraded the jQuery included in ImpressCMS to the one we bundled previously (1.9.1). Further investigation by @skenow revealed that it's our theme that is slightly too old and not using the latest version of Bootstrap 3. Bootstrap 3.3.7 supports jQuery higher than 3.0.

We'll upgrade our bootstrap and possibly our carousel version in the near future, but I just wanted to let you know in case you run into the same problem. It's not a core issue, it is most likely related to the bootstrap version in your theme.



Re: Happy New Year!

<p>A happy new year to everyone. As I mentioned on <a href="https://www.impresscms.org/modules/news/article.php?article_id=1012&title=happy-2019">the blog post</a>, 2018 was a preparation that put in place many of the requirements that will allow us to deliver stuff during 2019.&nbsp;</p>

<p>We will be celebrating our 11th anniversary in a few days, that's another occasion to celebrate.</p>



Re: Happy New Year!

<p>Happy new year to everyone :)</p>



Happy New Year!

<p>Most of us should be well into the first day of 2019 by now - may this year be ready for all we bring to it!</p> <p><img alt="" src="https://www.impresscms.org/uploads/imagemanager/misc/icms-2019.png" style="height:780px; width:780px" /></p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: Another Year of Gratitude - Thank you!

<p>Thank you very much Steve! Here in Europe we know Thanksgiving mainly because we have imported your 'Black Friday' tradition, but I really like the idea of taking the time to look back at the last year.</p>

<p>Looking forward to working with the entire community on new sites, new features and lots of new languages <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /></p>



Another Year of Gratitude - Thank you!

I believe a form of the Thanksgiving holiday we observe in the US is found all around the world - a time to be thoughtful and grateful for the many things we do have.

I would like to thank you, the ImpressCMS community - the supporters, founders, contributors, friends, developers, designers, writers, promoters, testers, translators, and all the people in your lives that allow you to be a part of this great project. We have been through much together in the past 11 years and I look forward to more years ahead.

 

Steve Twitter: @skenow Facebook: Steve Kenow



Re: login to custom php app using icms login credential ?

<p>I totally agree with @skenow. This way you don't need to duplicate the login procedure in ImpressCMS, and you can still use the existing userbase.</p>

<p>&nbsp;</p>



Re: login to custom php app using icms login credential ?

<p>So - you want to have your login be the login from your ImpressCMS site, with all their users and passwords, and the rest of the content be restricted, but not an icms site?</p>

<p>Then, each of your pages must check for a valid user, like your ICMS site does (icms::$user is set and meets your criteria).</p>

<p>To access this information, the easiest way I see is to require mainfile.php in all your pages, which will give you a connection to the db that holds the users and the salt key stored in the trust path to complete the authorization.</p>

Steve Twitter: @skenow Facebook: Steve Kenow



login to custom php app using icms login credential ?

<p>Hi</p>

<p>i would like to build a custom php application without using icms but i would like to use icms user/password from&nbsp;<br />
user table to login to my system&nbsp;</p>

<p>is there any code script out there that i can use</p>



Re: Any 1.3.11 beta2 feedback?

Thanks for the update! The module version that needs to be updates is a small improvement It shows if a module is kept up-to-date or not  



Re: Any 1.3.11 beta2 feedback?

<p>I've been testing it locally, mostly in relation to a new release of SimplyWiki. So, the results are a bit fuzzy - is it a core issue, or is it a module issue? Or, is it an environment issue (I have a couple of different situations for this)</p> <p>One of the main things I see is the difference in handling of the module versions. It doesn't hamper the performance at all, but those modules that don't have their versions formatted as a string instead of an integer don't look quite right in the module administration page.</p> <p>I'll poke around some the modules and see how they work with the latest beta candidate.</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: Which of our publishing modules (news, articles, etc) support group-level permissions?

<p>I'm not sure why the permissions handling didn't get added to IPF - it was part of the SmartFactory modules. In fact, in SmartSection, you could even set preview options for some groups and full read permissions for others.</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Any 1.3.11 beta2 feedback?

Hi, I wonder if any of you have comments on the release of 1.3.11 beta2 (https://www.impresscms.org/modules/news/article.php?article_id=1004)? I have done some tests, but I reckon it will be more representative if I ask for your test results as well before I release the final version.




 Top