-
Posts
2,765 -
Joined
-
Last visited
-
Days Won
40
Everything posted by Macrura
-
One idea would be to clone the core inputfieldPage module and then make the renderReady method hookable. Also we need to ask @ryan if it will be possible to make renderReady hookable like render, or if there is some issue with that; once renderReady is hookable, then this module would be able to use that hook to add the required assets; If you use inputfieldSelectize, you can just make your own edit links on the items, and not need this module.
-
If you use Foxy.io, you can have it post the transaction data back to a URL on your site where you can process that data.
-
there is, but it requires using admin custom files and AdminOnSteroids... see here: the js goes in the ProcessPageEdit.js, which goes inside the /templates/AdminCustomFiles/ folder (change the fieldnames to match your fields) and the css goes ProcessPageEdit.css, same folder
-
Frontend editing and content creation possibilities?
Macrura replied to Enrico's topic in Getting Started
@noelboss I used form template processwire way back before Formbuilder was released, and it worked fine; You can also very easily setup a service page to accept the form's post data and process it any way you want. It's very simple to do this; you can also get some ideas for how to build this: https://processwire.com/talk/topic/3779-use-csrf-in-your-own-forms/ https://processwire.com/talk/topic/2089-create-simple-forms-using-api/ https://processwire.com/talk/topic/14206-contact-form-tutorial/ -
Frontend editing and content creation possibilities?
Macrura replied to Enrico's topic in Getting Started
I would recommend to try the form template processor, it should still work. Formbuilder is also a solid choice. Easy to create forms, and pages from the forms, and also add your own scripts and styles to forms, hook into form process and do advanced things. -
i was having trouble getting this – i had these as attributes underline__type=radios underline__options=None|Top|Bottom|Both underline__description=Please select your border options. but not working, so i tried this: underline underline__type=radios underline__options=None|Top|Bottom|Both underline__description=Please select your border options. and it works; i don't think this is clear from the instructions – would be great if there were more working examples to copy/paste, in the cheatsheet
-
I built a simple cart system using JS + Local Storage; works perfectly and the cart contents last a long time; This is for visitors to collect swatch samples and then be able to request those samples in a form; there is no ecommerce in this case, but once you have the cart, it shouldn't be hard to use that data to interact with a 3rd party payment system.
-
for the most part, the hidden field option i think is best, but does take some logic and page saving; If you do want to have them be virtual, then you can do a hook wire()->addHookProperty('Page(template=product)::rating', function($event) { $product = $event->object; $event->return = $product->points / $product->votes; }); but you will be limited to in-memory selection, since the property is not in the database
-
i'm not following 100%; the module assumes you will want the settings everywhere (front/back). I don't see $this->wire('page') anywhere in the module, can you provide more details? By the way, the flowchart for the (non-process) module is like this: (1) find all admin pages using ProcessSettingsFactory (2) process each settings page and store the settings (these 2 procedures run in the buildFactory() method which runs on init(); and this module is autoload). This procedure might be able to be more optimized, but does ensure that any changes you make to your files (like adding inputfields) are reflected. Maybe checking the last mod date; or maybe a settings lock field on the process that prevents the file from being further processed and wirecache the array from the file;
-
Yes: http://modules.processwire.com/modules/connect-page-fields/
-
Hi @adrian - thanks for testing this - hoping to submit to modules directory soon. In terms of the process page, i think it is better to not install any, because it may cause more confusion, since the name of the process page is important in the setup.. LMK if you have any ideas about that, or do you think it should install a starter settings page, but as an option?
-
@Pixrael - thanks for working on that - it reminds me a little bit of the WordPress Page Builder (the old Visual Composer) which basically did the same thing, providing a visual/graphical interface that manipulated the shortcodes in the textarea.
-
thanks, that's very good to know, might try and revisit the app with them now that you have enlightened me!
- 35 replies
-
- 2
-
is that a 'native' thing, i don't know much about ionic.. They started building it in Cordova/PhoneGap, but AFAIK that is not native..
- 35 replies
-
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...
- 35 replies
-
- 2
-
Ace Extended in LaTeX mode is yr friend but you’ll need to figure out a textformatter for rendering
-
thanks, yes i’ll make that change
-
latest update fixes brands loading, and works in my limited testing (i am able to see all 992 icons in the icon picker.
-
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...
-
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...
-
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.
-
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)
-
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/
- 9 replies
-
- 4
-
- website
- share buttons
-
(and 1 more)
Tagged with:
-
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?
-
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.