Jump to content

Inputimage field on a process module page


Zeka
 Share

Recommended Posts

Hi.

Is it possile to use Inputimagefield on a process module page? 

$f = $this->wire('modules')->get('InputfieldImage');
$f->setAttribute('name', 'image');
$f->label = $this->_('Image');
$f->columnWidth = 75;
$markup->add($f);

This code renders field but it obviously doesn't work) I have read somewhere on the forum that this input type intended to work in the context of page edit, so it's not possible to use it on a module config page, but process page is actually a page, so I thought there is might be the way how to get it working.

Thanks, Eugene.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...