Jump to content

olafgleba

Members
  • Posts

    129
  • Joined

  • Last visited

  • Days Won

    1

olafgleba last won the day on May 19 2022

olafgleba had the most liked content!

Profile Information

  • Location
    Cologne, Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

olafgleba's Achievements

Sr. Member

Sr. Member (5/6)

112

Reputation

  1. Hi, i have written a little helper script to delete orphaned page folders and want to share it. Any suggestions, where to put it? I am not sure... greets Olaf
  2. Hi @markus-th, brilliant! Thanks for that. Want to give you a first rough feedback: All works flawlessly,- as long as i use official site profiles. Using my own site profiles still causes trouble though. But after evaluation it probably has nothing to do with your kickstart.php, but the combination of PW version, database version, PHP Extensions a.s.o. of my current environment (mysql 5.7.44, PHP 8.4.12). 1. If i use the upload option for a site-profile.zip, it fails and giving me an error. When i use the URL option, all is fine, at least at this point. 2. In the next step, strangely some tables (like `pages`, `modules`) are not created, as the install.php of the site-profile is executed. Although the file includes the creation instructions. I will update this post, when i get this running. Maybe there is something to consider what might help others.
  3. Hi, very nice. Thanks for sharing! What it would make it even more versatile is what @maximus mentioned: Being able to choose not only one of the official branches but a premade installation profile (including the database) as base of the installation. So far i achieve something similiar but with noticeably more typing (https://github.com/olafgleba/linda-public).
  4. End of 2025 the relaunch of the Kubota Brabender Technology Website went live. KBT is a global leader in feeding technology and bulk solids handling. The technical production is developed by me, Olaf Gleba. The grafic design is supplied by C&G: Strategische Kommunikation GmbH. Homepage: https://www.kubota-bt.com The site uses a lot of asynchronous calls in several sections. 1. The product search is ajax driven and also preserve entered filter options while browsing the product pages (and all other pages) with session.storage. 2. Because there are many global partners and locations, it is neccessary to allow to narrow down the selection for proper contacts. 3. The page media holds all available downloads and media content. This includes magazines, videos, terms of contract and works standard specifications. The videos are implemented with help of the HTML Dialog Element. Work Standards documents are supplied/collected from one source (product page) to avoid duplication. 4. Backend: As most of the time, i provided content modules that fits the client needs. This and that: PrivacyWire (@joshua) as CCM (just a few cookies to handle Matomo and external movie content) Uses the SearchEngine Module (@teppo) to handle (multilanguage) site search Wire Mail Smtp (@horst)to deliver automated e-mails Heavy use of Fieldtype AssistedURL (Fork by @adrian) to provide language dependend, local file linking (fieldname_[de|en] approach) Distribution of concatenate/minified css and javascript is cachebusted (happens within my developement environment,- no modules (like AIOM etc.) involved). The site uses a bunch of modules provided by the ProFields Package (for example Repeater Matrix and Table Fieldtypes).
      • 11
      • Like
      • Thanks
  5. Hi @Sergio, i fully agree, this is tough to achieve. Because of the exceptions. As far as i am told joomla for example supposed to handle this a bit more easy. However they do it, i do not want to use Joomla anyway. Finally i wrote a little script which helps me to swap content. And - important for me - it includes most of the available multilingual field types (including Repeater and RepeaterMatrix Fields). For my current project (which triggered the posting) this means i got this default language swapping thing ready in less than 5 hours. Instead of several days. Maybe this is also helpful for others... https://gist.github.com/olafgleba/1e1c33d8ad3fc22961dfba33a6ee2f36
  6. Hi @monollonom, thank you for posting the thread. Editing the language section is the more easy part when changing the default language. If you have plenty of multilingual content, then it gets hard eventually. Therefore, having such a good starting point thanks to @gebeer , e.g. his php script to swap content of language tabs,- this whatever makes it worth the effort. I mostly work on multilingual sites/projects, so this affects me regularly,- its a pity PW doesn't handle this more smoothly. Like other CMF do.
  7. Hi @Gideon So, thanks, yes, i tried that and it works. Still it feels a bit awkward linking to the main homepage address like https://foo.bar becoming https://foo.bar/en/ in the browser. You lose hierarchy as there are only language segments then. cheers, Olaf
  8. Hi, there is a (not so small) company website. On launch the default website language was adapted to german ("/"),- with english ("/en/") and chinese ("/zh/") as additions. After merging with another company, the default website language now has to be english ("/") and the other languages as additions ("/de/", "/zh/"). There are several valuable posts about how to change the default language when set up a installation. But unfortunately i can't find any approach to change the default language on existing multilingual sites. Which is not uncommon practice, i suppose. Am i right,- still the only way/approach in PW to handle this is rebuilding the whole page content from scratch? Hard to explain to clients... cheers Olaf
  9. @virtualgadjo, thx for the helpfull answers. Yes, it all leads to do it with a hook. I just wondered i maybe missed something i overlook. So, hook, here we go... Cheers, Olaf
  10. Hi @virtualgadjo, thx, yes, drag and drop is possible. I meant something like sorting the files alphabetically for example. Or by name etc. Just like you do it template based in the page tree. have a nice day too 😉
  11. Hi, hm, i have the faint idea i did it sometime ago, but can't remember now i am afraid: I have a page with only one field of type 'file'. Do i have the ability to change the sorting of those files within the backend view? Thx in advance, Olaf
  12. Hi @adrian, while your module is a real pleasure to work with, i wonder if i miss something, as "Copy Field Content to other Page" seems not to work with fields of type "files". The references are copied, but the files itself not. Not sure if this is intended or maybe a bug? Cheers Olaf
  13. Thanks, @matjazp. I need to get myself looking at the github issues more regularly.
  14. Hi, since i updated my local PHP to 8.4.13 (from 8.2), all PW installations are quirky. Regardless what 3.0.x.x.x PW versions. On load (Backend/Frontend): Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in [...]/wire/core/WireSessionHandler.php on line 51 Followed then by: PHP Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in [...]/app/wire/core/WireSessionHandler.php on line 51 Although it is a deprecation/warning, it has effect on the behavior within the Backend (page tree doesn't load etc.) when debug is on. I also tried to upgrade a local PW installation (v. 3.0.242) to the latest master/dev, the folders and files are created (wire, index.php etc.). But loading the backend or frontend both gives completely blank page immediately. Fortunately the rollback works. I did a search, but found not much on this topic, i am afraid. Emptied all caches, compiled files multiple times. Does anyone have a clue what to do or where to look at? Thx in advance Olaf
  15. Hi @BrendonKoz, brilliant, thanks a lot! "Truncation" and such,- i missed to use those terms. Probably therefore i got no results while searching the forum...
×
×
  • Create New...