Page 1 of 1

[solved] Debug on display with CGUserDirectory

Posted: Sat Mar 23, 2013 2:23 pm
by Masweb
Using CGUserdirectory on a website and want to use the action search.

{CGUserDirectory action="search" searchproperty="bedrijfsnaam"}

The searchproperty is "bedrijfsnaam"

If I test this I get the next code on my display.
What does this mean and how get I get rid of it?


Gebruikersnaam

Debug: (0,303456) - (usage: 11046284) - (peak: 11071440)
Number of elements: 2
Array
(
[fielddefn] => Array
(
[name] => bedrijfsnaam
[prompt] => Bedrijfsnaam
[type] => 0
[length] => 80
[maxlength] => 255
[attribs] => a:0:{}
[force_unique] => 0
[encrypt] => 0
[extra] =>
)

[fieldtype] => text
)
Debug: (0,303456) - (usage: 11046284) - (peak: 11071440)
Number of elements: 2
Array
(
[fielddefn] => Array
(
[name] => bedrijfsnaam
[prompt] => Bedrijfsnaam
[type] => 0
[length] => 80
[maxlength] => 255
[attribs] => a:0:{}
[force_unique] => 0
[encrypt] => 0
[extra] =>
)

[fieldtype] => text
)
Bedrijfsnaam:

Re: Debug on display with CGUserDirectory

Posted: Sat Mar 23, 2013 3:19 pm
by Masweb
Tss... Never mind. Found it!

Just remove {$data|@debug_display} from the template.