Jump to content

Request placeholder


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Recently Browsing   0 members

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