
Posts posted by DawPi
-
-
Hello,
it's pretty simple to reproduce. The stack part:
$form->add( new \IPS\Helpers\Form\Stack( 'myapp_authors', ! empty( $authors ) ? $authors : array(), TRUE, array( 'stackFieldType' => '\IPS\myapp\Form\File', 'maxItems' => 5, 'key' => array( 'placeholder' => \IPS\Member::loggedIn()->language()->addToStack( 'myapp_enter_name_placeholder' ), 'size' => 20 ), 'value' => array( 'min' => 0, 'max' => 100 ) ), NULL, NULL, NULL, 'myapp_authors' ) );
And custom form field type constructor from myapp\(sources)Form\File:
/** * Constructor * Creates the two date objects * * @param string $name Form helper name * @param mixed $defaultValue Default value for the helper * @param bool $required Helper is required (TRUE) or not (FALSE) * @param array $options Options for the helper instance * @see \IPS\Helpers\Form\Abstract::__construct * @return void */ public function __construct( $name, $defaultValue=NULL, $required=FALSE, $options=array() ) { $options = array_merge( $this->defaultOptions, $options ); parent::__construct( $name, $defaultValue, $required, $options ); $this->keyField = new \IPS\Helpers\Form\Member( "{$name}[key]", isset( $defaultValue['key'] ) ? \IPS\Member::load( $defaultValue['key'] ) : NULL, TRUE, array(), NULL, NULL, NULL, "{$name}[key]" ); $this->valueField = new \IPS\Helpers\Form\Number( "{$name}[value]", isset( $defaultValue['value'] ) ? $defaultValue['value'] : NULL, FALSE, isset( $options['value'] ) ? $options['value'] : array() ); }
And this is how it works and looks like:
Is this a known issue or someone know how to fix it? 🤔
Thanks in advance!
-
-
-
-
-
-
-
-
You need to use my mod for that. You can find more details on my page, and if you like it, you can also purchase it there.
https://forum.invisionize.pl/files/file/774-dp45-single-use-license-keys/
-
-
I remember there was a way with a upgradeFinish/ folder to re-set the settings cache. As I have it and there is indeed such information:
Quote/*
This script completes the upgrade from modules onwards
Move the 'upgradeFinish' folder into your 'admin' directory
and access via your web browser
*/I can share it if you like and it's allowed by IPS of course.
-
Edited by DawPi
For this particular plugin, you need to visit the author's site, here - https://www.sosinvision.com.br/
FYI - the Marketplace was closed and now to obtain any new plugins or upgrades you need to find the author's site and download it from here.
All available provider's pages:
https://invisioncommunity.com/third-party/providers-directory/
-
-
-
-
-
-
-
Hello,
board view:
Error:
Error: Class "RedisException" not found in /MYBOARD/system/Node/DelayedCount.php:110 Stack trace: #0 /MYBOARD/system/Node/Model.php(1908): IPS\forums\_Forum->checkUpdateTime() #1 /MYBOARD/system/Node/Model.php(1153): IPS\Node\_Model::load() #2 /MYBOARD/system/Node/Model.php(1170): IPS\Node\_Model->parent() #3 /MYBOARD/system/Content/ClubContainer.php(421): IPS\Node\_Model->parents() #4 /MYBOARD/system/Node/Model.php(2455): IPS\forums\_Forum->parents() #5 /MYBOARD/applications/forums/sources/Forum/Forum.php(777): IPS\Node\_Model->can() #6 /MYBOARD/system/Theme/Theme.php(885) : eval()'d code(939): IPS\forums\_Forum->can() #7 /MYBOARD/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_index->forumRow() #8 /MYBOARD/system/Theme/Theme.php(885) : eval()'d code(1920): IPS\Theme\_SandboxedTemplate->__call() #9 /MYBOARD/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_index->index() #10 /MYBOARD/applications/forums/modules/front/forums/index.php(225): IPS\Theme\_SandboxedTemplate->__call() #11 /MYBOARD/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_index->manage() #12 /MYBOARD/applications/forums/modules/front/forums/index.php(52): IPS\Dispatcher\_Controller->execute() #13 /MYBOARD/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_index->execute() #14 /MYBOARD/index.php(13): IPS\_Dispatcher->run() #15 {main}
-
-
-
-
-
Problem with form stack custom field type
in Developer Connection
No one?