Jump to content

Macrura

PW-Moderators
  • Posts

    2,778
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Macrura

  1. thanks for the fixes/new stuff! only issue - seems with latest version, it loads Dashboard.css into the whole admin, not just the process...
  2. Macrura

    Aaron Copland

    thanks, will give it a try
  3. Macrura

    Aaron Copland

    possibly the easiest way might be for me to get the skyscrapers demo database and then just build the Datatables version of the demo site, skyscrapers list with all of the instant filtering, and the addition of the rangeslider. I'll see if i can get hold of the data, set it up and put on GH.
  4. thanks @d'Hinnisdaël so i have this working on a site, but i have a question about the shortcuts, how do you make a shortcut to a custom URL, like say a module edit screen, or even an external URL? Also, how did you get the icon for the Profile to not be a bookmark? Lastly, I noticed that I had to put the hooks in ready.php, they weren't working in admin.php for some reason... Also, i think there needs to be a fix for the loading of the module only in admin, may be loading stuff in $config without checking if admin and frontend that use $config->styles might be picking those up (i'm getting errors as i have modules that put css/js into $config only for front end)...
  5. @bernhard, many thanks for trying out the module, and for your suggestions and feedback! I will see about implementing the suggestions, especially linking to the Github and Forum topics for anyone who installs it, so that it is easier to grasp how to use it. I'm also hoping to test out the ImageReference field within this and then post example screenshots showing an even more kitchen sink setup, with images etc. Not directly related to your post, but responding more to the general consensus on where and how to create settings pages: I found this module to be most useful in the past couple of years for things like: - Site Schema for a person or business (the fields basically follow the schema.org items; See screenshots below) - Settings for various custom implementations - e.g. api keys, urls, enable/disable features, etc. -- on one site we use this to enable the site manager to choose which comment system to use (Disqus, Facebook etc), and then put in various settings if using Disqus (user id etc) - Theme settings, like you might find on a WordPress theme, stuff like colors, what type of global footer to use, logo selections (using page refs), site title, slogan. It is also a good way to have settings for any custom code you are doing without having to write a module...
  6. Macrura

    Aaron Copland

    sure, here is the page table; the fields on any given section are just like title, headline, body, images, page select, section options etc, plus "section type". Some sections have no configuration. The slider section allows the user to select which slides to show; the slides themselves are stored in a central media library, and the settings for any slide are stored with the media item. Sections with images have a field to select the media item to use for the image, or upload an image. For a site like this, every image needs to be cleared and licensed, so the media library provides that functionality, with fields for license type, photopgrapher, sources etc. I'm not using the MicroContexts on this site; that module is now called "Page Field Contexts", and it enables template contexts based on Page Field values. It's a super simple, yet effective module and I'm using it on several sites. https://github.com/outflux3/PageFieldContexts
  7. Macrura

    Aaron Copland

    I wanted to do a search like Ryan has for the PW site, and might switch over to something like that anyway if i can figure it out. The results really should be sorted into separate lists with headings, which makes it the most user friendly. But the ajax/TT search that I implemented was done as a sort of pro-bono sub project, for my own amusement, and as such i could only go so far with it before it taking up too much time... Hoping to work on a replacement for it or improvements during the support months coming up... yes the colors and icons do mean something, but i don't know if you can have a tooltip on an already hovered item, seems like hover inception-ish...
  8. Macrura

    Aaron Copland

    cool, thanks for the info. Expecting to do some maintenance on this starting in January, so I will put this on the roadmap.
  9. Macrura

    Aaron Copland

    thx @bernhard , i'll take a look. The typeahead search is basically "out of the box" typeahead.js; I'd have to look at the documentation to see what the options are for keyboard usage. I don't think is is possible to navigate to a result with the kb. https://twitter.github.io/typeahead.js/examples/ @wbmnfktr, i haven't noticed this issue, but i mostly use FF. Maybe there is an issue report on uikit github..
  10. Macrura

    Aaron Copland

    sure - i can definitely post a tutorial on how that is put together, will post soon..
  11. Macrura

    Aaron Copland

    @3fingers, sure - thanks for the kind words! In terms of a guide/tutorial, do you mean the Twitter Typeahead search on the inputs, or the table/filter on the listing, or the site search, or the advanced music search...(lot of searching going on here)..
  12. Macrura

    Aaron Copland

    Sure! In terms of the visual/layout stuff, this is the first or 2nd site I did with UiKit, switching from mostly using Bootstrap. I ended up using a lot of the built in UiKit features, it really made the experience of doing the front end a lot easier and provided a lot of the inspiration for how stuff was setup. In terms of the api/php, there is a theme module which handles basic theme/template related stuff, and a meta module which handles all of the meta elements in the head (page titles, descriptions, open graph, schemas etc.); It amounts to a frontend api, inspired by the pw api. I can go into further detail soon... In terms of how the site's page content is managed, every content page is using simple PageTable with configurable sections as the page table rows. the most challenging part of this site was the works database and the way the works relate together at various levels... It also took the content editors over a year to proof the works listing. The events were also a lot of work; Those pull in automatically from the publisher's webservice using SOAP...
  13. Macrura

    Aaron Copland

    New showcase entry, for Aaron Copland, composer. https://www.aaroncopland.com/ Features Filterable/Searchable Works Listing with category, publisher, instrument, tag, keyword, or year range filtering Each work has a page showing meta data, as well as related media like audio, images, video, and related events & news. Works are cross related at various levels, as Copland would sometimes use sections of one work in other works Microdata (json-ld) for site, person, works, images, news and some events Ability to display embedded media like Spotify, Youtube/Vimeo, Getty Images, Archive.org etc. Fast autocomplete site & works search Modules used Admin Custom Files AOS Page Field Edit Links Auto Smush Batch Child Editor Custom Inputfield Dependencies Admin Comments* Secure Files Font Awesome Pro Import External Images Autocomplete for CK Editor Inputfield Selectize Simple MDE Visual Page Selector Font Icon Picker Page Field Info Page Table Extra Actions Pages 2 PDF Changelog Dashboards Process Documentation Settings Factory Restrict Tab View Selectize Template & Field Tags Prev/Next Tabs Text Input Awesomplete Get Video Thumbnails Ion Rangeslider Runtime Markup Config Form Inputfield Color Inputfield Field Descriptions Extended Cookie Management Banner ProCache Lister Pro Profields (Table mostly) FormBuilder Various custom modules *Admin Comments is a module in development that enables site admins/editors/managers to add comments to pages in the backend and to optionally notify other site admins/editors/managers. Possibly to be released in directory soon.
  14. Maybe take a look here: https://github.com/processwire/processwire-issues/issues/1041 https://github.com/processwire/processwire-issues/issues/943 You may need to either install a lower version of PHP, or upgrade to the dev branch latest.
  15. @gebeer Thanks for your work on this! I was going to propose that the module installs a page for use with images, but you have found a possibly better solution with the virtual page. And in terms of this new Fieldtype module using json, and the fact that it supports the SettingsFactory is great, and I hope it didn't cause any issues, but thanks again for going to the nth degree and making this work! Lastly, I only worry about the JsonNativeField in that it requires InnoDB.. guess it might be time to make the switch on sites using MyISAM..
  16. cool! Image picking has been an issue with SettingsFactory... so this will be great ?. I'll check it out and do some testing asap!
  17. I have this problem on at least 2 sites, and i knew it was the security rules doing it. We're migrating these off to VPS so hopefully it won't be an issue; In the meantime we just don't use the custom field format for the display of the selected pages, and that fixes the issue because it doesn't use those params.
  18. Not true, this it totally legit: $settings = $pages->get("template=settings"); When the setting template is set to only allow 1 page of that type, it will return the settings page; Similarly for the search page, you can do $search = $pages->get("template=search"); this can be safer than referencing by ID – in most cases the search page is 1000, BUT if a client mistakenly trashes the search page, and you create a new replacement search page, then the template selector ends up being safer.
  19. So for the existing version, I was supposed to be copying over your new module into my repo – should I still be doing this with your current version?
  20. not sure if this was reported already, but i'm unable to upgrade past 1.5.54, upgrading from 1.5.54 => 1.5.57 creates a "Failed to init module" error, SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'last_hit'. Hope this helps, not sure what the issue is.
  21. on version 1.2.0 for some reason my javascript files that are compiled with procache have the path to the js file in the beginning of the compiled file which is breaking all js on the site... This isn't happening with the earlier versions of the module.... /home/user/public_html/site/modules/CronjobDatabaseBackup/CronjobDatabaseBackup.js?v=120-1572797219;
  22. https://modules.processwire.com/modules/jquery-ion-range-slider/ this one also works for more complex range needs
  23. why , i use tracy on all live sites
  24. @teppo the modified version by @nbcommunication is supposed to replace the current version, but I was trying to find time to test it before replacing the code so as to not potentially have users upgrade and then have broken installations. I just came across a problem with the current version, in that one of my business-critical sites suddenly seems to have lost the ability to send attachments using existing 'official' version; so now i need to work on that - time is the only challenge now, but hoping to get to this within a minimum of the next week...
×
×
  • Create New...