Jump to content

Recommended Posts

Posted

Hi,

1. In the Request of support form, how I can insert placeholder into the Title field?

2. Is possible hide the message editor? I would like create some customs fields for specific request.

Posted
11 minutes ago, kmk said:

. In the Request of support form, how I can insert placeholder into the Title field?

You mean Support from a Nexus app?

Posted
23 minutes ago, kmk said:

1. In the Request of support form, how I can insert placeholder into the Title field?

By plugin hooked into applications/nexus/sources/Support/Request.php

	/* !Forms */
		
	/**
	 * Get elements for add/edit form
	 *
	 * @param	\IPS\Content\Item|NULL	$item		The current item if editing or NULL if creating
	 * @param	\IPS\Node\Model|NULL	$container	Container (e.g. forum), if appropriate
	 * @return	array
	 */
	public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL )
	{

 

24 minutes ago, kmk said:

2. Is possible hide the message editor? I would like create some customs fields for specific request.

I affraid you can't remove it. It would be bad idea anyway.

Custom Fields are available in the Support Settings:

image.png.19b3853213dea15e97cbca157310b77f.png

Posted
15 hours ago, DawPi said:

/* !Forms */ /** * Get elements for add/edit form * * @param \IPS\Content\Item|NULL $item The current item if editing or NULL if creating * @param \IPS\Node\Model|NULL $container Container (e.g. forum), if appropriate * @return array */ public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL ) {

Thanks you

  • Recently Browsing   0 members

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