1 post in this topic
Recently Browsing 0 members
No registered users viewing this page.
I am working on a module that runs/previews (for pub/unpub) imports on importer page view. The template has to be in site/templates, so far as I know, so one is created there on install which includes a file to run from within the module, but then when it's run and tries to read the importer csv file it cannot, since it's in the admin, I guess... Is it possible to set the template page to a file in the module directory? Will that work?
Does anyone know whether the is a place detailing the structure your admin theme should take when creating one? e.g. I see UiKit, Reno and Default admin themes all have default.php, init.php, controller.php files, is this a stylisitic choice or a prerequisite for any admin theme module?
By Tom H
This is my first post here, I've been using processwire for a while now and having a great time with it!
Quick question regarding the Pages field:
I am using a multiple-select pages field on the User template, so that a dealer can be associated with each user of certain roles. This works flawlessly without any conditions being set, but if I set 'Show this field only if' to
roles=dealer|dealer-admin the field shows and hides as desired, but revert to null when saved.
Is there anything I'm missing here?