Jacek

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jacek

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Sorry, but I still don't know how to do it.
  2. I'm coding my first module now. I've just managed to add a button to the page edit form but am not content with its placing. Is there any way to place it just next to the input field? I've marked the desired place with the arrow on the attached screenshot. My current code: $this->addHookAfter('ProcessPageEdit::buildFormContent' , $this, 'addButton'); public function addButton($event){ $form = $event->return; $f =$this->modules->InputfieldSubmit; ... $form->insertAfter($f, $form->get("bgg_id")); } "bgg_id" is the name of the targeted field.
  3. Jacek

    Thank you Macrura. I've tried all of these suggestions and nothing helped, except editing InputfieldImage.js in the following manner: // Initialize Upload /*if(useAjaxUpload()) { initUploadHTML5(''); } else { initUploadOldSchool(); }*/ initUploadOldSchool(); Now I can add images (without any progress bar of course). I select one, save edited page and a thumbnail show up. I consider it temporary solution. On the basis of this upload I presume neither of the suggested php settings (max_post_size, max_execution_time, max_memory) is the main cause of my problem. I've contacted my hosting provider and wait for their response. phpinfo() doesn't display any security_mode settings.
  4. I use the standard Image field and can't upload any image. The loading bar reaches the end very quickly then the loading icon/graphic just continues to spin. My php.info for you to see. Any ideas how to fix it?
  5. Jacek

    Thank You Bernhard, it's great. Exactly what I was looking for! Than You Abdus, I think I will make use of it too.
  6. Jacek

    Hi, is there any way to create and fill not only a name of a site referenced in a page reference field but all its fields (according to the template it is based on)? In Drupal I would use the References Dialog module: