ImpressCMS site improvements for mobile

<p>Hi,&nbsp;</p>

<p>I've come to realize that the current theme has some issues for mobile admin users. The user menu block is not visible for mobile devices. The theme will be updated to improve on that.&nbsp;</p>

<p>If you have other suggestions to improve the mobile experience, let me know in the thread.&nbsp;</p>

Topic | Forum


Happy 2020!

<p>As the year 2019 runs to its end, I would like to thank you all for the contributions the last year. Our contributions have been up year-on-year, resulting in the 1.4 release, which is a nice achievement even though it isn't the long-awaited v2.&nbsp;</p> <p>The work on v2 has advanced, and we now have a quite clear view of the steps that still need to be taken to get this major mile-stone out in the field. I feel that the momentum for v2 has improved, even though my availability has had some periods where it wasn't what I wished it to be. The fact that my availibility can have such an impact on the advancement of the project is a clear wakeup call that we need to expand the team.&nbsp;</p> <p>There are interesting challenges to look forward to in the next year, such as making v2 the best version possible without getting down into a feature creep spiral, finalizing a new base theme, rethinking how editors are handled, updating our installer. This will give us the opportunity to investigate in very diverse parts of ImpressCMS how we can improve or modernize&nbsp;what is already there, and add new functionality that improves the usefulness to our users.</p> <p>All nice things to look forward to, but in the meantime I wish you happy celebrations the way you prefer (wild parties, amongst friends, with&nbsp;family or loved ones) and a happy 2020!</p>

Topic | Forum


Happy Thanksgiving! (a.k.a. The Day Before Black Friday)

<p>"Thank you!" 2 of the most important words in any language. Say them often, say them out loud, say them like you mean it. Here's how the observation of this day came into being in the U.S.</p> <blockquote> <p>Washington, D.C.<br /> October 3, 1863</p> <p>By the President of the United States of America.</p> <p>A Proclamation.</p> <p>The year that is drawing towards its close, has been filled with the blessings of fruitful fields and healthful skies. To these bounties, which are so constantly enjoyed that we are prone to forget the source from which they come, others have been added, which are of so extraordinary a nature, that they cannot fail to penetrate and soften even the heart which is habitually insensible to the ever watchful providence of Almighty God. In the midst of a civil war of unequalled magnitude and severity, which has sometimes seemed to foreign States to invite and to provoke their aggression, peace has been preserved with all nations, order has been maintained, the laws have been respected and obeyed, and harmony has prevailed everywhere except in the theatre of military conflict; while that theatre has been greatly contracted by the advancing armies and navies of the Union. Needful diversions of wealth and of strength from the fields of peaceful industry to the national defence, have not arrested the plough, the shuttle or the ship; the axe has enlarged the borders of our settlements, and the mines, as well of iron and coal as of the precious metals, have yielded even more abundantly than heretofore. Population has steadily increased, notwithstanding the waste that has been made in the camp, the siege and the battle-field; and the country, rejoicing in the consciousness of augmented strength and vigor, is permitted to expect continuance of years with large increase of freedom. No human counsel hath devised nor hath any mortal hand worked out these great things. They are the gracious gifts of the Most High God, who, while dealing with us in anger for our sins, hath nevertheless remembered mercy. It has seemed to me fit and proper that they should be solemnly, reverently and gratefully acknowledged as with one heart and one voice by the whole American People. I do therefore invite my fellow citizens in every part of the United States, and also those who are at sea and those who are sojourning in foreign lands, to set apart and observe the last Thursday of November next, as a day of Thanksgiving and Praise to our beneficent Father who dwelleth in the Heavens. And I recommend to them that while offering up the ascriptions justly due to Him for such singular deliverances and blessings, they do also, with humble penitence for our national perverseness and disobedience, commend to His tender care all those who have become widows, orphans, mourners or sufferers in the lamentable civil strife in which we are unavoidably engaged, and fervently implore the interposition of the Almighty Hand to heal the wounds of the nation and to restore it as soon as may be consistent with the Divine purposes to the full enjoyment of peace, harmony, tranquillity and Union.</p> <p>In testimony whereof, I have hereunto set my hand and caused the Seal of the United States to be affixed.</p> <p>Done at the City of Washington, this Third day of October, in the year of our Lord one thousand eight hundred and sixty-three, and of the Independence of the United States the Eighty-eighth.</p> <p>By the President: Abraham Lincoln</p> <p>William H. Seward,<br /> Secretary of State</p> </blockquote> <p>Enjoy your day, everyone! Be safe, be happy - and most of all - "Thank you!"</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: icmsOnDemandPreload - what is it and how does it work?

<p>I tested this in ImpressCMS 1.4.0 (the module-specific code by marcan) and it works, but the filename doesn't need to have the '.php' extension at the end.</p>



github sponsors beta enrollment

<p>Hi,</p>

<p>some time ago I expressed my interest for the <a href="https://github.com/sponsors">Github Sponsors program</a>, and I received a message yesterday to tell me I was accepted in the beta.</p>

<p>At the moment it looks like the sponsors program is aimed exclusively at individual github accounts, and not at organisations. This means people will need to sponsor a single individual.</p>

<p>I haven't had much opportunity to look into it in detail, I will comment in here once I have more information and background.</p>

<p>Did you enroll in the program, or do you use other types of systems/sites to partially fund your development work? I'd be interested to hear about them.</p>



Refactoring the system module templates

During the period that 1.4 is being finalised, I came across the Bulma CSS framework and i wanted to try it to see if it would be a good fit to develop a new, more modern, admin theme. The work is not yet done, but during that initial search I identified that in fact most of hte templates for the ACP part of the system module simply didn't work. It is possible to change the general appearance of your ACP with a theme_admin.html file, but the specific contents of the different ACP screens are locked.

Bummer.

The reasons were two-fold :

  • in many places, the template file was hardcoded to the one in the module, and not the one in the theme
  • where the theme template was referenced, the reference was using a path structure in the identifier, and that didn't work with the templating engine (smarty 2 at this moment still).

As a result, there are 2 PR in the 1.4.0 beta release that fix this : I changed the location and the name of the templates in the system module, in such a way that all the templates, ACP or user side, all live in the same folder. I also adapted the code to reference the theme template.

During that work, I came to realise that there are still some parts of the system module ACP that are hard-coding HTML (and some ugly HTML constructions, at that). I'm currently trying to refactor the avatar section into clean code and a separate template. That shouldn't keep a new version from being published, because it will not introduce new functionalities or fix bugs, but it's a small step in cleaning up the system module.



Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

<p>thanks for the update, I have updated the information on the github page :&nbsp;<a href="https://github.com/iForumModule/iforum/blob/master/README.md">https://github.com/iForumModule/iforum/blob/master/README.md</a></p>

<p>One of these days I should test iForum thoroughly on PHP7 and release the 2.0 final</p>



Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

<p>Ran some tests this morning - iForum 2.0 requires ImpressCMS 1.3+ and not 1.2+ as the readme states. I'll have to do this in stages</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

<p>I'm thinking of updating the imBuilding templates to make them compatible with 1.4. While doing that, adding a skeleton to support fine-grained permissions might be a worthwile improvement.</p>



Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

<p>I've been reexamining my choice of having separate modules for news (time sensitive posts), articles (long term posts), and blogs (mostly point-of-view posts, that could be short- or long-term posts) and haven't done much in the way of documenting a path forward, especially for modules that don't have a current compliant version.</p> <p>The forum migration should be workable - iForum has the permissions structure I'm looking to maintain and works in ImpressCMS 1.2+. We also know it works on 1.3.</p> <p>News will probably end up being blog posts, and articles will probably end up being wiki pages. I haven't fully decided, yetl</p> <p>&nbsp;</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: A project I've been putting off - ICMS 1.2.x to 1.3.x

<p>Hi @skenow , any news on this one? If the <a href="https://www.impresscms.org/modules/simplywiki/index.php?page=Upgrade+from+ImpressCMS+1.2">page on the wiki</a> needs updating, feel free to do so based on your experience</p>



Re: New admin theme - no change

<p>I think I found the reason. When you look at the code in the admin sections, they all use hardcoded paths to the system module. Not all of the pages are in <a href="https://github.com/ImpressCMS/impresscms/blob/branches/impresscms_1.4/htdocs/modules/system/icms_version.php">the icms_version.php file</a> as templates.</p>

<p>For example, when I take the <a href="https://github.com/ImpressCMS/impresscms/blob/branches/impresscms_1.4/htdocs/modules/system/admin/customtag/main.php">/htdocs/modules/system/admin/customtags/main.php</a> file, and change the last line that says</p>

<p>$icmsAdminTpl->display(ICMS_MODULES_PATH . "/system/templates/admin/customtag/system_adm_customtag.html");</p>

<p>and change it to&nbsp;</p>

<p>$icmsAdminTpl->display("db:/admin/customtag/system_adm_customtag.html");</p>

<p>I get a nice white section where the custom tag manager used to be. I think it is something related with the paths in the filename, but I'm still looking into that to make sure.</p>



Re: Module testing for ImpressCMS 1.4/PHP7

<p>I've been working on Protector and have it updated to work with PHP7 - installation works and it is activated if the permissions are correct on /plugins/preloads/.</p> <p>Similarly, a new release of SimplyWiki is in the final stages of testing, and working in ImpressCMS 1.3+</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: New admin theme - no change

<p>as a matter of fact, I have the base theme template working, so the admin control panel renders in the new system. It's the system module that I have issues with because at the moment I have this kind of Frankenstein combination of a mobile-first responsive shell, and a nineties-inspired table-based interior.</p>



Re: New admin theme - no change

<p>There are 2 theme selectors - 1 for the user side and 1 for the admin side. To skin the admin area, have a look at libraries/icms/view/theme/Factory.php and the method getAdminThemesList(). There is where the override is set for the admin area. The core looks for the overrides in either modules/system/themes/ or themes/<your theme>/theme_admin.html</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Content system module 1.2.2 : OK

<p>I quickly tested the content system module on PHP7, and I needed to make a small fix, so that will result in 1.2.2 in the following hours. But the content module is ok.</p>



Re: New admin theme - no change

<p>As a matter of fact, similar changes were done by @debianus in the preparations for the 2.0 branch. I'll have a look there to see if I can spot a change that should be backported to 1.4</p>



New admin theme - no change

<p>Hi,</p>

<p>I'm working on a new admin theme that should be clean and very light based on bulma (https://bulma.io). I was hoping to include it with ImpressCMS 1.4 as a responsive, modern alternative admin theme.</p>

<p>I have the admin section itself working more or less (always a few details that crop up from time to time) but I seem to hit a blank when I adapt the template files for the different pages in the system module. When I change the template files in the module itself, I get the results I want, but when I update the correct files in the theme (like I do with all other template files), nothing happens. Is the 1.4 system module not ready to be skinned by a theme?</p>



Re: Working on ImpressCMS - micro-blog

I just returned from Laracon EU in Amsterdam after 2 days of inspirational talks and exchanges with members from the Laravel community. Several talks in the unconference caught my attention: How did they organize in Github to manage ideas, development and bugs, and another one was about how to take on a legacy program and move it over to Laravel.

Although one of my projects in the near future will be to work on a laravel-based instance of ImpressCMS, something more directly actionable came from the talk by fellow-countryman Dries Vints, who works at Laravel. In order to keep focused, they have an entry repository in Github where ideas are posted, and where discussion around those ideas is done. From time to time, they go over these ideas and decide to implement some of them.

That means that their base repository only contains tickets that are ready to be worked on, and the list isn't 'polluted' by wild discussions that go nowhere.

As a result, I created a new repository this morning for ideas (https://www.github.com/impresscms/ideas/issues), and I am currently transferring as many tickets that aren't yet fully worked out towards that repository.



Module testing for ImpressCMS 1.4/PHP7

<p>Hi,</p>

<p>for ImpressCMS 1.4, the second alpha release should be feature complete, we're just waiting for the transformation of the protector module in order to start with beta releases. That means that it is possible in the meantime to begin testing the compatibility of existing modules with this new version of ImpressCMS and PHP.</p>

<p>Modules that I will be checking in the next few days :</p>

<ul>
<li>tools</li>
<li>sprockets</li>
<li>news</li>
<li>billboard</li>
<li>iforum</li>
</ul>

<p>Feel free to add test results of other modules to this thread.</p>