Jump to content

Macrura

PW-Moderators
  • Posts

    2,780
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Macrura

  1. I had a client who wanted to have an app, but were not planning on building a native app (I think they were planning on a basic wrapper app that connected to a PW json feed). Once i finally hammered down the precise requirements, it turned out there was an assumption that their app would be able to do push notifications to the home screen. My research led me to the conclusion that only native apps can do push notifications to the homescreen, and the app idea was dropped...
  2. Ace Extended in LaTeX mode is yr friend but you’ll need to figure out a textformatter for rendering
  3. thanks, yes i’ll make that change
  4. latest update fixes brands loading, and works in my limited testing (i am able to see all 992 icons in the icon picker.
  5. thanks for generating that list! i'm wondering why though the pro is supposed to have 2,316 icons, but this list has 992; and there should be 929 in the new v5 free; but at least this is a lot more than the core/v4 icons.. Will get back about the hooking into form render to replace inputfield...
  6. I'm having troubles adding the new icons to the inputfieldIcon; that inputfield reads the icon classes from a separate file during construct; the options are stored in a protected var that the inputfield uses for rendering the icon select, and also for getting/setting; this means we can't just hook into render, because even if hooking into render and replace, when you save, it won't recognize the value from the list and then it will knock out the value of the option to blank; I think the only sensible way to do this is to include a copy of the InputfieldIcon with the module and then provide instructions to go into the inputfield settings and tell it to use that version. Hopefully this module will not be modified in the core very often... and another problem, getting the list of all the font classes for the new list...
  7. Yes thanks for catching that, it is fixed now. That's actually not the case, but looks like the latest version wasn't updated to the modules dir; i just upped the version and committed the changes to GH. the module checks for the core version and then only depends on JquerySelectize if less than 3.0.67 Yeah, i have no idea how that happened; Will try and fix/change at some point.. The module doesn't effect the listing of icons that is generated by the core; it only replaces the icons; I only use pro icons currently on my dashboard module; but it would be nice to be able to use the icons for fields and templates; i can try and research how to hook in and change those lists.
  8. yeah they changed a lot of things since the module was first made; it's been updated to support the latest new folder structure, you only need to now copy the css, js, sprites and webfonts folders from the repo into the vendor folder. it should work then. not sue about the core icon preview, have not tested it, since i always use selectize.js for the that (and it does work)
  9. Macrura

    Share buttons

    if you want to see the MSSB in action, these pages all use it: http://www.rogershapirofund.org/blog/ https://www.elliottcarter.com/news/hommage-a-elliott-carter-ensemble-intercontemporain/ https://www.williamanderson.us/blog/manufacturing-innocence/
  10. everything is working fine here on Mailgun sends from processwire... Also, i am not seeing any cURL error related issues on the github repo that you refer to. Can you link directly to such an issue?
  11. I don't know of any repeatable fieldtype in FormBuilder; but since i needed it, i just used javascript to make the repeatable fields on the form, and then i concatenate the values into 1 hidden field on submit. On this field the date and the event artists are repeatable. https://www.elliottcarter.com/submit-a-performance/ so you wouldn't really be able to do it out of the box, but you could have the editors create all of the forms, and then go through them and add the repeatable stuff using the FB js file.
  12. i'm just doing this, basically a callback to isotope's layoutComplete: $grid.isotope('on', 'layoutComplete', function() { $('.unveil img').trigger('unveil'); });
  13. sorry meant module config data be sure to look at the api docs also make sure to have tracy debygger installed
  14. If you are creating an input within a module, then you add the options via the API. You get the data that is stored by the module using the getModuleInfo() method and then you would see what the module's settings are. If you look at the Settings Factory module, you'll see how you can use many different inputfields, and how the module provides the stored data back as an array or object.
  15. you could use like mini bb edit tags, e.g. [span] and [/span] so they don't get escaped; then you can replace those on output..
  16. i have at least 1 site using jquery unveil.js in combo with isotope and works perfectly
  17. If i were faced with your issue, i would change the structure of the pages and all of that, it doesn't make sense to me; i guess it must make complete sense to someone else, whoever set it up that way, but obviously the module author(s) never accounted for this sort of setup; You can also just roll your own RSS feed, then you don't need to be straddled with module interactions; it's not that hard to just make your own RSS class that takes into account any arbitrary structure and outputs it how you want; you could also just extend the module itself and modify the Module Class to a new one, and work from there until it works...
  18. if you don't want to add the textformatter to the field, you can also do something like this.. $markdown = $this->wire('modules')->get("TextformatterMarkdownExtra"); $htmlVersion = $markdown->markdown($page->textarea_field,2);
  19. yeah i also want to thank @flydev for the awesome work on this, massively appreciated!
  20. it looks like a typical recursion error – it is possible something was wrong with that version, or a module incompatibility. Did you try upgrading to the latest dev? If not, do you have TracyDebugger installed and Debug mode on? You might need to try disabling some modules one by one to see if you can narrow it down..
  21. no, it shouldn't be that way, because item will always return true if the country has states. you are even echoing an opening parenthesis before checking to see what if anything is selected on the page itself. the logic needs to be to check both if the country has states AND if there are states selected on the page; you don't even need to use has_parent, because if you are using dependent selects that has already taken care of filtering the selectable options by the country select field.
  22. well, it's not an error, it is a warning. You could ignore it (?) Alternately - did you already enable DEBUG mode, install TracyDebugger? that warning may be coming from this file: wire/modules/Process/ProcessField/ProcessField.module but i don't know why that file would be in play upon login, unless you have a module or some hook somewhere doing something.
  23. $item is the page object for the country, so will return true on your if statement, even if no states are selected.
×
×
  • Create New...