Jump to content

Christophe

Members
  • Content Count

    605
  • Joined

  • Last visited

Community Reputation

349 Excellent

2 Followers

About Christophe

  • Rank
    Hero Member
  • Birthday June 20

Profile Information

  • Gender
    Male
  • Location
    Earth

Recent Profile Visitors

8,380 profile views
  1. https://affinity.serif.com/en-gb/supporting-the-creative-community/ + A new 90-day free trial of the Mac and Windows versions of the whole Affinity suite + A 50% discount for those who would rather buy and keep the apps on Mac, Windows PC and iPad + A pledge to engage more than 100 freelance creatives for work, spending the equivalent of our annual commissioning budget in the next three months (more details of this will be announced soon). [Temporary addition: https://www.planethoster.com/en/VPN At the bottom of the page, see prices/month if 1 month, 1 year or 2 years. https://my.planethoster.com/en/world/new?billingcycle=annually&currency=EUR&plan=World A better deal if you take it as a VIP option with a hosting account (servers in Paris and Montreal): Includes all the features of the World Platform™ Free WHOIS Free VPN + LSCache (I haven't tried the VIP option yet.) Several ways to have the hosting (and free domain name) (sometimes a lot) less expensive: https://docs.planethoster.com/guide/facturation/code-promo-rabais-remise-promotion (In French but you can google-translate it if needed. It's worth it.)]
  2. An update soon. It seems that I have found a solution for at least the "add one or more events to a day" part. I have to adjust some php, html, css and other things. Also perhaps to change under which page(s) the template code has to be, under Agenda as it currently is or the pages for the years. The code is still quite short.
  3. In case someone needs it. Part of a PM. "Here is my "test" code(s) (created and tested in a online php tester) : First version before adding the name of the days (part): <?php setlocale(LC_ALL, 'fr_FR'); $year = "2020"; // change with processwire name $months_in_year = range(1, 12); echo "<h2>" . $year . "</h2>"; foreach ($months_in_year as $month) { $month_name = utf8_encode(strftime('%B', mktime(0, 0, 0, $month))); $days_in_month = date( 't', strtotime( $year . '-' . $month ) ); echo "<em>" . $month . "° mois : " . $days_in_month . " jours</em>"; echo "<h3>" . ucwords($month_name) . "</h3>"; foreach (range(1, $days_in_month) as $day) { echo "<p>" . $day . "</p>"; } echo "<hr />"; } Second version: <?php setlocale(LC_TIME, 'fr_FR.utf8','fra'); $year = "2020"; // change with processwire name $months_in_year = range(1, 12); echo "<h2>" . $year . "</h2>"; foreach ($months_in_year as $month) { $month_name = strftime('%B', mktime(0, 0, 0, $month)); $days_in_month = date( 't', strtotime( $year . '-' . $month ) ); echo "<em>" . $month . "° mois : " . $days_in_month . " jours</em>"; echo "<h3>" . ucwords($month_name) . "</h3>"; foreach (range(1, $days_in_month) as $day) { $day_name = strftime('%A', mktime(0, 0, 0, $month, $day, $year)); echo "<p>" . ucwords($day_name) . " " . $day . "</p>"; } echo "<hr />"; } setlocale because "Février" for example had accent encoding issues. Perhaps I won't need it. [ ucwords() OR ucfirst() ] mktime will only work correctly until 2038 apparently but I guess it's ok. (I suppose the Julian system is used by default.) There was also jddayofweek, for instance, but I couldn't quickly make it work so I tried and did the same as with $month_name At the beginning I also tried DateTime: a bit." I'm really not sure how to handle the next steps for the moment. I've had some suggestions. I've been away for some time, not using the computer a lot. I've created the php calendar/agenda part quite recently. It still needs adjustments. I still have to figure out how to add one or several events to a day, etc. And if, for example, I need to have years as pages or not in the admin, or as other fields elsewhere. (I guess at least 2 years should be available (for statistics/an annual report, and the following year). (Then will come the registered users solution(s) later. I still have several steps before.) I've just started now with: Agenda [template agenda] Years [template years] 2020 [template year] Events [template events] Event 1 [template event] Event 2 [template event] But I'm just beginning again. Perhaps it will change soon. I don't really know how I managed to create the calendar/agenda part. Just with some suggestions, searches on the Internet and trials and errors. 🙂
  4. Hi, I help sometimes a small non-profit organization by, among other things, improving the website that I created for them. Recently they asked me if I could add a functionality. So, they would like a kind of agenda/calendar. The editor(s) would enter the events, and the members of the association/organization would connect to the website, only to be able to add their names to the list of persons who would attend the event. They would also be able to remove themselves from the list. Perhaps even the number of persons would be a nice addition, but not obligatory. The list could only appear on hovering or clicking the mouse, it shouldn't necessarily need to be visible from the beginning. It should be visible from the other members connected to the website (on the frontend). Each member should have his/her own account, username and password. Of course their access to the admin should be very limited and secured. I already have some pro modules (even some that I haven't used yet), and I am willing to acquire a new one if it helps. I'm welcoming every suggestion (even though I already have some ideas and will continue researching). Have a very nice weekend!
  5. https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML Another note that might also interest you:
  6. Christophe

    other CMSs

    Just to share an accidental discovery. I've just stumbled upon this website: https://getpublii.com
  7. https://www.litespeedtech.com/products/cache-plugins Where is the ProcessWire LSCache module 😊?
  8. https://scout-app.io http://livejs.com https://www.sassmeister.com https://www.npmjs.com/package/livereload (?) https://compass.kkbox.com (?) (I didn't include some that are only free, and not open source.)
  9. https://github.com/oklai/koala "The project has been stopped!! The development method has changed a lot be from the project start time to now, and there are many better alternatives in the open source community. So I think the projet is outdated, and decided to stop maintenance. Sorry about for this. If someone is still willing to continue maintenance, welcome to create a new project, it will be the best way." Too bad!
  10. [ After a quick search for Koala (that I already knew but haven't used for the moment) with things that you are looking for. ] Listed in the video description: https://code.visualstudio.com http://koala-app.com https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass The video is not in English, but apparently it is understandable. You can surely find other videos on the subject.
  11. I've just noticed this: https://devilbox.readthedocs.io/en/latest/examples/setup-processwire.html The ProcessWire recipe is missing here: https://docs.lando.dev/config/recipes.html#supported-recipes
  12. Has anyone tried https://lando.dev? I've just found it. (I need MariaDB and not MySQL.) *** But the hardware requirements are quite high... https://docs.lando.dev/basics/installation.html#hardware-requirements *** And are some of you happy with Devilbox or Laravel Homestead, for example? (Preferably on Linux.) Are they too complex to install or use, or do they take up too much space, for instance? Is it worth it? What are your opinions? Thanks in advance! NB: For the last projects, I developed online. I will normally soon invest in a new computer for several reasons, one of them - not the most important - being the space left.
  13. https://www.fieggen.com/shoelace/index.htm Website I bookmarked some time ago.
  14. https://affinityspotlight.com/article/comedy-wildlife-photography-awards-2019-the-best-entries-so-far/
×
×
  • Create New...