Re: MVC architecture, routers and other stuff

<p>I have made some progress with 2.0 and routing -> https://github.com/MekDrop/impresscms/tree/use-league-router . However right now I haven't figure out how to register routes for modules. But I hope somehow I will solve this and than this functionality will come to icms.</p>

Topic | Forum


VS Code

<p>Just a short note to say if you haven't tried the VS Code editor yet, it's well worth the effort.</p>

<p>I have always used Netbeans up until recently. It's ok and does the job, but it has a few issues that never seem to get fixed like needing to force FTP transfers and popping up huge tooltips over the line I'm trying to work on. And the interface kind of hurts my eyes (well, being Java based you kind of expect that).</p>

<p>I don't like changing editors but I eventually got annoyed enough to give VS Code a go and wow is it good. It's not that it does anything new, it just gets so many of the little things right that you actually end up getting more work done, because you aren't fighting the editor.</p>

Topic | Forum


Re: 2 languages at 100% on softaculous

<p>Thank you for these translations, I think those will be used in a translation banner I'll setup soon. I'd like to see if it's feasible to make it detect the location and the language of the browser, and show the relevant banner text</p>



Re: 2 languages at 100% on softaculous

<p>that's currently a work in progress, which I should document a bit better. For the wrong reasons, I chose country-specific languages in Transifex to translate into, so the base language is UK English (en-GB) instead of plain english (en). I've created the 'plain' languages, but Transifex doesn't just let you change a language, you have to export everything and import it into the new language. That's the reason why there are multiple double languages, where one is at 0%, and the other more filled up than that.</p>

<p>I've created the targets already, but haven't started the transfer progress, that's something I plan this week normally, if there are no technical hurdles that pop up.</p>



Re: 2 languages at 100% on softaculous

<p>Just curious as to how Transifex lists languages - when I view all the languages, English shows down at the bottom of the list, with 0% translated. There is French (France) and French, Spanish (Spain) and Spain, Dutch (Netherlands) and Dutch, Italian (Italy) and Italy, German (Germany) and German. Most of the languages listed without countries are at 0% translated, while those with countries show progress.</p> <p>Is it how we're set up, or something Transifex has done or changed? Might we benefit from removing some or all of those 'duplicates'</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: 2 languages at 100% on softaculous

<p>Here's my contribution - "Translate ImpressCMS" in multiple languages, from Google Translater</p> <p><strong>Italian</strong>: <em>Traduci ImpressCMS</em><br /> <strong>Spanish</strong>: <em>Traducir ImpressCMS</em><br /> <strong>Dutch</strong>: <em>Vertaal ImpressCMS</em><br /> <strong>German</strong>: <em>Übersetzen Sie ImpressCMS</em><br /> <strong>Korean</strong>: <em>ImpressCMS 번역</em><br /> <strong>Japanese</strong>: <em>ImpressCMSを翻訳する</em><br /> <strong>Norwegian</strong>: <em>Oversett ImpressCMS</em><br /> <strong>Polish</strong>: <em>Przetłumacz ImpressCMS</em><br /> <strong>Persian</strong>: <em>ترجمه ImpressCMS</em><br /> <strong>Lithuanian</strong>: <em>Versti ImpressCMS</em><br /> <strong>Portuguese</strong>: <em>Traduzir ImpressCMS</em></p> <p>&nbsp;</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: 2 languages at 100% on softaculous

<p>Small update : the German translation for ImpressCMS 1.3 is now complete on Transifex. I'll upload the language pack in the next few days.</p>

<p>Anyone who can help getting the last Spanish and Italian texts up and running would be a great help.</p>



Happy Easter!

Easter holidays, so work has been a bit more slow. I did manage to finish the German translation in transifex this evening, I'll upload a complete translation pack tomorrow.

I did start to rework my solution to plugin to the composer library, but I got lost in the complexity of what I'm trying to get. I think I'm aiming too high, certainly for a first version Work continues on that, because it is one of the remaining new funtionalities that needs to go in before we can start looking into producing beta versions of the 2.0 branch - feature complete, but perhaps more bugfixing needed. My new approach is to let the design patterns on the side for the moment, and just get something working first. We can refactor the hell out of it afterwards.

Because nobody understood why we work in the 'retro' branch, and because those reasons date way back, Mekdrop has taken on the task of migrating our working branch for ImpressCMS 2.0 to the 'master' branch.



Re: MVC architecture, routers and other stuff

<p>I have already come across Tom Butler's articles (hard to forget him, with his exuberant hairstyle profile photo <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /> ) and he has some very interesting points, yes. I admit I'm also no rockstar developer in PHP to be able to follow the entire reasoning in 1 go. Some kind of url routing would be interesting to have in ImpressCMS2 (2.0 or a later iteration), for a start.</p>



Re: ImpressCMS swag

<p>I still have the polo shirts we made for CMS Expo in Chicago 6 years ago. We made them a bit on the large-ish side, so they still fit comfortably <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /></p>



MVC architecture, routers and other stuff

<p>I've been looking into the MVC pattern, and came across a programming blog that has some very interesting articles about MVC and a couple of its descendants - MVVM and MVVMC. Also has some cool stuff about how to build a front end controller to handle routing.</p>

<p>https://r.je/</p>

<p>It took me a few reads to get my head around it. I thought I had been doing MVC, but it turns out not in a very strict sense. Anyway, I'm trying to build something using a front controller and the MVVMC pattern, which is basically MVC except the view gets split into two components (a view plus a 'viewmodel') to decouple the view from the model and allow each component to be substituted or re-used. Together with the front end controller/router it gives you a lot of flexibility.</p>

<p>Worth a read if you have time (see the section 'MVC Related Articles').</p>



Re: ImpressCMS swag

<p>Been a long time since I visited that - although I think some of the clothing would no longer fit....</p>



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

<p>I did a similar move more or less a year ago when we migrated the ImpressCMS site from multiple versions to 1.3. Some modules were no longer available in 1.3, so we had to reconfigure everything from scratch, and we also did a few SQL-based custom written migrations.&nbsp;</p>

<p>As far as I know, no module out there has 'import' functionality so you might need to write your converters on your own. Having a framework (à la <a href="http://www.drupal.org/project/migrate">Drupal Migrate</a>) that offers a standard way of doing this would be a major positive point for a future version I believe.</p>

<p>Moving from CBB to iForum is easy : the table structure is the same, and the URL structure is the same. If you move the attachment files into the iForum upload folder, you should be OK.</p>



Re: Working on ImpressCMS - micro-blog

I've installed the Chromium-based Edge browser on my machine, and it works like a charm. I know people will look at me sideways when I say that I didn't have any problem with the Edge that was included in Windows 10, I'm generally not such a plugin user so their initial lack didn't pose a problem to me. The chromium-based Edge feels faster and more responsive, and it remains very much Edge. The fact that there's a Google-sponsored Chromium engine underneath hasn't changed that much.

I mention this because I tested our site (of course) with Chromium Edge, and noticed that Edge now also suffers from ticket #100 in ImpressCMS 1.3. Time to get that sorted out.

David L asked how he could test out or current state of ImpressCMS 2.0, and it turns out that the documentation for that is severely lacking and/or out-of-date. I've given him a short roadmap on how to get a ImpressCMS 2.0 alpha 7 site up and running on his shared hosting, but it's time I wrote some documentation.

I discovered this morning when I was on the train going to Brussels that my work on the composer integration was more or less useless because I was re-inventing the wheel. Composer has a class 'installer' that takes care of most things for me. 

I'm looking into resurrecting the API documentation for 1.3 and 2.0, and I've looked into Fabien Potencier's SAMI to do so. I know, it's been discontinued, but I still have to find a tool that allows me to do a command-line crawl directly in my Github repository. I have some issues with git telling me that my repository is not clean in the 1.3 branches, so I'll need to do some spring cleaning before that can be published.



Working on ImpressCMS - micro-blog

Hi,

I'm starting this thread to give you an idea about what I'm currently working on, without needing to fire up another module or another external service to do so. No guarantees about the frequency though.

No guarantees about the content either, except that it will be ImpressCMS-related, but I might ot limit my contributions here to pure development aspects.



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

<p>Key modules</p> <ul> <li>News (original InstantZero module)</li> <li>Forum (CBB vintage)</li> </ul> <p>I do use group permissions for news categories - not everyone can see every category of news. The same is true of the forum, as well. Being able to assign permissions based on group and category is pretty crucial in a lot of sites, IMO.</p> <p>Modules that were built on the newer code base of ImpressCMS don't seem to have this feature - or am I wrong? I am also wondering about migrating data - do the modules account for the move from old code base to the new code base, or will I be working out my own data migration?</p> <p>Also - has anyone gone from 1.2.x to the latest 1.3.x? Are there midpoints that are best handled in steps?</p>

Steve Twitter: @skenow Facebook: Steve Kenow



Re: attachments in the forum are now ... attached

<p>Thanks for finding the issue and finding the fix!</p> <p>Well done!</p>

Steve Twitter: @skenow Facebook: Steve Kenow



2 languages at 100% on softaculous

<p>I've started looking at the translations again. ImpressCMS prides itself as a multilingual CMS, that means at least that people can expect to find the user interface in their native tongue. We still have some improvements there <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /></p>

<p>At the <a href="https://www.transifex.com/ImpressCMS/impresscms/dashboard/">current state of things</a>, 3 languages are fully complete : English (duh), French and Dutch. Several others are nearing 100%, such as <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#ko">Korean</a>, <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#es_ES">Spanish</a>, <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#de_DE">German </a>and <a href="https://www.transifex.com/ImpressCMS/impresscms/translate/#it_IT">Italian</a>. With a small amount of effort, we could get to 7 languages 100% complete in the near future.</p>

<p>If you are interested to participate in these languages, or know someone who is, <a href="https://www.transifex.com/ImpressCMS/teams/">Transifex </a>is the site to go to. If you want to improve or add another language, please don't hesitate and let me know, either here or on Transifex</p>



attachments in the forum are now ... attached

<p>I noticed when looking for<a href="https://www.impresscms.org/modules/iforum/viewtopic.php?topic_id=4548&forum=55&post_id=40891#forumpost40891"> the autocomplete code</a> from some time ago, that the link went into the void. At first, I was afraid that the files didn't get migrated during one of the multiple moves we did from Inbox > Siteground > Other siteground account > unified site.</p>

<p>Nothing so dramatic: as it happens we migrated from newbb to iforum as forum module on that last account, and the files were still in the newbb upload folder.</p>

<p>I moved the files, and the links I tested worked out for now. I hope this makes finding stuff on the forum easier now.</p>

<p>Cheers!</p>



Re: ImpressCMS swag

<p>I saw the password resets, thank you for that.&nbsp;</p>

<p>So, if I understand it correctly, all we need now is some kick-ass designs to populate the shop <img src="https://www.impresscms.org/uploads/smil3dbd4d6422f04.gif" alt="" /></p>