Jump to content

Macrura

PW-Moderators
  • Posts

    2,756
  • Joined

  • Last visited

  • Days Won

    40

Posts posted by Macrura

  1. New showcase entry, for Aaron Copland, composer.

    https://www.aaroncopland.com/

    371508568_Aaron_Copland__composer_Official_Site-6.thumb.jpg.b66cbb2863558c3fd26f2478825fcbeb.jpg

    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.

     

    • Like 19
  2. @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..

  3. 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.

  4. 21 hours ago, Klenkes said:

    $pages->get is supposed to get 1 page only, and you can't use template as a selector.

    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.

  5. 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.

  6. 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;

  7. @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...

    • Like 1
  8. Ok thanks for the clue, so i have checked the Field List and Values accordion, which I hadn't used before, and i see that the table is corrupted.

    There is a column outputting a RuntimeMarkup field which contains an admin data table. I have checked the HTML on that and it is all valid; But the existence of that table in the unformatted column of the RuntimeMarkup field's row is breaking the table and causing the next cell to contain the rest of the table inside it.

    Now looking at the code in the bottom of the source view, i can see that my admin table markup is outputting table tags which are presumably breaking the panel's table markup. I wonder if there is any way to encode that to prevent this... I tried enabling/disabling the $table->setEncodeEntities(true/false) but did not fix the issue.

    thanks!

     

    • Like 1
  9. I'm having an issue with the Request Info panel randomly not showing various info at the bottom. Here are 2 pages, next to each other – one shows the edit pencil, the other doesn't; this has been happening on several sites.

    without.jpg.09c378993c04f38ee53fbae32eef86aa.jpg

    with.jpg.48ccbf03cf4149398570227a2a18afd1.jpg

    • Like 1
  10. AFAIK the module does not provide any class to convert array to YAML. the purpose of the module is an inputfield, for YAML formatted text, and has options for output into various formats, but it does not provide any interface for Array to YAML. If you convert your array to JSON, you may be able to find an online converted that can generate YAML from JSON...

  11. @neophron

    (1) Are you just wanting to output your own player on a page, or use the Textformatter? The Textformatter is for putting in shortcodes into Textarea fields, like Body.

    (2) The code you posted would only work if you are doing delayed output using a $content var, otherwise if your templates are direct output, you have to echo the content, something like:

    <?php
        $options = [
          'type' => 'bar-ui',
          'skin' => 'gradient-fat',
        ];
      
        foreach($page->audio_file as $track) {
          echo $sm2->player($track, $options);
      }

    (3) if you want to use the text field to output an audio player based on a shortcode, then you have to echo the textfield, with the Textformatter applied, like:

    echo $page->myTextField;

     

    • Like 1
    • Thanks 1
  12. Just a heads up, I'm getting this warning on PHP 7.3.6 :

    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/zzzzzz/dev/site/assets/cache/FileCompiler/site/modules/PageImageManipulator/ImageManipulator02.class.php on line 525 

     

  13. But what if you (like @Schwab) want a form to not use 3rd party module?

    On 6/2/2019 at 8:38 AM, Schwab said:

    I use MailGun for the ProMailer Module, but have a few instances on the site, where mails are sent through the API. For instance the contact form now is using mailgun as well, but I don't want that. Is there an option to set the mailer to the default wireMail?

    If you were coding the contact from then yes, you'd be able to bypass the 3rd party module, but else you have no control over modules that always call the 3rd party WM module; And what if you have a few 3rd party modules installed and want to have control over which one is used and when, not using the API....

  14. @Mikie, thanks for the report, fixed now in next version.

    In the meantime if you want this fixes, change line 31 in InputfieldSelectize.js from what it is now to this:

    $(".AdminThemeUikit .InputfieldSelectize select").removeClass('uk-select uk-form-small uk-form-large');

     

    • Like 1
×
×
  • Create New...